SlideShare a Scribd company logo
AWS DataSync – A step by step implementation guide.
How to replicate data from on-premise to cloud, between various clouds, and between different
regions within a cloud using AWS DataSync.
Create the VPC:
Create the S3 bucket:
Load files into S3 bucket:
Create a SecurityGroup(SG) with port 80, 443, and 22 open for 0.0.0.0/0:
Deploy the DataSync agent on an EC2 instance in the public subnet with the public IP enabled in
the same region (eu-west-1):
To deploy the agent
 Install the AWS CLI (if you don’t have it). You will get the detail instruction here
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
 To choose the agent AMI for your AWS Region
Use the following CLI command to get the latest DataSync Amazon Machine Image
(AMI) ID for the specified AWS Region.
aws ssm get-parameter --name /aws/service/datasync/ami --region region
You will get all the details here
https://docs.aws.amazon.com/datasync/latest/userguide/deploy-agents.html#create-
vmw-agent
From the AWS account where the source file system resides, launch the agent by using your
AMI from the Amazon EC2 launch wizard. Use the following URL to launch the AMI.
In the URL, replace the source-file-system-region and ami-id with your own source AWS Region
and AMI ID. The Choose an Instance Type page appears on the Amazon EC2 console.
https://console.aws.amazon.com/ec2/v2/home?region=source-file-system-
region#LaunchInstanceWizard:ami=ami-id
https://console.aws.amazon.com/ec2/v2/home?region=eu-west-
1#LaunchInstanceWizard:ami=ami-04e369d8cf2c50c5a
1. Choose one of the recommended instance types for your use case, and choose Next: Configure
Instance Details. For the recommended instance types, see Amazon EC2 instance
requirements.
2. On the Configure Instance Details page, do the following:
a. For Network, choose the virtual private cloud (VPC) where your source Amazon EFS or NFS file
system is located.
b. For Auto-assign Public IP, choose a value. For your instance to be accessible from the public
internet, set Auto-assign Public IP to Enable. Otherwise, set Auto-assign Public IP to Disable. If a
public IP address isn't assigned, activate the agent in your VPC by using its private IP address.
When you transfer files from an in-cloud file system, to increase performance we recommend
that you choose a Placement Group value where your NFS server resides.
3. Choose Next: Add Storage. The agent doesn't require additional storage, so you can skip this
step and choose Next: Add tags.
4. (Optional) On the Add Tags page, you can add tags to your Amazon EC2 instance. When you're
finished on the page, choose Next: Configure Security Group.
5. On the Configure Security Group page, do the following:
a. Make sure that the selected security group allows inbound access to HTTP port 80 from the
web browser that you plan to use to activate the agent.
b. Make sure that the security group of the source file system allows inbound traffic from the
agent. In addition, make sure that the agent allows outbound traffic to the source file system. If
you deploy your agent by using a VPC endpoint, you need to allow additional ports. For more
information, see How DataSync works with VPC endpoints .
For the complete set of network requirements for DataSync, see AWS DataSync network
requirements.
6. Choose Review and Launch to review your configuration, then choose Launch to launch your
instance. Remember to use a key pair that's accessible to you. A confirmation page appears
and indicates that your instance is launching.
7. Choose View Instances to close the confirmation page and return to the Amazon EC2 instances
screen. When you launch an instance, its initial state is pending. After the instance starts, its
state changes to running. At this point, it's assigned a public Domain Name System (DNS) name
and IP address, you can find these in the Descriptions tab.
8. If you set Auto-assign Public IP to Enable, choose your instance and note the public IP address
in the Description tab. You use this IP address later to connect to your sync agent.
If you set Auto-assign Public IP to Disable, launch or use an existing instance in your VPC to
activate the agent. In this case, you use the private IP address of the sync agent to activate the
agent from this instance in the VPC.
EC2 instance with the DataSync agent:
DataSync agent is created.
Create a new security group with inbound port 2049 open to launch an Amazon EFS (Elastic File
System) in your VPC, and create a file system.
Create an EFS file system:
Create a DataSync task:
Start the task:
Launch a new EC2 instance to check the files (which are copied from S3) in the EFS:
Connect to the EC2 instance and run yum update:
Mount the EFS to this newly created EC2 instance:
https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-helper-ec2-linux.html
Create a directory efs that you will use as the file system mount point using the following
command:
To mount using the file system id:
sudo mount -t efs file-system-id efs-mount-point/
sudo mount -t efs fs-0f33bf88395c3d357 efs/
All files successfully copied from S3 to EFS!

More Related Content

What's hot

What's hot (20)

