forked from docs/doc-exports
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
3.7 KiB
3.7 KiB
Application Scenarios
Binding an EIP to an ECS
Scenario
You can bind an EIP to an ECS to enable the ECS to access the Internet.
Related Services
Binding an EIP to a NAT Gateway
Scenario
After an EIP is bound to a NAT gateway and SNAT and DNAT rules are added, multiple servers (such as ECSs and BMSs) can use the same EIP to access the Internet and provide services accessible from the Internet.
An SNAT rule allows servers in a specific VPC subnet to use the same EIP to access the Internet.
A DNAT rule enables servers in a VPC to provide services accessible from the Internet.
Related Services
NAT Gateway, cloud server (ECS and BMSs), and VPC
Parent topic: Service Overview