Amazon AWS (awscli) command line interface
awscli is a command line tool for Amazon AWS. To install, run
1 |
apt-get install python3-pip -y |
If python 2, you need to install package python-pip.
Install awscli with pip
1 |
pip install awscli |
You can find more details at
https://docs.aws.amazon.com/cli/latest/reference/
Once installed, you need to configure it
1 |
aws configure |
To sync content of a folder to Amazon S3 bucket, run
1 |
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 Cloud​Formation
See aws