Aws simple icons_ppt
Aws simple icons_pptAws simple icons_ppt
Aws simple icons_ppt
 
AWS VPC
AWS VPCAWS VPC
AWS VPC
 
Amazon ECS
Amazon ECSAmazon ECS
Amazon ECS
 
AWS 9월 웨비나 | AWS 데이터베이스 마이그레이션 서비스 활용하기
AWS 9월 웨비나 | AWS 데이터베이스 마이그레이션 서비스 활용하기AWS 9월 웨비나 | AWS 데이터베이스 마이그레이션 서비스 활용하기
AWS 9월 웨비나 | AWS 데이터베이스 마이그레이션 서비스 활용하기
 
Introduction to CloudFront
Introduction to CloudFrontIntroduction to CloudFront
Introduction to CloudFront
 
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
 
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
 
AWS Fargate on EKS 실전 사용하기
AWS Fargate on EKS 실전 사용하기AWS Fargate on EKS 실전 사용하기
AWS Fargate on EKS 실전 사용하기
 
Architecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-PracticesArchitecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-Practices
 
AWS 비용 효율화를 고려한 Reserved Instance + Savings Plan 옵션 - 박윤 어카운트 매니저 :: AWS Game...
AWS 비용 효율화를 고려한 Reserved Instance + Savings Plan 옵션 - 박윤 어카운트 매니저 :: AWS Game...AWS 비용 효율화를 고려한 Reserved Instance + Savings Plan 옵션 - 박윤 어카운트 매니저 :: AWS Game...
AWS 비용 효율화를 고려한 Reserved Instance + Savings Plan 옵션 - 박윤 어카운트 매니저 :: AWS Game...
 
Architecting for AWS
Architecting for AWSArchitecting for AWS
Architecting for AWS
 
Amazon Virtual Private Cloud (VPC) - Networking Fundamentals and Connectivity...
Amazon Virtual Private Cloud (VPC) - Networking Fundamentals and Connectivity...Amazon Virtual Private Cloud (VPC) - Networking Fundamentals and Connectivity...
Amazon Virtual Private Cloud (VPC) - Networking Fundamentals and Connectivity...
 
K8s on AWS - Introducing Amazon EKS
K8s on AWS - Introducing Amazon EKSK8s on AWS - Introducing Amazon EKS
K8s on AWS - Introducing Amazon EKS
 
Deep Dive on Amazon EC2 Systems Manager
Deep Dive on Amazon EC2 Systems ManagerDeep Dive on Amazon EC2 Systems Manager
Deep Dive on Amazon EC2 Systems Manager
 
Introduction to EC2
Introduction to EC2Introduction to EC2
Introduction to EC2
 
AWS-Data-Migration-module3
AWS-Data-Migration-module3AWS-Data-Migration-module3
AWS-Data-Migration-module3
 
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
 
Deep dive ECS & Fargate Deep Dive
Deep dive ECS & Fargate Deep DiveDeep dive ECS & Fargate Deep Dive
Deep dive ECS & Fargate Deep Dive
 
Amazon CloudFront 101
Amazon CloudFront 101Amazon CloudFront 101
Amazon CloudFront 101
 
DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)
 

Similar to AWS DataSync.pdf

Aws project jenkins-build-server
Aws project jenkins-build-serverAws project jenkins-build-server
Aws project jenkins-build-server
saifam
 
Final Report To Executive ManagersXXXXXCCA 625Un
Final Report To Executive ManagersXXXXXCCA 625UnFinal Report To Executive ManagersXXXXXCCA 625Un
Final Report To Executive ManagersXXXXXCCA 625Un
ChereCheek752
 

Similar to AWS DataSync.pdf (20)

AWS essentials EC2
AWS essentials EC2AWS essentials EC2
AWS essentials EC2
 
Aws project jenkins-build-server
Aws project jenkins-build-serverAws project jenkins-build-server
Aws project jenkins-build-server
 
Installing WordPress on AWS
Installing WordPress on AWSInstalling WordPress on AWS
Installing WordPress on AWS
 
ESM 6.9.1 for AWS Setup Guide
ESM 6.9.1 for AWS Setup GuideESM 6.9.1 for AWS Setup Guide
ESM 6.9.1 for AWS Setup Guide
 
AWS Instance Preparation
AWS Instance PreparationAWS Instance Preparation
AWS Instance Preparation
 
sfdx continuous Integration with Jenkins on aws (Part I)
sfdx continuous Integration with Jenkins on aws (Part I)sfdx continuous Integration with Jenkins on aws (Part I)
sfdx continuous Integration with Jenkins on aws (Part I)
 
Azure hands on lab
Azure hands on labAzure hands on lab
Azure hands on lab
 
