awscli is a command line tool for Amazon AWS. To install, run
apt-get install python3-pip -y
If python 2, you need to install package python-pip.
Install awscli with pip
pip install awscli
You can find more details at
https://docs.aws.amazon.com/cli/latest/reference/
Once installed, you need to configure it
aws configure
To sync content of a folder to Amazon S3 bucket, run
aws s3 sync /opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/ s3://your-bucket-name/wp-content/uploads/
Whitelist IP in AWS security group using awscli
Amazon AWS create key pair using awscli
AWS CloudFormation
See aws
Leave a Reply