Help Center> Elastic IP > Service Overview> Application Scenarios
Updated on 2024-04-08 GMT+08:00

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

ECS, BMS, or VPC
Figure 1 Binding an EIP to a server

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

Figure 2 EIP used by a NAT gateway

Binding an EIP to a Load Balancer

Scenario

After you attach an EIP to a load balancer, the load balancer can distribute requests from the Internet to backend servers.

Related Services

ELB, ECS, and VPC

Figure 3 EIP used by a load balancer