Skip to content

Commit 9bb0a01

Browse files
committed
prep for merge
1 parent 8e021de commit 9bb0a01

File tree

5 files changed

+153
-78
lines changed

5 files changed

+153
-78
lines changed

ca-notes/LabOutline.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
## Lab 4 - NIC Dashboard / Cafe Demo / Redis Deployment
88
## Lab 5 - Nginx for Azure Load Balancing / Reverse Proxy
99
## Lab 6 - Azure Key Vault / TLS Essentials
10-
## Lab 7 - Azure Montoring / Logging Analytics
10+
## Lab 7 - Azure Monitoring / Logging Analytics
1111
## Lab 8 - Nginx Garage or Azure Petshop
1212
## Lab 9 - Nginx Caching / Rate Limits / Juiceshop
1313
## Lab 10 - Grafana for Azure
14-
## Lab 11 - Optional Exercises
14+
## Lab 11 - Optional Exercises - Windows VM
1515
## Summary and Wrap-up
1616

1717
<br/>
@@ -48,21 +48,21 @@ In this lab, you will be adding and configuring the Azure Networking components
4848
Setup your Azure Vnet and Subnets
4949
Setup your Azure Network Security Group for inbound traffic
5050
Explore Nginx for Azure
51-
Deploy an Nginx for Azure instance
52-
Create an initial Nginx configuration for testing
51+
Deploy an Nginx for Azure instance / enable logging
52+
Test Nginx for Azure welcome page
5353

5454
<br/>
5555

56-
### Lab 2 - UbuntuVM/Docker / Windows VM / Cafe Demo Deployment
56+
### Lab 2 - Ubuntu VM/Docker / Windows VM / Cafe Demo Deployment
5757

5858
- Overview
5959
In this lab, you will deploy an Ubuntu VM, and configure it for a Legacy web application. You will deploy a Windows VM. You will configure Nginx for Azure to proxy and load balance these backends.
6060

6161
- Learning Objectives
6262
Deploy Ubuntu VM
6363
Install Docker and Docker-compose
64-
Run Legacy docker container apps
65-
Deploy Windows VM
64+
Run Legacy docker container apps - Cafe Demo
65+
Optional Exercise: Deploy Windows VM
6666
Configure Nginx Load Balancing for these apps
6767

6868
<br/>
@@ -73,9 +73,9 @@ Configure Nginx Load Balancing for these apps
7373
In this lab, you will deploy 2 AKS clusters, with Nginx Ingress Controllers. You will also deploy a private Container Registry.
7474

7575
- Learning Objectives
76-
Deploy 2 AKS clusters using the Azure AZ CLI.
77-
Deploy a private Azure Container Registry.
78-
Deploy Nginx Plus Ingress Controller to Azure Container Registry, and to the Clusters.
76+
Deploy 1 AKS cluster using the Azure AZ CLI.
77+
Deploy 2nd AKS cluster with a bash script.
78+
Deploy Nginx Plus Ingress Controller with F5 Private Registry, to both the Clusters.
7979
Configure Nginx Plus Ingress Controller Dashboards.
8080
Expose the NIC Plus Dashboards externally for Live Monitoring.
8181

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Nginx 4 Azure - Nginx Ingress Dashboards HTTP
2+
# Chris Akker, Shouvik Dutta, Adam Currier - Mar 2024
3+
#
4+
server {
5+
6+
listen 9000; # Listening on port 9000 on all IP addresses on this machine
7+
8+
server_name dashboard.nginxazure.build; # Set hostname to match in request
9+
status_zone dashboard.nginxazure.build; # Metrics zone name
10+
11+
access_log /var/log/nginx/dashboard.example.com.log main;
12+
error_log /var/log/nginx/dashboard.example.com_error.log info;
13+
14+
15+
location = /aks1/dashboard.html {
16+
proxy_pass http://nic1_dashboard/dashboard.html;
17+
}
18+
19+
location /aks1/api/ {
20+
proxy_pass http://nic1_dashboard/api/;
21+
}
22+
23+
location = /aks2/dashboard.html {
24+
proxy_pass http://nic2_dashboard/dashboard.html;
25+
}
26+
27+
location /aks2/api/ {
28+
proxy_pass http://nic2_dashboard/api/;
29+
}
30+
31+
}

labs/lab3/dashboard.example.com.conf

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Nginx 4 Azure - Nginx Ingress Dashboards HTTP
2+
# Chris Akker, Shouvik Dutta, Adam Currier - Mar 2024
3+
#
4+
server {
5+
6+
listen 9000; # Listening on port 9000 on all IP addresses on this machine
7+
8+
server_name dashboard.example.com; # Set hostname to match in request
9+
status_zone dashboard.example.com; # Metrics zone name
10+
11+
access_log /var/log/nginx/dashboard.example.com.log main;
12+
error_log /var/log/nginx/dashboard.example.com_error.log info;
13+
14+
15+
location = /aks1/dashboard.html {
16+
proxy_pass http://nic1_dashboard/dashboard.html;
17+
}
18+
19+
location /aks1/api/ {
20+
proxy_pass http://nic1_dashboard/api/;
21+
}
22+
23+
location = /aks2/dashboard.html {
24+
proxy_pass http://nic2_dashboard/dashboard.html;
25+
}
26+
27+
location /aks2/api/ {
28+
proxy_pass http://nic2_dashboard/api/;
29+
}
30+
31+
}

0 commit comments

Comments
 (0)