tencent cloud

Feedback

Separate Deployment of Test Environment and Production Environment

Last updated: 2024-01-10 14:41:59
    You have activated the CCN service, and all VPCs in your organization have been interconnected through CCN. By default, network instances added to CCN are interconnected.
    In certain scenarios, you can divide different network zones in your organization network, and network instances in different zones are isolated from each other. This can be implemented through the custom route table feature of CCN. Specifically, you can plan different custom route tables for CCN and associate different network instances with them in order to isolate network instances.
    Note:
    The custom route table feature is currently in beta test. To try it out, please submit a ticket.

    Overview

    The network instances associated with CCN are divided into a test zone and a production zone. Network instances are interconnected within the same zone but isolated across zones. As shown below, create two custom route tables for the CCN instance: the test route table and the production route table. Here:
    The test route table only receives and learns routes from and is bound to the test VPC.
    The production route table only receives and learns routes from and is bound to the production VPC.

    Prerequisites

    1. You have activated the CCN service and created a CCN instance. For detailed directions, please see Creating a CCN Instance.
    2. The CCN instance has been associated with 4 network instances (for verification and subject to your actual business needs). For detailed directions, please see Associating Network Instances.

    Directions

    Step 1. Plan a custom route table

    According to the isolation of network zones, two custom route tables need to be planned: the test route table and the production route table. The routing plan of the custom route table is as follows:
    Item
    Test Route Table
    Production Route Table
    Route reception policy
    Receive the routes of the network instances in the network zone of the test environment, i.e., routes of the test frontend VPC and the test backend VPC.
    Receive the routes of the network instances in the network zone of the production environment, i.e., routes of the production frontend VPC and the production backend VPC.
    Bound network instance
    Bind the network instances in the network zone of the test environment, i.e., the test frontend VPC and test backend VPC.
    Bind the network instances in the network zone of the production environment, i.e., the production frontend VPC and production backend VPC.

    Step 2. Create a custom route table

    1. Log in to the CCN console.
    2. In the CCN list, click the CCN ID to enter the details page and access the Route Table tab.
    3. Click Create Route Table.
    4. In the pop-up window, enter the name and other information.
    5. Click OK.
    6. Repeat steps 3–5 to create the production route table.

    Step 3. Set the route reception policy

    1. Click the test route table ID to enter the details page and access the Route Reception Policy tab.
    2. Click Add Network Instance.
    3. On the Select a network instance tab, select the network instances in the test zone, i.e., the test frontend VPC and test backend VPC.
    4. Click OK to complete the route reception policy configuration of the test route table.
    5. Select the production route table and repeat steps 1–4 to configure its route reception policy.

    Step 4. Bind a network instance

    1. Click the test route table ID to enter the details page and access the Bind an Instance tab.
    2. Click Bind Network Instance.
    3. On the Select a network instance tab, select the network instances in the test zone, i.e., the test frontend VPC and test backend VPC.
    4. Click OK to complete binding the test route table to network instances.
    5. Select the production route table and repeat steps 1–4 to bind it to network instances.
    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