initial commit of replacement infrastructure automation
[awsible] / infrastructure / BOOTSTRAP.md
diff --git a/infrastructure/BOOTSTRAP.md b/infrastructure/BOOTSTRAP.md
new file mode 100644 (file)
index 0000000..b9bae27
--- /dev/null
@@ -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.