1. Pre-requisites
Find the pre-requisites for deploying DIGIT platform services on AWS
Pre-requisites
AWS account with admin access to provision infrastructure. You will need a paid subscription to AWS.
Install kubectl (any version) on the local machine - it helps interact with the Kubernetes cluster.
Install Helm - this helps package the services, configurations, environments, secrets, etc, into Kubernetes manifests. Verify that the installed version of Helm is equal to 3.0 or higher.
// command to check helm version
helm version
// On Mac
brew install warrensbox/tap/tfswitch
// On Linux
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/master/install.sh -o install.sh
sudo bash install.sh
5. Run tfswitch, and it will show a list of Terraform versions. Scroll down and select the terraform version (0.14.10) for the Infra-as-code (IaC) to provision cloud resources as code. This provides the desired resource graph and helps destroy the cluster in one go.
// On Linux
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt-get update && sudo apt-get install terraform
// On Mac
brew tap hashicorp/tap
brew install hashicorp/tap/terraform
Install Golang
For Linux: Follow the instructions here to install Golang on Linux.
For Windows: Download the installer using the link here and follow the installation instructions.
For Mac: Download the installer using the link here and follow the installation instructions.
Install cURL - for making API calls
Install Visual Studio Code - for better code visualisation/editing capabilities
Install Postman - to run digit bootstrap scripts
Install AWS CLI
Last updated
Was this helpful?