AWS DataSync – Data migration from on premise to AWS

AWS DataSync – Data migration from on premise to AWS

May 29, 2020 / Eternal Team

AWS DataSync is a tool in which you can transfer large amount of data very fast and secure of data online to from AWS. It can handle of transfer hundreds and thousands of terabytes of files at speeds approximately 10 times faster than the open-source tools via AWS Direct Connect Links or via Internet or AWS private links.

How it works,

  • Data transfer speed is extremely fast and rapid using multi-threaded architecture.
  • The process of data transfer and management along with the infrastructure and security is made easy and automated.
  • Transfer of data is cost-effective to a great extent

Basic steps to use AWS DataSync,

  1. Deploy a connector, on-premise OR use EC2.
  2. Create a source and destination location.
  3. Create a task to start the job.

Note :

AWS DataSync only supports VMware ESXi Hypervisor.

How to deploy on console

First go to the AWS DataSync homepage,and Click Download image to deploy connector on your on-premise. Choose the region where your connector will be connecting to.

Download the DataSync Agent, unzip the file and import it into your VMware infrastructure. Once the appliance has booted, you’ll be presented with the login screen:

And you can login with the username admin and the password

Once done, connect your connector to AWS DataSync by entering your connector’s IP on AWS web console and get a key.

Give your agent a name and it’s done

Now we are Creating our first transfer job

After completing agent you have to create task definition

Step 1: for first Specify in which direction we want to transfer our data. We can copy data either from AWS or to AWS, in relation to our on-premise file server. In this example, we’re copying data to AWS (an S3 bucket, to be exact).

Step 2: We now need to set up our source configuration. The only option for ‘Location Type’ is an NFS server, so we select that. then fill in the details of our NFS server and the path to mount.

Step 3: create an IAM role and go to the configure settings and Give your task a name (optional) and you’ve got yet another opportunity to attach tags to the task component of the workflow.

Step 4: You can specify the options for the transfer here. These include the ability to store file ownership and mode information as S3 metadata on the individual objects uploaded, as well as an option to not delete files on the target when they’re removed from the source. You can also opt to validate the transfer was successful by checking the ‘Enable verification’ option – but remember this will slow down the transfer due to the additional overhead of calculating the checksum for each file transferred.

Starting the transfer job is as easy as selecting our new task, clicking the Actions menu and selecting ‘Start’.

If you click the Execution id you will see all detail things,

So what about the cost ??

AWS DataSync has simple, predictable, usage-based pricing. With DataSync, you pay only for the amount of data that you copy.

AWS DataSync fee for data copied – $0.0125 per gigabyte (GB)

To more details

https://aws.amazon.com/datasync/pricing/

Conclusion

I hope the above has given you a good insight into the new AWS DataSync service

AWS-Consulting-Partner

Talk to AWS Certified Consultant

Want to start a project?

It’s simple.

Contact us