AWS Command Line Interface
Control multiple AWS services from the command line and automate them through scripts.
The CLI lets you interact with AWS from anywhere by simply using a command line.
You can from the CLI perform action such as:
- List buckets, upload data S3
- Launch, stop, start and terminate EC2 instances
- Update security groups, create subnets
- etc
Import AWS CLI flags to know:
Easily switch between AWS accounts using –profile
Change the –output between json, table and text.
SDK
A Software Development Kit is a set of tools and libraries that you can use to create applications for a specific software package.
The AWS SDK is a set of API libraries that let you integrate AWS services into your applications. The SDK is available for the following languages:
- C++
- Go
- Java
- Javascript
- .NET
- NodeJs
- PHP
- Python
- Ruby
Access Key and Secret
When you enable Programmatic Access for AWS users, you will have the ability to create Access Key ID and Secret Access Key. These are collectively known as AWS Credentials.
You will want to stored your credentials in your user’s home e.g. ~/.aws/credentials
The credentials files allow you to manage multiple credentials(called profiles.)