Skip to content

Commit e252400

Browse files
committed
lab2 and 3 edits based on PR comments
1 parent 86926e1 commit e252400

File tree

2 files changed

+68
-68
lines changed

2 files changed

+68
-68
lines changed

labs/lab2/readme.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ In this lab, you will be running the backend application and several NGINX OSS a
1414
- You must have an Active Data Plane Key from previous exercise
1515
- See `Lab0` for instructions on setting up your system for this Workshop
1616
- Familiarity with basic Linux concepts and commands
17-
- Familiarity with basic Nginx concepts and commands
17+
- Familiarity with basic NGINX concepts and commands
1818

1919
<br/>
2020

2121
### Run NGINX Containers with Docker
2222

2323
NGINX Plus | Docker| NGINX OSS
2424
:-------------------------:|:-------------------------:|:---------------:
25-
![NGINX Plus](media/nginx-plus-icon.png) |![Docker](media/docker-icon.png) |![Nginx OSS](media/nginx-icon.png)
25+
![NGINX Plus](media/nginx-plus-icon.png) |![Docker](media/docker-icon.png) |![NGINX OSS](media/nginx-icon.png)
2626

2727
You will run some Docker containers to build out various workshop components, using the provided `docker-compose.yml` file. This Docker Compose will pull and run 9 different Docker Containers, as follows:
2828

29-
- 3 Nginx OSS Containers, with different OS and Nginx versions, connecting to the Nginx One Console
30-
- 3 Nginx Plus Containers, with different OS and Nginx versions, connecting to the Nginx One Console
31-
- 3 nginxinc/ingress-demo Containers, used for the backend web servers, but NOT connected to the Nginx One Console
29+
- 3 NGINX OSS Containers, with different OS and NGINX versions, connecting to the NGINX One Console
30+
- 3 NGINX Plus Containers, with different OS and NGINX versions, connecting to the NGINX One Console
31+
- 3 nginxinc/ingress-demo Containers, used for the backend web servers, but NOT connected to the NGINX One Console
3232

3333
1. Inspect the `lab2/docker-compose.yml` file. You will see the details of each container being pulled and run.
3434

