Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
This article targets the NAM deployment in azure. In earlier article, we have talked about deployment of azure Kubernetes service using terraform, while this solution will provide a step-by-step approach to deploy NAM in the azure cloud.
Note: to configure a Kubernetes service, you can use the existing cool-solution using terraform - /cyberres/accmgmt/accessmanager/w/access_manager_tips/19482/deploying-azure-kubernetes-cluster-and-nam-docker-images-beta-using-azure-cli-and-terraform
At initial, this article focus is to use azure provided CLI Options to deploy basic environment. Later this could be add into automation (CI/CD).
Note: The Bold text are variable names
Note: Ensure you use these DNS name while configuration the admin server for IDP and AG Url’s
Once all the three container shows in running state, capture the public IP address, add host entries (If not public URL’s) and access admin console using DNS name.
After the Step 4, Container Status will be look like this.
NAME READY STATUS RESTARTS AGE
pod/access-manager-am-ac-0 2/2 Running 0 24h
pod/access-manager-am-ag-0 1/1 Running 0 24h
pod/access-manager-am-idp-0 1/1 Running 0 24h
and ingress controller IP detail
NAME CLASS HOSTS ADDRESS PORTS AGE
ingress.extensions/access-manager-ingress-https <none> www.cloudac.com, www.cloudidp.com, www.cloudag.com 1 more... 20.197.105.71 80, 443 24h
Note: Use <20.197.105.71> IP is ingress address and corresponding Hosts name to system host file and on all devices host file.
Access Admin console using this URL - https://<ac-url>:443/nps
Note: When Configuring the IDP, use 443 as the port. After this, it will be a standard NAM configuration.
Consider Ag dns to be www.cloudag.com and a cert is created for the same in access manager. Note that ingress is also configured with same dns.
In yaml:
tls:
- secretName: cloudag
hosts:
Further:
In case, you have non-standard ports for ag web server, it is require to add them in values.yaml file of access-manager charts.
e.g.
am-ag:
# if enabled: false, then AG will not be deployed
enabled: true
# replicaCount: 2 - To increase AG instances to desired number
replicaCount: 1
# OPTIONAL - Ports to be exposed in AG kubernetes service
service:
port:
- 80
- 443
- 8000
- 8001
- 445
# OPTIONAL - Additional pod/node affinity can be confiured for AG pod
affinity: {}