Skip to content

Latest commit

 

History

History
65 lines (32 loc) · 1.21 KB

README.md

File metadata and controls

65 lines (32 loc) · 1.21 KB

Steps on fresh Ubuntu Instance:

Update the package list

$ sudo apt update -y

Install terraform

$ wget https://releases.hashicorp.com/terraform/0.12.26/terraform_0.12.26_linux_amd64.zip

$ sudo apt install unzip -y

$ unzip terraform_0.12.26_linux_amd64.zip

$ sudo mv terraform /bin/

$ rm terraform_0.12.26_linux_amd64.zip

$ terraform -v

Terraform v0.12.26

Git should be already pre-installed on Ubuntu. If it isn't

$ sudo apt install git

Install awscli

$ sudo apt install awscli

$ aws --version

aws-cli/1.14.44 Python/3.6.9 Linux/4.15.0-1065-aws botocore/1.8.48

Add your AWS Access-Key and Secret-Key

$ aws configure

AWS Access Key ID [****************S3Q3]:

AWS Secret Access Key [****************vmrW]:

Default region name [us-east-1]:

Default output format [None]:

Clone repository to a directory

$ git clone https://github.com/karolnedza/controller_build.git .

Go to controller directory and create ctrl_key.pem ssh-key

$ ssh-keygen -t rsa -f ctrl_key -C "controller_public_key"

Subscribe to “Aviatrix Secure Networking Platform Metered - 24x7 Support”

https://aws.amazon.com/marketplace/pp?sku=b03hn7ck7yp392plmk8bet56k

Run terraform

$ terraform init

$ terraform apply