A collection of scripts and resources to spin-up AWS triton instances
Each time you open CloudShell, you will have to install Terraform. The aws-install-terraform.sh convenience script will do this for you
# From a CloudShell Amazon Linux Terminal
$ ./aws-install-terraform.shThe Terraform scripts assume that your AWS account has a default VPC and uses that for the server network. If your account does not have a default VPC, see the Amazon documentation on how to create a default VPC. If you do not want to use a default VPC, see the Terraform AWS documentation on how to create a new VPC and modify the main.tf file accordingly.
The AWS region may be set in terraform.tfvars (default is us-east-1)
instance_region = "us-west-2"If your VPC has existing security groups that you would like to apply to your instance
you can set them with the additional_security_groups variable. See notes in terraform.tfvars
The instance type may be set in terraform.tfvars (default is g4dn.xlarge)
instance_type = "g4dn.2xlarge"The default OS image is Ubuntu-22.04-LTS. If you would like to change the OS, look at the following variables in variables.tf and then override their defaults in terraform.tfvars.
instance_ami_nameinstance_ami_archinstance_ami_owner