Skip to main content

Command Palette

Search for a command to run...

Day 23 : Data Migration Between S3 Buckets Using AWS CLI

100 Days of Cloud (AWS)

Updated
1 min read
Day 23 : Data Migration Between S3 Buckets Using AWS CLI

Welcome to Day 23. Today, we will learn how to create and migrate data between S3 buckets using the AWS CLI. In this lab, you need to create a new S3 bucket using the CLI. Then, you will migrate data from an existing S3 bucket to the newly created S3 bucket.

Below are the AWS S3 CLI commands used in this lab.

aws s3 ls --region us-east-1

aws s3 mb s3://nautilus-sync-15859 --region us-east-1

aws s3 sync s3://nautilus-s3-27445 s3://nautilus-sync-15859 --region us-east-1

aws s3 ls s3://nautilus-sync-15859 --recursive --summarize | tail -n 2

aws s3 ls s3://nautilus-s3-27445 --recursive --summarize | tail -n 2

Congratulations you did it. It looks good. This lab was successfully completed without any errors. See you in day 24. If you have any issues please let me know I will be happy to assist you. Stay tuned and learn together. If you find my article useful, please kindly like and share it.

100 Days of Cloud (AWS)

Part 28 of 50

In this series you will learn how to configure and manage cloud resources using AWS. My intention is to provide an explanation and share the answers for 100 Days of Cloud (AWS) from KodeKloud.

Up next

Day 22 : Configuring Secure SSH Access to an EC2 Instance

100 Days of Cloud (AWS)