栏目头部广告

Tutorial for Purchasing UHost From Ucloud Global

Option 1: Purchase a public IP address to each server to access the internet.

1.png

After logging into your account, Click on "UHost"

2.png

Click on "Create UHost"

3.png

Select the region and other UHost configurations

4.png

Select the operating system and system disk size, and add data disks if you need

5.png


Select the default VPC or click on "Create a VPC".

If you click "Create a VPC":

6.png

Click "Create VPC"

7.png

Set the subnet according to your requirements (other options can be filled in as needed), then click "Confirm".

8.png

Return to the create UHost page to select the new VPC.

9.png

Purchase a public IP address and select the bandwidth.

10.png

Select the default firewall or click "Add Firewall".

If you click "Add Firewall":

11.png

Click "Create Firewall"

12.png

Allow IPs and ports according to your requirements, enter the "Firewall Name" (other options can be filled in as needed), and then click "Next step".

13.png

If the displayed content is correct, click "OK".

14.png

Return to the create UHost page to select the new firewall.

15.png

Set the password and enter the "Instance Name" (other options can be filled in as needed).

16.png

Select the payment method (Hourly, Monthly, or Yearly), and click "Purchase Now"

17.png

Click "Submit my order"

18.png

The UHost you purchased will be displayed in the console. Click "Login" to access it.


Option 2: Use NAT to access the internet, requiring only one public IP address

NAT图.png

图片81.png

The process of purchasing the UHost is the same as in Option 1, except that you need to uncheck "Purchase and Bind".

图片82.png

 

Once you have purchased the required UHosts, they will be displayed in the console. Then, click "All Products".

图片83.png

Click "UVPC"

图片84.png

Click "NAT Gateway," then click "Create NAT Gateway"

图片85.png

Select the VPC where the NAT gateway will be applied, the bandwidth for the public IP, and the firewall. Then, enter the NAT gateway name (other options can be filled in as needed).

图片86.png

Select the payment method (Hourly, Monthly, or Yearly), and click "Purchase Now"

图片87.png

The configured NAT service will be displayed in the console. The meaning of the image is that UHosts within the DefaultVPC can access the internet through the public IP: 152.32.156.54. Conversely, through the public IP: 152.32.156.54, clients can access the UHosts within the DefaultVPC.

图片88.png

In addition, you can configure port forwarding by clicking "Port forwarding." This way, when clients access different ports of the NAT public IP address, the traffic can be forwarded to the corresponding ports of different UHosts within the DefaultVPC for services.

图片89.png

The 'Source IP' is the NAT public IP and port, while the 'Target IP' is the internal IP and port of the UHost where the request will be forwarded. Then, click "OK".

图片90.png

Once the rule is configured, it will be displayed in the console. This diagram shows that when a client accesses port 80 of the public IP 152.32.156.54, the request will be forwarded to port 80 of the UHost with the internal IP 10.47.62.255 for response and service.


文章详情页广告

Browse At Random.

底部广告
`