If your workspace is upgraded from a directory of an earlier version and the workspace ID is in the <Region ID> + dir + <17-character string consisting of letters and digits> format, you can enable Internet access for your cloud desktop by configuring an elastic IP address (EIP) or a network address translation (NAT) gateway. This topic describes how to configure an EIP.

Background information

An EIP is a public IP address that can be purchased and retained as an independent resource. You can associate an EIP with a cloud desktop to enable Internet access. For more information about the billing of EIPs, see Billing.
Note When you configure a cloud desktop to access the Internet, you can use an EIP or a NAT gateway. If you have a large number of cloud desktops within a single directory and all the cloud desktops require Internet access, we recommend that you configure a NAT gateway. This way, you need only to enable one EIP to allow shared bandwidth for all the cloud desktops. For more information, see Configure a NAT gateway.
The following examples describe how to configure an EIP for a cloud desktop:

Step 1: Create an EIP

If you already have an EIP, skip this step and associate your EIP with the cloud desktop. If you do not have an EIP, create one.

  1. Log on to the VPC console.
  2. In the top navigation bar, select a region.
  3. In the left-side navigation pane, choose Elastic IP Addresses > Elastic IP Addresses.
  4. On the Elastic IP Addresses page, click Create EIP.
  5. Configure the parameters for the EIP.
    Set the region to that of the cloud desktop. For more information, see Apply for an EIP.
  6. Confirm the configurations and fees, click Buy Now, and complete the payment.

Step 2: Associate the EIP with the cloud desktop

After you associate the EIP with the cloud desktop, the cloud desktop is able to access the Internet.

  1. On the Elastic IP Addresses page of the VPC console, find the EIP that you want to associate with and click Bind Resource.
  2. In the Bind Elastic IP Address to Resources dialog box, complete the configurations.
    Configure the following parameters:
    • Instance Type: Select Secondary ENI.
    • Binding mode: Select Normal.
    • Select an elastic network interface (ENI) to bind: Select Primary Private IP Address from the drop-down list, enter the private IP address of the cloud desktop to search for the ENI of the cloud desktop, and then select the ENI in the list.
      Note You can check the private IP address of the cloud desktop on the Cloud Desktops page in the Elastic Desktop Service (EDS) console.
  3. Click OK.