Overview
Prerequisites
- aws-cli
Linux
For Linux (x86):
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
For Linux (ARM):
curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
macOS
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
Windows
msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi
Credentials/Permissions
The following setup scripts will pass through environment variables for authentication. Ensure you set and unset your tokens appropriately before attempting to run these scripts. Also ensure you have a PowerUser account with the following permissions:
- EC2:AllocateAddress
- EC2:AssociateRouteTable
- EC2:AttachInternetGateway
- EC2:AuthorizeSecurityGroupEgress
- EC2:AuthorizeSecurityGroupIngress
- EC2:CreateInternetGateway
- EC2:CreateNatGateway
- EC2:CreateNetworkAcl
- EC2:CreateNetworkAclEntry
- EC2:CreateRoute
- EC2:CreateRouteTable
- EC2:CreateSecurityGroup
- EC2:CreateSubnet
- EC2:CreateTags
- EC2:CreateVpc
- EC2:CreateVpcEndpoint
- EC2:ModifySubnetAttribute
- EC2:ModifyVpcAttribute
- EC2:ModifyVpcEndpoint