@@ -52,7 +52,7 @@ You will run some Docker containers to build out various workshop components, us
5252
vJ+ADwlFXKf58bX0Qk/...6N38Al4fdxXDefT6J2iiM=
5353
```
5454

55-
1. Using the same Terminal, set the `JWT` environment variable from your `nginx-repo.jwt` license file. This is required to pull the Nginx Plus container images from the Nginx Private Registry. If you do not have an Nginx Plus license, you can request a free 30-Day Trial license from here: https://www.f5.com/trials/nginx-one
55+
1. Using the same Terminal, set the `JWT` environment variable from your `nginx-repo.jwt` license file. This is required to pull the NGINX Plus container images from the NGINX Private Registry. If you do not have an NGINX Plus license, you can request a free 30-Day Trial license from here: https://www.f5.com/trials/nginx-one
5656

5757
```bash
5858
export JWT=$(cat nginx-repo.jwt)
@@ -65,7 +65,7 @@ You will run some Docker containers to build out various workshop components, us
6565
echo $JWT
6666
```
6767

68-
1. Using Docker, Login to to the Nginx Private Registry, using the $JWT ENV variable for the username, as follows. (Your system may require sudo):
68+
1. Using Docker, Login to to the NGINX Private Registry, using the $JWT ENV variable for the username, as follows. (Your system may require sudo):
6969

7070
```bash
7171
docker login private-registry.nginx.com --username=$JWT --password=none
@@ -89,7 +89,7 @@ You will run some Docker containers to build out various workshop components, us
8989
bash generate_certs.sh
9090
```
9191

92-
1. If both ENV variables are set correctly && you are logged into the Nginx Private Registry, you can now run Docker Compose to pull and run the images. Ensure you are in the `/lab2` folder:
92+
1. If both ENV variables are set correctly && you are logged into the NGINX Private Registry, you can now run Docker Compose to pull and run the images. Ensure you are in the `/lab2` folder:
9393

9494
```bash
9595
docker compose up --force-recreate -d
@@ -124,27 +124,27 @@ You will run some Docker containers to build out various workshop components, us
124124
##Sample output##
125125
126126
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
127-
# Nginx OSS containers
127+
# NGINX OSS containers
128128
00ee8c9e4326 docker-registry.nginx.com/nginx/agent:mainline "/docker-entrypoint.…" 44 minutes ago Up 44 minutes 0.0.0.0:33396->80/tcp, :::33395->80/tcp, 0.0.0.0:33393->443/tcp, :::33392->443/tcp, 0.0.0.0:33388->9000/tcp, :::33387->9000/tcp, 0.0.0.0:33381->9113/tcp, :::33380->9113/tcp basics-oss1
129129
34b871d50d1b docker-registry.nginx.com/nginx/agent:alpine "/docker-entrypoint.…" 44 minutes ago Up 44 minutes 0.0.0.0:33391->80/tcp, :::33390->80/tcp, 0.0.0.0:33385->443/tcp, :::33384->443/tcp, 0.0.0.0:33378->9000/tcp, :::33377->9000/tcp, 0.0.0.0:33375->9113/tcp, :::33374->9113/tcp basics-oss2
130130
022d79ce886c docker-registry.nginx.com/nginx/agent:1.26-alpine "/docker-entrypoint.…" 44 minutes ago Up 44 minutes 0.0.0.0:33398->80/tcp, :::33397->80/tcp, 0.0.0.0:33395->443/tcp, :::33394->443/tcp, 0.0.0.0:33392->9000/tcp, :::33391->9000/tcp, 0.0.0.0:33386->9113/tcp, :::33385->9113/tcp basics-oss3
131131
132-
# Nginx Plus containers
132+
# NGINX Plus containers
133133
9770a4169e19 private-registry.nginx.com/nginx-plus/agent:nginx-plus-r32-alpine-3.20-20240613 "/usr/bin/supervisor…" 44 minutes ago Up 44 minutes 0.0.0.0:33397->80/tcp, :::33396->80/tcp, 0.0.0.0:33394->443/tcp, :::33393->443/tcp, 0.0.0.0:33389->9000/tcp, :::33388->9000/tcp, 0.0.0.0:33383->9113/tcp, :::33382->9113/tcp basics-plus1
134134
852667e29280 private-registry.nginx.com/nginx-plus/agent:nginx-plus-r31-alpine-3.19-20240522 "/usr/bin/supervisor…" 44 minutes ago Up 44 minutes 0.0.0.0:33382->80/tcp, :::33381->80/tcp, 0.0.0.0:33377->443/tcp, :::33376->443/tcp, 0.0.0.0:33374->9000/tcp, :::33373->9000/tcp, 0.0.0.0:33372->9113/tcp, :::33371->9113/tcp basics-plus2
135135
ffa65b04e03b private-registry.nginx.com/nginx-plus/agent:nginx-plus-r31-ubi-9-20240522 "/usr/bin/supervisor…" 44 minutes ago Up 44 minutes 0.0.0.0:33373->80/tcp, :::33372->80/tcp, 0.0.0.0:33371->443/tcp, :::33370->443/tcp, 0.0.0.0:33370->9000/tcp, :::33369->9000/tcp, 0.0.0.0:33369->9113/tcp, :::33368->9113/tcp basics-plus3
136136
137-
# Nginx Ingress Demo containers (not Registered with One Console)
137+
# NGINX Ingress Demo containers (not Registered with One Console)
138138
37c2777c8598 nginxinc/ingress-demo "/docker-entrypoint.…" 44 minutes ago Up 44 minutes 0.0.0.0:33387->80/tcp, :::33386->80/tcp, 0.0.0.0:33379->443/tcp, :::33378->443/tcp web1
139139
dba569e76e36 nginxinc/ingress-demo "/docker-entrypoint.…" 44 minutes ago Up 44 minutes 443/tcp, 0.0.0.0:33390->80/tcp, :::33389->80/tcp, 0.0.0.0:33384->433/tcp, :::33383->433/tcp web2
140140
5cde3c462a27 nginxinc/ingress-demo "/docker-entrypoint.…" 44 minutes ago Up 44 minutes 0.0.0.0:33380->80/tcp, :::33379->80/tcp, 0.0.0.0:33376->443/tcp, :::33375->443/tcp web3
141141
```
142142

143143
Go back to your One Console Instance page, and click `Refresh`. You should see all 6 of your `basics-` instances appear in the list, and the Online icon should be `green`. If they did not Register with the One Console, it is likely you have an issue with the $TOKEN used, create a new Dataplane Key and try again. It should look similar to this:
144144

145-
![Nginx Instances](media/lab2_none-instances.png)
145+
![NGINX Instances](media/lab2_none-instances.png)
146146

147-
Now that the Nginx OSS and Plus containers are running and Registered with the Nginx One Console, in subsequent sections you will explore the various features of Nginx One Console, and manage your Nginx Instances!
147+
Now that the NGINX OSS and Plus containers are running and Registered with the NGINX One Console, in subsequent sections you will explore the various features of NGINX One Console, and manage your NGINX Instances!
148148

149149
<br/>
150150

@@ -154,8 +154,8 @@ This ends lab2.
154154

155155
## References:
156156

157-
- [Nginx One Console](https://docs.nginx.com/nginx-one/)
158-
- [Nginx Agent](https://docs.nginx.com/nginx-agent/overview/)
157+
- [NGINX One Console](https://docs.nginx.com/nginx-one/)
158+
- [NGINX Agent](https://docs.nginx.com/nginx-agent/overview/)
159159

160160
<br/>
161161

0 commit comments

Comments
 (0)