All Products
Search
Document Center

Elastic IP Address:What is an Elastic IP Address?

Last Updated:Mar 06, 2026

An Elastic IP Address (EIP) is a public IPv4 address you purchase and manage on its own. Associate an EIP with a cloud resource to give it internet access, disassociate it at any time, and move it between resources as your needs change.

You can use EIPs with the following cloud resources in Virtual Private Clouds (VPCs):

  • Elastic Compute Service (ECS) instances

  • Internet NAT gateways

  • Server Load Balancer (SLB) instances

  • Elastic network interfaces (ENIs)

  • High-availability virtual IP addresses (HaVips)

Use cases

Internet access for ECS instances

Associate an EIP with an ECS instance or ENI to give it internet access.

image

Centralized internet gateway

Associate an EIP with an internet NAT gateway or SLB instance to route all your ingress and egress traffic through a single point.

image

High-availability public service

Associate an EIP with an HaVip to build a public-facing active-standby service.

image

Optimized Chinese mainland access

Use a BGP (Multi-ISP) Pro EIP with dedicated carrier lines to reduce latency for users in the Chinese mainland.

image

Benefits

  • Flexible management: Associate and disassociate an EIP at any time to handle failover and traffic changes.

  • On-demand scaling: Adjust bandwidth instantly to match demand and handle spikes.

  • Cost-effective: Choose pay-by-bandwidth or pay-by-data-transfer metering. You can also associate a pay-as-you-go EIP with an Internet Shared Bandwidth instance to share bandwidth and cut costs.

  • Secure by default: Every EIP includes basic DDoS protection. Pick an Anti-DDoS (Enhanced) EIP if you need stronger security.

EIP vs. static public IP address

VPC resources use public IPv4 addresses for internet access. There are two types: static public IP addresses and EIPs.

Static public IP address

EIP

Assignment

Assigned when the resource is created

Purchased and managed on its own

Lifecycle

Tied to the resource — released when the resource is deleted.

Independent — you can create, hold, and reassign it freely.

Flexibility

Can't be moved between resources

Can be associated and disassociated at any time

Internet-facing ALB instances, NLB instances, and internet NAT gateways use associated EIPs for internet access.
You can convert the static public IP address of an internet-facing ECS or CLB instance into an EIP.

Quick start

Not sure which billing method to pick? Start with pay-by-data-transfer for the most flexibility — you only pay for what you use.
  1. Go to the Elastic IP Addresses console and click Create EIP.

  2. Find your new EIP on the Elastic IP Addresses page and click Associate with Resource in the Actions column.