Create and manage Cloud Connectors

更新时间:
复制 MD 格式

You can use Cloud Connector to establish private connections to the cloud for your IoT endpoints. This topic describes how to create and manage Cloud Connector instances.

Prerequisites

  • You have created a Virtual Private Cloud (VPC) and a vSwitch in an availability zone. For more information, see Create a VPC and a vSwitch.
    Note Ensure that the region you select when creating the vSwitch is the same as the region of the Cloud Connector instance.
  • You have an active IoT SIM card with a dedicated APN. For more information, see Group Monitoring.

Create a Cloud Connector instance

  1. Log on to the Cloud Connector console.
  2. In the top navigation bar, select the region for the Cloud Connector instance.
  3. On the Instance List page, click Create Instance.
  4. On the Create Instance page, set the following parameters and click Complete.
    ParameterDescription
    Basic Information
    RegionThe region where the Cloud Connector instance will be created.
    NameEnter a name for the Cloud Connector instance.
    CarrierThe carrier of the dedicated APN.

    After you select an APN, the system automatically populates this field.

    APNThe dedicated APN for network access.

    IoT endpoints use this APN to connect privately to Alibaba Cloud services.

    Network Settings
    VPCSelect an existing VPC.

    IoT endpoints can connect directly to this VPC.

    vSwitchSelect existing vSwitches.

    You must select two vSwitches in different availability zones to serve as the primary and secondary vSwitches.

    Note
    • After a Cloud Connector instance is created, its carrier and APN cannot be changed.
    • When you create a Cloud Connector instance, the system checks whether the AliyunServiceRoleForCCIoT and AliyunServiceRoleForNatgw service-linked roles exist. If these roles do not exist, the system automatically creates them. For more information, see AliyunServiceRoleForCCIoT and AliyunServiceRoleForNatgw.

Associate and dissociate vSwitches

If your business requirements change, follow these steps to associate or dissociate vSwitches.
Note A Cloud Connector instance supports a maximum of two vSwitches.
  1. Log on to the Cloud Connector console.
  2. In the top navigation bar, select the region where the Cloud Connector instance is located.
  3. On the Instance List page, find the Cloud Connector instance and click its instance ID.
  4. On the Instance Details tab, in the Basic Information section, click Associate or Dissociate to the right of vSwitch.
    • Associate

      In the Associate vSwitch dialog box, select a VPC and vSwitch, and then click OK.

    • Dissociate

      In the dialog box that appears, click OK.

      Warning Caution: This action dissociates both vSwitches, making the instance unavailable. The instance will become operational again after you re-associate vSwitches.

Delete a Cloud Connector instance

Complete the following actions before you delete a Cloud Connector instance:
  1. Log on to the Cloud Connector console.
  2. In the top navigation bar, select the region where the Cloud Connector instance is located.
  3. On the Instance List page, find the Cloud Connector instance, and in the Actions column, choose 更多 > Delete.
  4. In the dialog box that appears, click OK.

Related APIs

  • CreateIoTCloudConnector: Creates a Cloud Connector instance.
  • AssociateVSwitchWithIoTCloudConnector: Associates a vSwitch with a Cloud Connector instance.
  • DissociateVSwitchFromIoTCloudConnector: Dissociates a vSwitch from a Cloud Connector instance.
  • DeleteIoTCloudConnector: Deletes a Cloud Connector instance.