Verifying your agent's network connections
Once you activate your Amazon DataSync agent, make sure that the agent has network connectivity to your storage system and the DataSync service.
Accessing your agent's local console
How you access your agent's local console depends on the type of agent you're using.
For security reasons, you can't remotely connect to the local console of the DataSync agent virtual machine (VM).
-
If this is your first time using the local console, log in with the default credentials. The default user name is
adminand the password ispassword.Note
We recommend changing the default password. To do this, on the console main menu enter
5(or6for VMware VMs), then run thepasswdcommand to change the password.
To connect to an Amazon EC2 agent's local console, you must use SSH.
Before you begin: Make sure that your EC2 instance's security group allows access with SSH (TCP port 22).
-
Open a terminal and copy the following
sshcommand:ssh -i/path/key-pair-name.peminstance-user-name@instance-public-ip-address-
For
/path/key-pair-name, specify the path and file name (.pem) of the private key required to connect to your instance. -
For
instance-user-name, specifyadmin. -
For
instance-public-ip-address, specify the public IP address of your instance.
-
-
Run the
sshcommand to connect to the instance.
Once connected, the main menu of the agent's local console displays.
Verifying your agent's connection to your storage system
Test whether your DataSync agent can connect to your storage system. For more information, see 1. Network connection between your storage system and agent.
-
On the Amazon DataSync Activation - Configuration main menu, enter
3. -
Enter one of the following options:
-
Enter
1to test an NFS server connection. -
Enter
2to test an SMB server connection. -
Enter
3to test an object storage server connection. -
Enter
4to test an HDFS connection. -
Enter
5to test a Microsoft Azure Blob Storage connection.
-
-
Enter the storage server's IP address or domain name.
Remember the following when entering the IP address or domain name:
-
Don't include a protocol. For example, enter
mystorage.cominstead ofhttps://mystorage.com. -
For HDFS, enter the IP address or domain name of the NameNode or DataNode in the Hadoop cluster.
-
-
If requested, enter the TCP port for connecting to the storage server (for example,
443).
See if the connectivity test PASSED or FAILED.
Verifying your agent's connection to the DataSync service
Test whether your DataSync agent can connect to the DataSync service. For more information, see 2. Network connection between your agent and DataSync service.
-
On the Amazon DataSync Activation - Configuration main menu, enter
2to begin testing network connectivity.If your agent is activated, the Test Network Connectivity option can be initiated without any additional user input, because the Region and endpoint type are taken from the activated agent information.
-
Enter the type of DataSync service endpoint that your agent uses:
-
For public service endpoints, enter
1and the Amazon Web Services Region where your agent is activated. -
For FIPS service endpoints, enter
2and the Region where your agent is activated. -
For VPC service endpoints, enter
3. -
For FIPS VPC service endpoints, enter
4.
You see a PASSED or FAILED message.
-
-
If you see a FAILED message, check your network configuration. For more information, see Amazon DataSync network requirements.
Next steps
Create the DataSync location that you want to use with your agent. This might be an on-premises or other cloud location.