检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
"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
Querying Tags of All Transit Subnets in a Specified Project Function This API is used to query tags of all transit subnets of a tenant in a project. TMS uses this API to list tags of all transit subnets, and provides tag association when users tag or filter transit subnets. Calling
Batch Adding or Deleting Tags to or from a Transit Subnet Function This API is used to batch add or delete tags to or from a transit subnet. TMS uses this API to batch manage tags of a specified transit subnet. A transit subnet can have up to 20 tags. Constraints This API is idempotent
Creating and deleting NAT gateways in a single day will result in separate full-day costs for each gateway. For details, see NAT Gateway Billing or NAT Gateway Price Calculator. Migration over the Internet incurs costs for the EIPs used by your migration clusters.
Binding an EIP to an ECS Binding an EIP to a BMS NAT Gateway Use a public NAT gateway to enable servers to share one or more EIPs to access the Internet.
Parent topic: Using Multiple Public NAT Gateways Together in Performance-Demanding Scenarios
"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
Figure 1 Disabling the Internet Record the NAT gateway name and the EIP bound to the SNAT rule. After the SNAT rule is disabled, the EIP is unbound from the SNAT rule. You need to disable the corresponding EIP and NAT gateway on the EIP list and NAT gateway list.
- To view the inbound and outbound bandwidths of a NAT gateway, perform the following steps: On the Huawei Cloud console, choose Networking > Management & Governance > NAT Gateway. On the displayed page, click the name of the public NAT gateway used for migration.
Step 5: Configure a NAT Gateway Create a NAT gateway. Log in to the console and search for NAT Gateway in the Service List. The Public NAT Gateways page of the network console is displayed. Click Buy Public NAT Gateway and configure the required parameters.
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.
- NAT Gateway On-premises servers can share a NAT gateway to access the Internet or provide services that are accessible from the Internet.
Commercial use 2 Interconnection with NAT Gateway You can record operations associated with NAT Gateway for later query, audit, and backtracking. Commercial use
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
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.
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.