Install Nomad, Vault and Terraform onto your local computer
# Install Nomad (for MacOS)
brew tap hashicorp/tap
brew install hashicorp/tap/nomad
# Install Vault
brew install hashicorp/tap/vault
# Install Terraform
brew install hashicorp/tap/terraform
Follow the instructions in the Vault directory
cd vault
Provision the Nomad Environment into AWS (3 servers and 3 clients)
cd platform
terraform init
terraform apply --auto-approve
# Provide your target AWS account_id
cd .. # To go back to root directory
cd nomad
# Nomad Plan
nomad job plan webapp.nomad
# Run Nomad job
nomad job run webapp.nomad
Once the deployment has completed, you should be able access the deployed webapp through the provisioned ALB.