Skip to content

kzlidev/nomad-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

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

Create Vault Certificates

Follow the instructions in the Vault directory

cd vault

Setup Nomad Environment

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

Trigger Nomad Jobs

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published