Data Upload to AWS S3

Amazon Simple Storage Service (Amazon S3) is object storage with a simple web service interface to store and retrieve any amount of data from anywhere on the web. It is Simple, durable, massively scalable object storage.

In-order to upload data/backups to s3, you will find a number of ways to do it. But, the best method is to use awscli

Install

Simple, install the tool with below command.

krishna@ubuntu:~$ sudo apt-get install awscli

Configure

Do the configuration and provide the access id and secret key.

krishna@ubuntu:~$ aws configure

Play

Here’s a simple example to list the aws s3 files

krishna@ubuntu:~$ aws s3 ls s3://<bucket name>

A very detailed documentation is available http://docs.aws.amazon.com/cli/latest/reference/s3/

Conclusion

Awscli is a really very nice tool, that ease our day to day AWS tasks.

Enjoy !!

Leave a Reply

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