DIGIT Installation on Azure
DIGIT services deployment in azure cloud platform
Last updated
Was this helpful?
DIGIT services deployment in azure cloud platform
Last updated
Was this helpful?
Make sure you have your Azure account with the necessary credentials.
Install - Use these links to install- or or
All DIGIT services are packaged using helm charts, Install helm using the link
is a CLI to connect to the Kubernetes cluster on your machine
Install for making API calls
IDE Code for better code visualization/editing capabilities
to run digit bootstrap scripts
Install to provide infrastructure on Azure
Install and
Clone the DIGIT-DevOps Repo and check out to the Azure branch
Change to the remote state in the sample-azure directory
Login to Azure using the below command in the terminal
Update the variables in variables.tf file
Run the below commands to create resource-group, storage-account and container
Copy the storage account name and change to the sample-azure directory
Open main.tf file and update the below placeholder details
Create client-id and client-secret with necessary permissions
Open variables.tf file - update the variables and run the below commands
Note the db_name and server_name
Fetch the kubeconfig using the below command. This will automatically store your kubeconfig in .kube folder
Check the kubeconfig and pods by running the below commands
Change to the environments directory and open egov-demo.yaml
Update the below configurations in egov-demo.yaml
Open the egov-demo-secrets.yaml file and update db details and private key
Generate SSH key pairs (Use either method (a) or method (b)) to update the private key.
b. Using OpenSSL :
openssl genpkey -algorithm RSA -out private_key.pem openssl rsa -pubout -in private_key.pem -out public_key.pem
Change to the deployer directory
Run the below command to deploy nginx-ingress
Check the pods once all services are deployed successfully
Run the below command to get the load balancer id
Copy the load balancer id and add it to your domain provider against your domain name.
a. Using the online website (not recommended for production setup. To be only used for demo setups):
Add the public key to your GitHub account (reference: )