Troubleshooting an EC2 Agent - AWS DataSync

Troubleshooting an EC2 Agent

Following, you can find information on how to troubleshoot EC2 agent issues.

Enabling AWS Support to Help Troubleshoot Your DataSync Running on Amazon EC2

DataSync provides a local console that you can use to perform several maintenance tasks. These tasks include enabling AWS Support to access your DataSync agent to assist you with troubleshooting. By default, AWS Support access to your agent is disabled.

You enable this access through the EC2 local console. You log in to the EC2 local console through Secure Shell (SSH). To successfully log in through SSH, your instance's security group must have a rule that opens TCP port 22.


If you add a new rule to an existing security group, the new rule applies to all instances that use that security group. For more information about security groups and how to add a security group rule, see Amazon EC2 Security Groups for Linux Instances in the Amazon EC2 User Guide for Linux Instances.

Connecting to the EC2 Agent's Local Console

Log in to the local console for your DataSync EC2 agent. For instructions, see Connect to Your Instance in the Amazon EC2 User Guide for Linux Instances.

You can use the following command to log in to the EC2 instance's local console. The user name is admin.


In this command, the PRIVATE-KEY value is the .pem file containing the private certificate of the EC2 key pair that you used to launch the EC2 instance. For more information, see the Amazon EC2 User Guide for Linux Instances.

The AGENT-PUBLIC-DNS-NAME value is the public DNS name of your agent. You get this public DNS name by choosing the EC2 instance in the EC2 console and choosing the Description tab.

For instructions about using the local console menu to enable AWS Support access to your agent and to perform other operations, see Configuring Your Agent on the VM Local Console.