Choose a service endpoint
You can activate your agent by using one of the following endpoint types:
-
Public endpoints – If you use public endpoints, all communication from your DataSync agent to AWS occurs over the public internet. For instructions, see Choose a public service endpoint.
-
Federal Information Processing Standard (FIPS) endpoints – If you need to use FIPS 140-2 validated cryptographic modules when accessing the AWS GovCloud (US-East) or AWS GovCloud (US-West) Region, use this endpoint to activate your agent. You use the AWS CLI or API to access this endpoint. For more information, see Federal Information Processing Standard (FIPS) 140-2
. -
Virtual private cloud (VPC) endpoints – If you use a VPC endpoint, all communication from DataSync to AWS services occurs through the VPC endpoint in your VPC in AWS. This approach provides a private connection between your self-managed data center, your VPC, and AWS services. It increases the security of your data as it is copied over the network. For instructions, see Using AWS DataSync in a virtual private cloud.
After you choose a service endpoint type and activate your agent, you can't change it to use a different service endpoint type later. If you need to transfer data to multiple endpoint types, create a DataSync agent for each endpoint type that you use.
For more information about service endpoints, see AWS DataSync in the AWS General Reference.
Choose a public service endpoint
If you use a public endpoint, all communication from your DataSync agent to AWS occurs over the public internet.
To choose a public service endpoint
-
From the DataSync Agents page on the DataSync management console
, choose Create agent to open the Create agent page. -
In the Service endpoint section, choose Public service endpoints in
AWS Region name. For a list of supported AWS Regions, see AWS DataSync in the AWS General Reference.
Next Step: Activate your agent
Choose a FIPS service endpoint
If you use a FIPS service endpoint, DataSync communicates with the AWS GovCloud (US) or Canada (Central) Region.
To choose a FIPS service endpoint
-
Open the AWS DataSync console at https://console.aws.amazon.com/datasync/
. -
Choose Agents, and then choose Create agent to open the Create agent page.
-
In the Service endpoint section, choose the FIPS endpoint that you want. For information about supported FIPS endpoint, see AWS DataSync in the AWS General Reference.
Next step: Activate your agent
Choose a VPC endpoint
If you use a VPC endpoint, all communication from DataSync to AWS services occurs through the VPC endpoint in your VPC in AWS. This approach provides a private connection between your self-managed data center, your VPC, and AWS services.
You can also use a VPC endpoint outside your VPC to connect your data center directly to AWS resources. In this case, you use a virtual private network (VPN) or AWS Direct Connect. You set up a VPC route table to use the endpoint to access the service. For detailed information, see Routing for gateway endpoints.
To choose a VPC endpoint
-
Create a VPC endpoint. For instructions, see Creating an interface endpoint. If you already have a VPC endpoint in the AWS Region, you can use it.
Important In step 4 of the instructions mentioned preceding, choose
com.amazonaws.for Service Name in the table of endpoints. For information about supported AWS Regions, see AWS DataSync in the AWS General Reference.region.datasync -
Open the AWS DataSync console at https://console.aws.amazon.com/datasync/
. -
From the Agents page, choose Create agent to open the Create agent page.
-
In the Service endpoint section, choose VPC endpoints using AWS PrivateLink. This is the VPC endpoint that the agent has access to.
-
For VPC Endpoint, choose the private VPC endpoint that you want your agent to connect to. You noted the endpoint ID when you created the VPC endpoint.
-
For Subnet, choose the subnet in which you want to run your task. This is the subnet where the elastic network interface is created.
-
For Security Group, choose a security group for your task. This is the security group that protects your network interface for tasks that run on your agent.
For additional information about using DataSync in a VPC, see Using AWS DataSync in a virtual private cloud.
Next step: Activate your agent

