Playing with awscli

Using AWS client on your MacOS

Today someone asked me to create a new Infrastructure in AWS. I made many times, and always I tried to use a different way, just to keep everything fun.

AWS allows us to use many tools to perform this task, so I choose aws-cli to play during my weekend

Let's follow me on how to install, create, deploy and use EC2 instances talking with S3 and RDS

Installing AWS Client

Use pip to install the latest awscli version:

sudo -H pip install awscli — ignore-installed six

Create a IAM User on AWS Console

You will need an IAM User in order to interact with AWS API
You can find here a well documented process.

Now you have your credentials, let's configure awscli to use them:

aws configure

Define your default region and the output format as well