Step 1: Access Virtual Machines Console to log in the instance list page. Or, access JD Cloud Console and log in the instance list page by clicking [Elastic Compute]-[Virtual Machine] on the left navigation bar. Step 2: Select the region, click [Create] to enter the machine creation page, need instance type, image, VPC, security information, etc., and select CentOS-7.2 64-digit NAT Gateway for image selection;
Step 3: Configure the IP type and bandwidth;
Step 4: Click [Buy Now] to trigger the purchase, and the host is created after the payment is completed.
For more operations, please refer to Create Virtual Machine
Step 1: Open the console, select Network -> [Private Network] -> [Route Table] , and enter the route table list page;
Step 2: Locate the route table for which the route rules are required to be configured, click the name of the route table to enter the route table details, click the route policy to enter the route rules page, and click [Edit] to manage route table rules;
Step 3: Click [Add] to add a route policy; supplement corresponding configuration items, the next hop type: Virtual Machines, Next Hop: a virtual machine created by NAT Gateway image;
Step 4: Associate this route table with the subnet where the instance with the need to access the Internet is located. It's important to note that NAT Instance cannot be set in this subnet, i.e. the virtual machine in the subnet can access the public network only through the NAT Instances in different subnets under the same VPC.
After the configuration is completed, all hosts in the subnet SNAT02 can access the public network through the host serving as the NAT gateway.
我们的产品专家为您找到最合适的产品/解决⽅案
1v1线上咨询获取售前专业咨询
专业产品顾问,随时随地沟通