Chapter 3 - Storage
Set and export your default region
export AWS_REGION=us-east-1
Set your AWS ACCOUNT ID
AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
Validate AWS Cli Setup and access
aws ec2 describe-instances
Chapter 3 of the AWS Cookbook
https://www.amazon.com/AWS-Cookbook-Recipes-Success/dp/1492092606/
export AWS_REGION=us-east-1
AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
aws ec2 describe-instances
Chapter 3 of the AWS Cookbook
https://www.amazon.com/AWS-Cookbook-Recipes-Success/dp/1492092606/
MIT License