Configuring the Standard Dedicated Resource Pool to Access the Internet
Description
When you use a dedicated resource pool to create a job, for example, a training job, you can interconnect with VPC for the dedicated resource pool to access the Internet. In this case, the dedicated resource pool and the ECS with bound EIP are in the same VPC.
Prerequisites
- You have obtained the ECS where the SNAT function is to be deployed.
- The ECS where the SNAT function is to be deployed runs the Linux OS.
- The ECS where the SNAT function is to be deployed has only one network interface card (NIC) configured.
Step 1: Interconnect with the VPC
VPC interconnection allows you to use resources across VPCs, improving resource utilization.
- On the Network page, click Interconnect VPC in the Operation column of the target network.
Figure 1 Interconnect VPC
- In the displayed dialog box, click the button on the right of Interconnect VPC, and select an available VPC and subnet from the drop-down lists.
The peer network to be interconnected cannot overlap with the current CIDR block.
Figure 2 Parameters for interconnecting a VPC with a network
- If no VPC is available, click Create VPC on the right to create a VPC.
- If no subnet is available, click Create Subnet on the right to create a subnet.
- A VPC can interconnect with at most 10 subnets. To add a subnet, click the plus sign (+).
- To enable a dedicated resource pool to access the public network through a VPC, create a SNAT in the VPC, as the public network address is unknown. After the VPC is interconnected, by default, the public address cannot be forwarded to the SNAT of your VPC. Submit a service ticket and contact technical support to add a default route. Then, when you interconnect with a VPC, ModelArts 0.0.0.0/0 is used as the default route. In this case, you do not need to submit a service ticket. Add the default route for network configuration.
Step 2: Configure SNAT
Configure and verify SNAT by referring to Using a Public NAT Gateway to Enable Servers to Share One or More EIPs to Access the Internet.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot