Skip to main content
LARUS
Explore

Technical guide

Bring Your Own IPv4 to Alibaba Cloud: Regions, ASN and Costs

Alibaba Cloud moves a public IPv4 range onto its network in about a month, keeps it on your registry record and advertises it from AS45102. The range has to be /23 or shorter, IPv4 only, and pointed at Alibaba Cloud in the IRR before the ticket goes in.

Lease IPv4 with LARUS

Can you bring your own IPv4 range to Alibaba Cloud?

Yes, in nine regions outside mainland China. Alibaba Cloud's BYOIP accepts a public IPv4 range of /23 or shorter, keeps the range on your registry record, advertises it from Alibaba Cloud's own ASN 45102 and lets you allocate elastic IP addresses (EIPs) from it. Only IPv4 can be migrated, and the whole process — applying, getting the carrier coordination and advertising the range — is documented as roughly one month.

For networks that already reach customers in China, Hong Kong and Southeast Asia, Alibaba Cloud is the cloud to plan around when those customers already hold your addresses in their allowlists. The general mechanics are in what bring your own IP means for a network; this page keeps to what Alibaba Cloud requires, and the requirements below come from Alibaba Cloud's BYOIP documentation.

Which Alibaba Cloud regions and prefix sizes support BYOIP?

BYOIP is not supported in the Chinese mainland. The supported regions are US (Silicon Valley), US (Virginia), China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Japan (Tokyo), Indonesia (Jakarta), Germany (Frankfurt) and UK (London).

The IPv4 range must be /23 or shorter — a /24 is too small and is refused. IPv6 is not supported at all, so an IPv6 plan needs a different destination or a separate service. The range itself must be registered with a Regional Internet Registry.

What proof does Alibaba Cloud require?

A routing object, not a token. You log in to your registry portal and set the origin of the public IPv4 range to Alibaba Cloud's ASN, AS45102, then check with RADB that the object shows that origin. Alibaba Cloud does not accept your own ASN on the object: the range is advertised from AS45102, and the FAQ states plainly that your own ASN cannot be used.

You also keep the route origin authorization valid yourself. Alibaba Cloud's documentation warns that if the ROA becomes invalid, carriers running RPKI route origin validation drop the route and your services can become unreachable, and that Alibaba Cloud reserves the right to stop advertising the range.

How do you move a range to Alibaba Cloud, step by step?

  1. Update the IRR object for the range: set its origin to AS45102 in your RIR portal (ARIN, RIPE or APNIC) and confirm the result in RADB.
  2. Open a ticket with the range, the region you will use it in and confirmation that the origin now reads AS45102. No other information is required at this point.
  3. Wait for Alibaba Cloud's assessment and a representative's contact. A dedicated representative finalises the terms.
  4. After approval, Alibaba Cloud advertises the range from the region you named and adds it to its security protection list.
  5. Allocate specific EIPs from the range in the Elastic IP console, or add the range to an IP address pool; the pool feature needs your account manager to enable it.

Withdrawing a range takes about as long as bringing it in, so plan the move as a month-scale project rather than a change window.

What does Alibaba Cloud BYOIP cost, and what are its limits?

The BYOIP feature itself is free. EIPs allocated from your range use pay-as-you-go billing only, and the configuration fee that normally applies to a public IP is waived. You still pay the public network fee for the peak bandwidth and duration you choose. An EIP can join only an Internet Shared Bandwidth instance that uses the pay-as-you-go (by bandwidth) billing method, and the instance's billing method sets the charge.

An EIP is not a native public IP: traffic to and from an ECS instance passes through NAT, which is worth knowing when a workload's source address matters.

Can you use a leased IPv4 range with Alibaba Cloud BYOIP?

Yes. Alibaba Cloud's process asks for three documents for the range: a registration with a Regional Internet Registry, an IRR object whose origin is AS45102, and a ROA that stays valid for the whole service. When the range is leased, the supplier prepares those three — the registry record, the IRR object and the ROA — so they name the prefix you will announce. The assessment, the ticket and the representative's terms all run against the account that submits them.

LARUS supplies the range under a lease and prepares the routing documents a receiving network asks for — the letter of authorization, the ROA and the IRR object behind the announcement. Keeping the ROA in step with the lease is part of what the supplying team does.

Alibaba Cloud BYOIP questions

Can you keep your own ASN when you bring a range to Alibaba Cloud?

No. Alibaba Cloud advertises the range from AS45102 and its FAQ answers the question directly: your own ASN cannot be used. The IRR object for the range has to show AS45102 as its origin before you open the ticket.

Why is a /24 rejected by Alibaba Cloud BYOIP?

Alibaba Cloud accepts ranges of /23 or shorter for BYOIP; longer prefixes such as /24 are not supported. A customer with a /24 therefore needs a larger range, a different destination, or another way to deliver the addresses.

How long does Alibaba Cloud BYOIP take?

About one month, because Alibaba Cloud coordinates with carriers to apply for and advertise the range. Withdrawing it takes a similar amount of time, and platform staff handle the assessment before a representative finalises terms.

Who keeps the ROA valid on an Alibaba Cloud BYOIP range?

You do. Alibaba Cloud's documentation makes the customer responsible for maintaining the ROA's validity, and warns that carriers validating RPKI will drop the route if it lapses. The provider reserves the right to stop advertising the range in that case.

Does Alibaba Cloud BYOIP work in mainland China?

No. BYOIP is not supported in the Chinese mainland. China (Hong Kong) is on the supported list, alongside the US, Singapore, Malaysia, Japan, Indonesia, Germany and the UK.

Bring your addresses to Alibaba Cloud and keep the services they serve online

Alibaba Cloud's BYOIP path is short on paperwork and long on coordination: one IRR origin, one ticket, one month. The range has to be large enough, IPv4 only, and its ROA has to stay valid after the cloud has finished its part.

Lease IPv4 with LARUS to put a renewable range behind your Alibaba Cloud deployment, with the LOA, ROA and IRR work handled by the team that supplies the addresses.

One origin, one ticket

Carry your IPv4 range into Alibaba Cloud.

Line up the IRR origin, the ROA and the lease with the team that supplies the range.

Lease IPv4 with LARUS
LARUS direct support

Tell us how we can help

Leave your details and our team will join the conversation.