检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Configuring NAT Gateway on Huawei Cloud Perform the following operations to create a public NAT gateway with an EIP bound: Buy a public NAT gateway.
Related Services NAT Gateway, ECS, BMS and VPC Figure 2 EIP used by a NAT gateway Binding an EIP to a Load Balancer A high-availability load balancing network can be built with the help of EIP.
Querying the Details of a Transit Subnet Function This API is used to query the details of a specified transit subnet. Calling Method For details, see Calling APIs. URI GET /v3/{project_id}/private-nat/transit-subnets/{transit_subnet_id} Table 1 Path Parameters Parameter Mandatory
If you migrate over the Internet, you need to pay for NAT gateways used by migration clusters. For details, see NAT Gateway Billing or NAT Gateway Price Calculator. If you choose to enable log collection, you need to pay Log Tank Service (LTS) for resources you consume.
If you migrate over the Internet, you need to pay for NAT gateways used by migration clusters. For details, see NAT Gateway Billing or NAT Gateway Price Calculator. If you choose to enable log collection, you need to pay Log Tank Service (LTS) for resources you consume.
For example, use ELB, NAT Gateway, and WAF for public network access. Restrict access to external IP addresses through network ports using security groups and NAT gateways to reduce security risks.
Table 1 Overview Scenario Operation Guide Buy CFW Purchasing Yearly/Monthly Cloud Firewall Purchasing a Pay-per-Use CFW Use CFW Enable CFW Internet Border Traffic Protection VPC Border Traffic Protection NAT Gateway Traffic Protection Configure ACL rules Access Control Policy Overview
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
Accessing the Internet through a NAT gateway Supported Supported Supported The following uses a CCE Turbo cluster as an example to describe how to use a NAT gateway to access the Internet. The NAT gateway allows pods in a VPC to access the Internet through SNAT.
How Many Private NAT Gateways Can I Buy in a VPC? You can buy a maximum of 10 private NAT gateways in a VPC. Parent topic: Billing FAQs
Adding a Tag to a Transit Subnet Function This API is used to add a tag to a specified transit subnet. A transit subnet can have up to 20 tags. This API is idempotent. If a tag to be added has the same key as an existing tag, the tag will be added and overwrite the existing one. Calling
Querying Tags of a Transit Subnet Function This API is used to query tags of a specified transit subnet. TMS uses this API to query all tags of a specified subnet. Calling Method For details, see Calling APIs. URI GET /v3/{project_id}/transit-subnets/{resource_id}/tags Table 1 Path
Deleting a Transit Subnet Tag Function This is an idempotent API to delete a tag from a transit subnet. When a tag is deleted, the tag character set is not verified. Before calling this API, encode the API URI. The server must decode the API URI. If the key of the tag to be deleted
Querying Transit Subnets by Tag Function This API is used to query transit subnets by tag. TMS uses this API to filter and list transit subnets by tag. Calling Method For details, see Calling APIs. URI POST /v3/{project_id}/transit-subnets/resource_instances/action Table 1 Path Parameters
If you have a NAT gateway, it receives and responds to incoming traffic. The NAT gateway has an EIP bound, through which backend servers can access the Internet and provide services accessible from the Internet.
NAT gateway protection comes in the following scenarios: The EIP bound to a NAT gateway can be protected. Only the traffic of the EIP will be audited.
(Recommended) Using NAT Gateway Prerequisites for this solution: You have purchased an EIP and a public NAT gateway. The public NAT gateway and the ECSs that need to access the Internet are in the same VPC.
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are