X-Git-Url: http://git.squeep.com/?p=awsible;a=blobdiff_plain;f=infrastructure%2FBOOTSTRAP.md;fp=infrastructure%2FBOOTSTRAP.md;h=b9bae27cb2ba6beb5ac1f0c2ce1b039b570d9fdc;hp=0000000000000000000000000000000000000000;hb=8576668075ca95e44481d9c9ed29d7e6af024bdc;hpb=933c48ff1e134168de3aaa2d20e4d43c13d04928 diff --git a/infrastructure/BOOTSTRAP.md b/infrastructure/BOOTSTRAP.md new file mode 100644 index 0000000..b9bae27 --- /dev/null +++ b/infrastructure/BOOTSTRAP.md @@ -0,0 +1,44 @@ +# AWSible Infrastructure via Terraform + +Ensure the correct profile will be used: + + export AWS_PROFILE=profile + +Initialize the shared infrastructure needed by terraform: + + pushd terraform-infrastructure + terraform init + terraform apply + ../generate-backend-configs.sh > backend.tf + echo yes | terraform init + popd + +Create the VPC: + + pushd vpc + ../generate-backend-configs.sh > backend.tf + terraform init + terraform apply + popd + +Create the management stack: + + pushd management-stack + ../generate-backend-configs.sh > backend.tf + terraform init + terraform apply + popd + +Create the vpcaccess stack: + + pushd vpcaccess-stack + ../generate-backend-configs.sh > backend.tf + terraform init + terraform apply + popd + +Run Ansible by hand to configure the vpcaccess server, then connect to the VPN. +Populate the management EFS. +Run Ansible by hand to configure a management server, then scale up the management ASG. + +Create and deploy any other stacks.