https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
which aws
aws --versionThe AWS CLI is capable of working with multiple keys, for example if you work on multiple projects.
aws configure
AWS Access Key ID [None]:
AWS Secret Access Key [None]:
Default region name [None]:
Default output format [None]: Simply configure each with ...
aws configure --profile syryu
... specifying a given profile name. This profile name MUST be used with each aws call.
This script finds the appropriate subnet, security group and AMI.
create_ec2_instance.bash --key ~/.aws/JakeSYRyu.pem --profile syryu