Amazon AWS S3 bucket data copy and download

Santanu Khan
HackerNoon.com
Published in
2 min readMay 17, 2019

--

Simple tutorial how to copy and download data from any others S3 bucket to yours. First you need an AWS account. Without account you can’t access any feature of AWS.

After creating the account you need to install AWS CLI. AWS CLI is a tool that pulls all the AWS services together in one central console, giving you easy control of multiple AWS services with a single tool. The acronym stands for Amazon Web Services Command Line Interface because, as its name suggests, users operate it from the command line.

Command- pip install awscli

Once you have installed AWS CLI on your PC, you’ll need one more step to be able to connect to your AWS account.

For Windows- aws configure

This command is the fastest way to set up your AWS CLI installation.

Through aws configure, the AWS CLI will prompt you for four pieces of information. The first two are required. These are your AWS Access Key ID and AWS Secret Access Key, which serve as your account credentials. (You can generate new credentials ) The other information you will need is region and output format, which you can leave as default for the time being.

aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: json

To show all buckets- aws s3 ls

To download data first you need to copy data from others bucket to your local drive and it will automatically download.

Now it’s your turn! …Thank you.

--

--