Amazon AWS (awscli) command line interface

awscli is a command line tool for Amazon AWS. To install, run

apt-get install python3-pip python3-venv -y

Create a virtual environment and activate it

python3 -m venv venv
source venv/bin/activate

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 Cloud​Formation

See aws

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *