Requirements
Ensure that you have the AWS necessary tools, accounts, keys, etc...
AWS account
Ensure access to the amazon cloud console and create an account if necessary.
AWS CLI
Ensure the AWS CLI is installed and configured:
aws --version
If not, visit https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-mac.html
Access Key
Visit the security credentials
- Click on Access key (access key ID and secret access key).
- Click on the button Create New Access Key.
Write down the AWSAccessKeyId and AWSSecretKey
Configure AWS CLI
Configure the account, region and zone:
aws configure
Key Pair
Let's create an ssh key pair to access the server.
Some key pairs may already have been created, here is how to list all existing key pairs:
aws ec2 describe-key-pairs
If you need to create a new key pair, go to the AWS documentation for ec2 key pair