Deploys an Ubuntu instance and installs Terraform for when you need a VM that you can quickly spin up and delete.
- Deploy a VPC using the vpc.json template. This will create a VPC with a public subnet. Take a note of the name of this stack.
- Deploy an Ubuntu machine in AWS using the ubuntu-with-terraform.json template. a. Ensure you install tools by choosing "Yes" at the appropriate input parameter. b. Select a pre-existing keypair. c. Enter the name of your VPC stack to ensure that your VM is deployed to the VPC from the previous step.
After deploying these templates, you will have an output from the template called "EIP". This is the public IP of your VM. You can connect via SSH, using the private key of the keypair you selected during VM deployment.
- You can follow these instructions to configure the aws-cli.