sudo apt-get install awscli
Usage - aws ssm send-command --document-name "AWS-RunPowerShellScript" --parameters commands=["df -a"] --targets "Key=instanceids,Values=<instanceId>" Example - aws ssm send-command --document-name "AWS-RunPowerShellScript" --parameters commands=["df -a"] --targets "Key=instanceids,Values= i-0981d8456ffd18wcb"
aws s3 ls s3://<bucketName> Example - aws s3 ls s3://myBucket/bucket
aws s3 ls s3://mybucket --recursive --human-readable --summarize
aws ec2 describe-instances --output text --filters "Name=tag:Name,Values=<ELASTIC_BEANSTALK_INSTANCE_NAME>"
aws configure list
aws ec2 start-instances --instance-id=<EC2_INSTANCE_ID>
aws kinesis put-record --stream-name <STREAM_NAME> --partition-key <PARTITION_KEY> --data <DATA>
aws ec2 describe-instances --output text --filters "Name=tag:Name,Values=<ELASTIC_BEANSTALK_INSTANCE_NAME>" | grep "TAGS"
brew install awscli
aws describe-replication-groups --replication-group-id <REPLICATION_GROUP_ID> --output text
aws ec2 describe-instances --output text --filters "Name=tag:Name,Values=<ELASTIC_BEANSTALK_INSTANCE_NAME>" | grep "PRIVATEIPADDRESSES"
which aws
aws configure list | egrep "access_key|secret_key|region" | wc -l Count of 3 means configured correctly
aws ec2 stop-instances --instance-id=<EC2_INSTANCE_ID>
HSET <Key> <field> <value>
redis-cli -c -h <Redis End Point> -p <Port>
curl http://<EC2_IP>/latest/meta-data