Troubleshooting issues with Amazon DataSync agents - Amazon DataSync
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Troubleshooting issues with Amazon DataSync agents

The following topics describe issues common to Amazon DataSync agents and how you can resolve them.

How do I connect to an Amazon EC2 agent's local console?

Make sure the Amazon EC2 instance's security group allows access with SSH (TCP port 22), then log in with the following command:

ssh -i PRIVATE-KEY admin@AGENT-PUBLIC-DNS-NAME

  • The user name is admin.

  • The PRIVATE-KEY value is the .pem file containing the private certificate of the Amazon EC2 key pair that you used to launch the instance. For more information, see retrieve the public key from the private key in the Amazon EC2 User Guide for Linux Instances.

  • The AGENT-PUBLIC-DNS-NAME value is the public DNS name of your agent. You can find this public DNS name by choosing the instance in the Amazon EC2 console and going to the Description tab.

For more information on connecting to the Amazon EC2 instance, see Connect to your instance in the Amazon EC2 User Guide for Linux Instances.

What does the Failed to retrieve agent activation key error mean?

When activating your DataSync agent, the agent connects to the service endpoint that you specify to request an activation key. This error likely means that your network security settings are blocking the connection.

Action to take

If you're using a virtual private cloud (VPC) service endpoint, verify that your security group settings allow your agent to connect to the VPC endpoint. For information about required ports, see Network requirements for VPC endpoints.

If you're using a public Federal Information Processing Standard (FIPS) endpoint, check that your firewall and router settings allow your agent to connect to the endpoint. For information, see Network requirements for public endpoints.

I still can't activate an agent using a VPC service endpoint

If you're still having issues activating a DataSync agent with a VPC service endpoint, see Getting help with your agent from Amazon Web Services Support.

I don't know what's going on with my agent. Can someone help me?

If you're having issues with your DataSync agent that you can't solve, see Getting help with your agent from Amazon Web Services Support.