tencent cloud


Accessing Resources in IDC via API Gateway Dedicated Instance

Last updated: 2022-07-11 11:05:53


    When you use a hybrid cloud architecture, your business may be deployed in both public and private clouds, but a unified access layer is required, which serves as the ingress and egress of traffic and supports the processing of all non-business features such as authentication and traffic throttling.

    An API Gateway dedicated instance runs in a VPC and supports forwarding client requests to various services deployed in the VPC or local IDC or on the public network. It is deeply integrated with common backend services to provide a productized connection method. Therefore, it is very suitable as a unified access layer in complex network environments. This document describes how to connect to backend resources in an IDC by using an API Gateway dedicated instance.

    Solution Strengths

    • The API Gateway dedicated instance can forward requests to the backend resources deployed in the VPC and local IDC and on the public network at the same time, seamlessly connecting the cloud and local systems and enabling smooth cloudification.
    • The rich features provided by API Gateway can also be used, such as IP access control, traffic throttling, and log monitoring.
    • Resources on the private network can be interconnected with each other through CCN, fine-grained routing is supported to guarantee the quality, and diversified tiered pricing is supported to reduce the costs.


    Step 1. Create a CCN instance and associate it with a network instance

    1. Log in to the VPC console.
    2. Click CCN on the left sidebar to go to the CCN management page.
    3. Click +New.
    4. In the box that pops up, enter the name and description for the CCN instance. Select its billing mode, service quality, and bandwidth limit mode.
    5. Associate the IDC's Direct Connect gateway with the VPC.

    Step 2. Purchase an API Gateway dedicated instance

    1. Log in to the API Gateway console. Select Instance on the left sidebar.
    2. Click Create to go to the API Gateway dedicated instance purchase page.
    3. Select and enter the instance configuration information.

      The VPC configuration of the dedicated instance should be the same as that of the VPC instance associated with the CCN instance created in step 1.

    4. Click Buy now and make the payment.

    Step 3. Create a service and API under the instance

    1. Log in to the API Gateway console. Select Service on the left sidebar.
    2. Click Create and select Dedicated as the instance type.
    3. In the pop-up window for instance selection, select the dedicated instance purchased in step 1 and click Submit.
    4. Click the name of the created service in the service list to enter its API management page.
    5. Click Create to enter the API creation page and set the configuration items. Select public URL/IP as the API backend type, enter the IDC's private IP, port, and path to be bound as the backend address, and click Submit.
    6. Request the created API, and you will see that the backend resources in the IDC can be accessed through API Gateway.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support