Installing AWS CLI and setting up the environment variables

The first thing we should do is get the AWS credentials.

Please open the Amazon EC2 Console (https://console.aws.amazon.com/ec2/), click on your name from the top-right menu, and select My Security Credentials. You will see the screen with different types of credentials. Expand the Access Keys (Access Key ID and Secret Access Key) section and click the Create New Access Key button. Expand the Show Access Key section to see the keys.

You will not be able to view the keys later on, so this is the only chance you'll have to Download Key File.

All the commands from this chapter are available in the 11-aws.sh (https://gist.github.com/vfarcic/03931d011324431f211c4523941979f8) Gist.

We'll ...

Get The DevOps 2.1 Toolkit: Docker Swarm now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.