Skip to main content

Day 23 : Data Migration Between S3 Buckets Using AWS CLI

100 Days of Cloud (AWS)

Published 1 min readMarkdown
Part of series100 Days of Cloud (AWS)
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.

About the author

  • I'm Zin Lin Htet. Who love to learn and share about Linux, Cloud, Docker and K8s. Currently working as a DevOps Engineer at one of the famous Fintech Company in Myanmar.

No comments yet. Be the first to comment.

100 Days of Cloud (AWS)

Part 23 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 nextDay 24 : Setting Up an Application Load Balancer for an EC2 Instance100 Days of Cloud (AWS)

More from this blog