Enabling Public Network Access for an ECS
This section describes how to enable public network access for an ECS.
Using IPv4 to Access Public Networks
Method |
Scenario |
Characteristics |
Reference |
---|---|---|---|
Binding an EIP |
Suitable for public network access in temporary or dynamic changes or specific scenarios.
|
|
|
Network address translation using NAT Gateway |
Suitable for scenarios where an EIP is shared by multiple ECSs |
The SNAT function provided by the NAT Gateway service allows the ECSs in a VPC to access the Internet without requiring an EIP. Additionally, SNAT supports a large number of concurrent connections for applications that have a large number of requests and connections. |
|
Using ELB to distribute incoming traffic from public networks |
Suitable for load balancing and distributing incoming traffic from public networks |
After an EIP is bound to a private network load balancer, the load balancer becomes a public network load balancer. Clients can access backend servers through this load balancer over Internet. For more information, see ELB Function Overview. |
Using IPv6 to Access Public Networks
When purchasing an ECS, you can select a flavor that supports IPv6 and a primary network interface with IPv6 enabled. Then, bind an EIP to the ECS.
Method |
Scenario |
Characteristics |
Reference |
---|---|---|---|
Assigning an IPv6 address with EIP bandwidth enabled |
Suitable for applications or services that support IPv6 |
Compared with IPv4, IPv6 provides sufficient network addresses and more advanced network features. You can use IPv6 addresses to access public networks. |
|
Using ELB to distribute incoming traffic from public networks |
Suitable for load balancing and distributing incoming traffic from public networks |
After an EIP is bound to a private network load balancer, the load balancer becomes a public network load balancer. Clients can access backend servers through this load balancer over Internet. For more information, see ELB Function Overview. |
Related Documents
- For EIPs, you can flexibly adjust the bandwidth or billing mode. For details, see Modifying an EIP Bandwidth.
- For details about the billing of the Huawei Cloud products involved in this document, see ECS Billing, NAT Gateway Billing, and ELB Billing.
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