×
Community Blog Migrating from AWS S3 to Alibaba Cloud OSS Using Data Migration Service

Migrating from AWS S3 to Alibaba Cloud OSS Using Data Migration Service

In this article, we will show you how to migrate AWS S3 to Alibaba Cloud OSS with the new Data Migration Service.

By Thomas Poon, Solutions Architect

Cloud Object Storage is a widely used technology for public cloud providers. Alibaba Cloud Object Storage Service (OSS), AWS S3, and Azure Blob Storage are some notable examples of object storage products hosted on the cloud.

Alibaba Cloud has recently released Data Migration Service, a console GUI tool that helps customers migrate Object Storage services from other sources to Alibaba Cloud OSS.

In this article, I will show you how to migrate from AWS S3 to Alibaba Cloud OSS. Data Migration Service is not limited to AWS S3, you can use it with other products as well. If you want to migrate from other sources, the steps will be similar because the tool is very easy to use.

Let's get started with the tutorial.

Prerequisites

  1. You should already have data in your S3 bucket.
  2. A valid Alibaba Cloud account. If you don't have one already, head over to https://www.alibabacloud.com/campaign/free-trial for a free account.

Setting Up S3

I have created a bucket named "frombuckettp" in AWS S3 Singapore, and have stored files in the basic bucket.

1

Additionally, I have two folders with files inside of them. The figure below shows the contents of folder1.

2

Next, get the API Key and Secret from "My Security Credentials"

3

If you don't have one, you can create new access key. Then, save your access key and secret, we will use it during the migration.

4

Setting Up OSS

Next, log in to the Alibaba Cloud console and navigate to OSS. Click + to create a new bucket.

5

Create the destination bucket "tobuckettp" in Region "Hong Kong".

6

You will see an empty bucket named "tobuckettp" created.

7

Next, navigate to the Data Migration Service console https://mgw.console.aliyun.com. You can also locate this feature under "Data Transport".

8

Then you will see this screen:

9

Now we will create two data addresses, using AWS S3 as source and Alibaba Cloud OSS as destination.

Click "Create Data Address".

10

You will see a list of supported data types under "Data Type".

11

Fill in the following information and click OK. You'll need to enter information such as the endpoint, bucket, and access keys.

12

Next, create the OSS endpoint by clicking "Create Data Address".

13

Similarly, input your Alibaba Cloud ECS AK/AKS, and bucket information "tobuckettp". Once completed, click OK.

14

Perform Migration

After completing all the necessary setups, we can now we start the actual migration.

Navigate to Migration Jobs and click Create Job.

15

Accept the terms and conditions of Migration Service and click "Next".

16

Just input the arbitrary job name, source data address and destination data address and click "Next".

17

If you know the Data Size and File Count information, you can specify them here and the tool will try prioritize the task based on the input. Click "Create" when you have completed the settings.

18

You should see the job status is "Creating", which will then change to "Migrating".

19

20

You can click on "Manage" to see the status of your migration.

21

Once the task is finished, you can go back to the OSS console to confirm that your migration is successful. Under the Files tab of "tobuckettp" bucket, you should see all data from S3 are now migrated to OSS.

22

That's it! Alibaba Cloud Data Migration Service tool is easy to use and can help you speed up your migration process.

1 1 1
Share on

Alibaba Clouder

1,690 posts | 289 followers

You may also like

Comments

Raja_KT March 14, 2019 at 2:01 pm

They are almost the same and it is easy to migrate.

Alibaba Clouder

1,690 posts | 289 followers

Related Products