Amazon cloudtutorial
Amazon cloudtutorialAmazon cloudtutorial
Amazon cloudtutorial
 
ArcMC for AWS 2.2 P1 Setup Guide
ArcMC for AWS 2.2 P1 Setup GuideArcMC for AWS 2.2 P1 Setup Guide
ArcMC for AWS 2.2 P1 Setup Guide
 
Knowledge article
Knowledge articleKnowledge article
Knowledge article
 
docker.docx
docker.docxdocker.docx
docker.docx
 
Word press site
Word press siteWord press site
Word press site
 
Module 1 introduction to aws demo 4
Module 1 introduction to aws demo 4Module 1 introduction to aws demo 4
Module 1 introduction to aws demo 4
 
Creating and managing amazon ec2 instances(linux)
Creating and managing amazon ec2 instances(linux)Creating and managing amazon ec2 instances(linux)
Creating and managing amazon ec2 instances(linux)
 
Single Sign-On for APEX applications based on Kerberos (Important: latest ver...
Single Sign-On for APEX applications based on Kerberos (Important: latest ver...Single Sign-On for APEX applications based on Kerberos (Important: latest ver...
Single Sign-On for APEX applications based on Kerberos (Important: latest ver...
 
Raspberry pi and AWS
Raspberry pi and AWSRaspberry pi and AWS
Raspberry pi and AWS
 
Final Report To Executive ManagersXXXXXCCA 625Un
Final Report To Executive ManagersXXXXXCCA 625UnFinal Report To Executive ManagersXXXXXCCA 625Un
Final Report To Executive ManagersXXXXXCCA 625Un
 
McrUmbMeetup 22 May 14: Umbraco and Amazon
McrUmbMeetup 22 May 14: Umbraco and AmazonMcrUmbMeetup 22 May 14: Umbraco and Amazon
McrUmbMeetup 22 May 14: Umbraco and Amazon
 
Amazon cloud intance launch3
Amazon cloud intance launch3Amazon cloud intance launch3
Amazon cloud intance launch3
 
Amazon cloud intance launch
Amazon cloud intance launchAmazon cloud intance launch
Amazon cloud intance launch
 

More from Manas Mondal (6)

Medium Documents - List of my Medium Documents
Medium Documents - List of my Medium DocumentsMedium Documents - List of my Medium Documents
Medium Documents - List of my Medium Documents
 
Amazon DataZone.pdf
Amazon DataZone.pdfAmazon DataZone.pdf
Amazon DataZone.pdf
 
EnterpriseLogManagement.pdf
EnterpriseLogManagement.pdfEnterpriseLogManagement.pdf
EnterpriseLogManagement.pdf
 
Load Log Data into DynamoDB
Load Log Data into DynamoDBLoad Log Data into DynamoDB
Load Log Data into DynamoDB
 
OracleEBS Data Load
OracleEBS Data LoadOracleEBS Data Load
OracleEBS Data Load
 
AWS Application Migration Service-Hands-On Guide
AWS Application Migration Service-Hands-On GuideAWS Application Migration Service-Hands-On Guide
AWS Application Migration Service-Hands-On Guide
 

Recently uploaded

Computer Presentation.pptx ecommerce advantage s
Computer Presentation.pptx ecommerce advantage sComputer Presentation.pptx ecommerce advantage s
Computer Presentation.pptx ecommerce advantage s
MAQIB18
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
enxupq
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
yhkoc
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
ewymefz
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
vcaxypu
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 

Recently uploaded (20)

Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
 
Computer Presentation.pptx ecommerce advantage s
Computer Presentation.pptx ecommerce advantage sComputer Presentation.pptx ecommerce advantage s
Computer Presentation.pptx ecommerce advantage s
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 
Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization Sample
 
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPsWebinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
Slip-and-fall Injuries: Top Workers' Comp Claims
Slip-and-fall Injuries: Top Workers' Comp ClaimsSlip-and-fall Injuries: Top Workers' Comp Claims
Slip-and-fall Injuries: Top Workers' Comp Claims
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
 
How can I successfully sell my pi coins in Philippines?
How can I successfully sell my pi coins in Philippines?How can I successfully sell my pi coins in Philippines?
How can I successfully sell my pi coins in Philippines?
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
Supply chain analytics to combat the effects of Ukraine-Russia-conflict
Supply chain analytics to combat the effects of Ukraine-Russia-conflictSupply chain analytics to combat the effects of Ukraine-Russia-conflict
Supply chain analytics to combat the effects of Ukraine-Russia-conflict
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
 
Tabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflowsTabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflows
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 

AWS DataSync.pdf

  • 1. AWS DataSync – A step by step implementation guide. How to replicate data from on-premise to cloud, between various clouds, and between different regions within a cloud using AWS DataSync.
  • 3. Create the S3 bucket: Load files into S3 bucket: Create a SecurityGroup(SG) with port 80, 443, and 22 open for 0.0.0.0/0:
  • 4.
  • 5. Deploy the DataSync agent on an EC2 instance in the public subnet with the public IP enabled in the same region (eu-west-1):
  • 6. To deploy the agent  Install the AWS CLI (if you don’t have it). You will get the detail instruction here https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html  To choose the agent AMI for your AWS Region Use the following CLI command to get the latest DataSync Amazon Machine Image (AMI) ID for the specified AWS Region. aws ssm get-parameter --name /aws/service/datasync/ami --region region You will get all the details here https://docs.aws.amazon.com/datasync/latest/userguide/deploy-agents.html#create- vmw-agent
  • 7. From the AWS account where the source file system resides, launch the agent by using your AMI from the Amazon EC2 launch wizard. Use the following URL to launch the AMI. In the URL, replace the source-file-system-region and ami-id with your own source AWS Region and AMI ID. The Choose an Instance Type page appears on the Amazon EC2 console. https://console.aws.amazon.com/ec2/v2/home?region=source-file-system- region#LaunchInstanceWizard:ami=ami-id https://console.aws.amazon.com/ec2/v2/home?region=eu-west- 1#LaunchInstanceWizard:ami=ami-04e369d8cf2c50c5a 1. Choose one of the recommended instance types for your use case, and choose Next: Configure Instance Details. For the recommended instance types, see Amazon EC2 instance requirements. 2. On the Configure Instance Details page, do the following: a. For Network, choose the virtual private cloud (VPC) where your source Amazon EFS or NFS file system is located.
  • 8. b. For Auto-assign Public IP, choose a value. For your instance to be accessible from the public internet, set Auto-assign Public IP to Enable. Otherwise, set Auto-assign Public IP to Disable. If a public IP address isn't assigned, activate the agent in your VPC by using its private IP address. When you transfer files from an in-cloud file system, to increase performance we recommend that you choose a Placement Group value where your NFS server resides. 3. Choose Next: Add Storage. The agent doesn't require additional storage, so you can skip this step and choose Next: Add tags. 4. (Optional) On the Add Tags page, you can add tags to your Amazon EC2 instance. When you're finished on the page, choose Next: Configure Security Group. 5. On the Configure Security Group page, do the following: a. Make sure that the selected security group allows inbound access to HTTP port 80 from the web browser that you plan to use to activate the agent. b. Make sure that the security group of the source file system allows inbound traffic from the agent. In addition, make sure that the agent allows outbound traffic to the source file system. If you deploy your agent by using a VPC endpoint, you need to allow additional ports. For more information, see How DataSync works with VPC endpoints . For the complete set of network requirements for DataSync, see AWS DataSync network requirements. 6. Choose Review and Launch to review your configuration, then choose Launch to launch your instance. Remember to use a key pair that's accessible to you. A confirmation page appears and indicates that your instance is launching. 7. Choose View Instances to close the confirmation page and return to the Amazon EC2 instances screen. When you launch an instance, its initial state is pending. After the instance starts, its state changes to running. At this point, it's assigned a public Domain Name System (DNS) name and IP address, you can find these in the Descriptions tab. 8. If you set Auto-assign Public IP to Enable, choose your instance and note the public IP address in the Description tab. You use this IP address later to connect to your sync agent. If you set Auto-assign Public IP to Disable, launch or use an existing instance in your VPC to activate the agent. In this case, you use the private IP address of the sync agent to activate the agent from this instance in the VPC.
  • 9.
  • 10.
  • 11. EC2 instance with the DataSync agent:
  • 12.
  • 13. DataSync agent is created. Create a new security group with inbound port 2049 open to launch an Amazon EFS (Elastic File System) in your VPC, and create a file system.
  • 14. Create an EFS file system:
  • 15.
  • 16.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 24.
  • 25. Launch a new EC2 instance to check the files (which are copied from S3) in the EFS:
  • 26.
  • 27. Connect to the EC2 instance and run yum update:
  • 28. Mount the EFS to this newly created EC2 instance: https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-helper-ec2-linux.html Create a directory efs that you will use as the file system mount point using the following command:
  • 29. To mount using the file system id: sudo mount -t efs file-system-id efs-mount-point/ sudo mount -t efs fs-0f33bf88395c3d357 efs/
  • 30. All files successfully copied from S3 to EFS!