Connect to your container Windows instance - Amazon Elastic Container Service
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).

Connect to your container Windows instance

You can connect to your Windows instances to perform basic administrative tasks, such as installing or updating software or accessing diagnostic logs. To connect to your instance using Remote Desktop Protocol (RDP), your Windows instance must meet the following prerequisites.

  • Amazon EC2 instances created from most Windows AMIs allow you to connect using Remote Desktop Protocol (RDP). RDP allows you to connect to and use your instance in the same way you use a computer sitting in front of you. It is available on most editions of Windows and available for Mac OS.

  • Your Windows instance must have been launched with a valid Amazon EC2 key pair. Amazon EC2 instances have no password, you use a key pair for access over RDP. If you did not specify a key pair when you launched your instance, there is no way to connect to the instance. For more information, see Launching an Amazon ECS Windows container instance.

  • Ensure that the security group associated with your instance allows incoming RDP traffic (port 3389) from your IP address. The default security group doesn't allow incoming RDP traffic by default. For more information, see Authorize inbound traffic for your Windows instances in the Amazon EC2 User Guide for Windows Instances.

  1. Find the public IP or DNS address for your container instance.

    1. Open the console at https://console.amazonaws.cn/ecs/v2.

    2. In the navigation pane, choose Clusters and select the cluster that hosts the instance.

    3. On the Cluster : name page, choose the Infrastructure tab.

    4. Under Container instances, select the instance ID.

    5. On the Instances page, record the Public IP or Public DNS for your instance.

  2. Find the default username for your container instance AMI.

  3. You can connect to your instance by using RDP. For more information, see Connect to your Windows instance using RDP in the Amazon EC2 User Guide for Windows Instances.