All Products
Search
Document Center

Elastic IP Address:Bring Your Own IP (BYOIP)

Last Updated:Mar 24, 2026

Bring Your Own IP (BYOIP) lets you migrate your public IPv4 address ranges to Alibaba Cloud. Alibaba Cloud advertises your prefix from its network using AS45102, routing internet traffic to your chosen region. You keep ownership throughout.

After advertisement begins, allocate EIPs from your range and associate them with cloud resources like any other EIP.

BYOIP requires coordination with your carrier and typically takes about one month. Withdrawal follows the same timeframe.

Limits

  • Not available in Chinese mainland regions. Supported regions:

    Area

    Supported Regions

    North America

    US (Silicon Valley), US (Virginia)

    Asia Pacific

    China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Japan (Tokyo), Indonesia (Jakarta)

    Europe

    Germany (Frankfurt), UK (London)

  • IPv4 only — IPv6 is not supported.

  • Minimum prefix size is /23 (512 addresses). More specific prefixes (e.g., /24) aren't supported.

  • Custom ASN not supported — all prefixes are advertised under AS45102.

  • An Alibaba Cloud account on the international site (alibabacloud.com) is required.

  • Your IPv4 range must be registered with a Regional Internet Registry (ARIN, RIPE, or APNIC), and you need RIR account access to create or update route objects.

Step 1: Update routing information

Update your Internet Routing Registry (IRR) records so Alibaba Cloud can advertise your prefix.

  1. Sign in to your RIR's portal and create or update a route object for your public IPv4 prefix. Set origin to AS45102.

  2. Verify on RADB that origin shows AS45102.

Step 2: Submit a BYOIP request

Submit a ticket with:

  • Your public IPv4 prefix (e.g., 203.0.113.0/23).

  • Target region where you want the prefix advertised.

  • Confirmation that you updated the origin ASN to AS45102.

  • Whether you need BGP (Multi-ISP) Pro advertisement.

Alibaba Cloud reserves the right to investigate the IP address range and reject any ranges with a history of malicious activity or a poor reputation.

After approval, Alibaba Cloud advertises your prefix and adds it to the security protection list. A representative will contact you for final confirmation.

Step 3: Allocate EIPs

After advertisement completes, allocate EIPs from your address range using either method:

Specific IP

  1. In the EIP console, click Apply for Specific EIP.

  2. Enter an IP address from your BYOIP range and click OK.

IP address pool

IP address pools are not enabled by default. To use this feature, contact your account manager to request access.
  1. Create an IP address pool and add your BYOIP range as a CIDR block.

  2. On the EIP buy page, set Billing Method to Pay-As-You-Go, select the matching region, and choose your pool under IP Address Pool.

  3. Complete payment.

After allocation, associate the EIP with a cloud resource to start using it.

Billing

BYOIP itself is free of charge. EIPs created from BYOIP address ranges support only the pay-as-you-go billing method, billed by fixed bandwidth.

Item

Fee

BYOIP migration

Free

EIP configuration fee

Waived — you own the addresses

Internet data transfer fee (bandwidth fee)

Charged based on the maximum bandwidth value you specify and the billing duration. See Pay-as-you-go for pricing details.

EIPs from BYOIP ranges can be added to an Internet Shared Bandwidth instance, but only a pay-as-you-go (billed by bandwidth) instance. Billing follows the Internet Shared Bandwidth billing rules.

FAQ

Can I use my own ASN?

No. Change the origin ASN to AS45102. Alibaba Cloud advertises the prefix on your behalf.

Is BGP (Multi-ISP) Pro advertisement supported?

Yes. Specify this when submitting your BYOIP ticket.

Is an EIP a native public IP address?

No. A native public IP address is a public IP address assigned directly to a device by an Internet Service Provider (ISP) without going through Network Address Translation (NAT) or a proxy server. The device can use this address to communicate directly with the internet, but this also exposes it to security risks.

An EIP is a virtualized IP address that belongs to Alibaba Cloud. When a resource such as an Elastic Compute Service (ECS) instance uses an EIP to access the internet, traffic passes through NAT. Because of this, an EIP is not a native public IP address.

Can I withdraw my prefix later?

Yes. Submit a ticket to withdraw. The process takes about one month, same as the initial migration.

Glossary

Term

Definition

ASN

Autonomous System Number — a unique identifier for a network's routing policy. Alibaba Cloud uses AS45102.

RIR

Regional Internet Registry — manages IP address allocation in a geographic region (ARIN, RIPE, APNIC).

IRR

Internet Routing Registry — a database of routing policies used to configure and validate routes.

RADB

A widely used public Internet Routing Registry for querying route objects.

ROA

Route Origin Authorization — a cryptographic statement authorizing an ASN to originate a prefix.