1. Pre-requisites

Find the pre-requisites for deploying DIGIT platform services on AWS

Pre-requisites

  1. AWS accountarrow-up-right with admin access to provision infrastructure. You will need a paid subscription to AWS.

  2. Install kubectlarrow-up-right (any version) on the local machine - it helps interact with the Kubernetes cluster.

  3. Install Helmarrow-up-right - this helps package the services, configurations, environments, secrets, etc, into Kubernetes manifestsarrow-up-right. Verify that the installed version of Helm is equal to 3.0 or higher.

// command to check helm version
helm version
  1. Install tfswitcharrow-up-right - to run different versions of Terraform on the machine. tfswitcharrow-up-right supports multiple Terraform versions on the same machine, and you can toggle between the desired versions.

// 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
circle-info

Refer to tfswitch documentationarrow-up-right for different platforms. Terraform version 0.14.10 can be installed directly as well.

  1. Run tfswitch, and it will show a list of Terraform versions. Scroll down and select the terraformarrow-up-right 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
  1. Install cURLarrow-up-right - for making API calls

  2. Install Visual Studio Codearrow-up-right - for better code visualisation/editing capabilities

  3. Install Postmanarrow-up-right - to run digit bootstrap scripts

Last updated

Was this helpful?