Skip to main content
LARUS
Explore

Technical guide

Bring Your Own IP on AWS: Sizes, Proof and Steps for a Leased Range

A rented IPv4 range can move to AWS without renumbering. Here is what AWS checks, who writes each record, how long each step takes and what it costs.

Lease IPv4 with LARUS

Can you bring a leased IPv4 range to AWS?

Yes. AWS BYOIP takes part or all of a publicly routable IPv4 range, leaves it registered where it already is, and advertises it from the AWS Region you choose. Before it advertises, AWS checks the registry and proof that the range's controller authorises Amazon.

With an RDAP registry the holder publishes a certificate in the range's RDAP record; with any registry the range is verified through IPAM with a DNS TXT record. In both cases the holder creates the ROA, and the tenant runs the onboarding from its own account. The general mechanics are in what bring your own IP means for a network. Everything below comes from Bring your own IP addresses to Amazon EC2, Prepare for BYOIP, Bring your IP addresses to IPAM and Verify domain control.

What address sizes does AWS BYOIP accept?

The most specific IPv4 range AWS accepts is a /24; for IPv6 it is a /48 for publicly advertisable ranges and /60 otherwise. You can bring part of a larger block, and AWS lets you use every address in an IPv4 range it takes, including the first and last.

One range goes to one AWS Region at a time. You can bring a total of five BYOIP IPv4 and IPv6 address ranges per AWS Region to your AWS account, and that quota is raised only through AWS Support. A block can be split across Regions from one registry object.

Whose name must the range be registered under?

AWS's certificate path covers ranges registered with a registry that supports RDAP — AWS names ARIN, RIPE NCC and APNIC — and the registrant must be a business or institutional entity, not an individual person. The IPAM path verifies a DNS TXT record instead; AWS says it works "regardless of whether your Internet Registry supports RDAP" and can bring addresses "registered with any internet registry (such as JPNIC, LACNIC, and AFRINIC)". Neither path removes the ROA requirement.

Two further conditions come from AWS's own checks. The addresses must have a clean history: AWS may investigate reputation and reserves the right to reject a range containing addresses with a poor reputation or a malicious-use history. Legacy space, allocated before the RIR system, still needs a ROA; legacy status does not remove the routing authorization requirement.

What proof does AWS require, and who provides it?

On the certificate path, two records are written by two parties. The holder puts a self-signed X.509 certificate into the range's RDAP record on one long line, in the place each registry uses: the Public Comments section of the Network Information object at ARIN — not the organisation's comments — a new descr field at RIPE NCC, and the remarks field at APNIC.

The holder also creates a ROA authorising Amazon's ASNs — 16509 and 14618 — plus the ASNs already authorised to advertise the range. GovCloud uses 8987 alone; the AWS European Sovereign Cloud uses 16509 and 214101. The ROA's maximum length depends on the proof path: on the certificate path AWS says you "must set the maximum length to the size of the CIDR that you are bringing in", while for IPAM it says "for IPv4 CIDRs you must set the maximum length of an IP address prefix to /24". ROA visibility takes up to 24 hours.

The tenant composes the message in the documented shape — 1 | aws | account | cidr | YYYYMMDD | SHA256 | RSAPSS — signs it with the private key behind the certificate, and provisions from its own account.

On the IPAM path, the tenant creates a verification token in the IPAM console — a name, a value and an ID, reusable for several ranges for 72 hours. The TXT record goes in the reverse DNS zone for the range or its parent: the record name is the token name, the type TXT and the value the token value, so 203.0.113.0/24 answers at token-name.113.0.203.in-addr.arpa. A prefix off an octet boundary needs one record per aligned subnet — a /22 needs four /24 records. The reverse zone is delegated from the registry to the DNS provider's name servers; whoever runs it creates the record — on a leased range, usually the holder. The tenant then creates the IPAM pool with the CIDR and the token, and provisioning follows. The route origin authorization is what makes the announcement validate for the rest of the internet.

How long does each step take?

Provisioning usually completes within two hours, but a publicly advertisable range can take up to one week. The ROA takes up to 24 hours to reach Amazon. Deprovisioning takes up to a day.

Advertising and withdrawing are separate calls, each rate-limited to once every 10 seconds.

How is AWS BYOIP priced against AWS's own public IPv4?

AWS does not charge the public IPv4 address fee for BYOIP addresses. Addresses AWS supplies cost $0.005 per hour in use or idle, so a /24 of AWS-supplied addresses at that rate runs to roughly $934 a month for 256 addresses. The same /24 through BYOIP carries no per-address charge from AWS.

What remains is the ordinary cost of the resources using the addresses, and the lease if the range is rented.

How do you withdraw the range at the end of a lease?

In this order: release every Elastic IP address allocated from the pool, disassociate any IPv6 CIDR block, withdraw the range, then deprovision it. A part of a range cannot be deprovisioned: keeping a smaller range means deprovisioning and provisioning the smaller one.

Two rules matter when the destination changes. The ASN cannot be changed after advertisement: withdraw the CIDR and advertise it again. And no manual edits belong in RADb or any other IRR, because AWS updates RADb itself and a manual change naming the BYOIP ASN makes provisioning fail.

Can a leased range move to AWS without renumbering?

Yes. Addresses customers already allowlisted, the reverse DNS they resolve and the reputation the range has built stay attached to the same prefixes while the workload moves. Renumbering touches firewall rules, customer configurations and monitoring.

On the LARUS side, Continuity IPv4 leasing supplies the range with LOA support and coordinates routing validity and RPKI/ROA so the address plan works in production, with rDNS and reputation handling from Production upward. Enterprise adds daily registry follow-up, priority handling and RPKI coverage through the contract term. Only Continuity Critical includes Guaranteed Renewal from LARUS, which keeps the prefixes instead of forcing another move.

The same onboarding is documented for Google Cloud; that cloud checks the records in its own way, so read the target before the range is ordered.

AWS BYOIP questions

What is the smallest IPv4 range AWS BYOIP accepts?

A /24. AWS names it as the most specific IPv4 range it will take, so a /25 or a single address cannot be onboarded on its own; the smallest range AWS will accept is a /24.

Which registries can a range come from?

The certificate path takes ranges registered with an RDAP registry: ARIN, RIPE NCC or APNIC. The IPAM path verifies a DNS TXT record and, in AWS's words, works regardless of whether the registry supports RDAP, including ranges registered with JPNIC, LACNIC or AFRINIC. The registrant must be a business or institutional entity.

Which ASNs must the ROA authorise?

16509 and 14618, plus every ASN already authorised to advertise the range. GovCloud authorises 8987 only, and the AWS European Sovereign Cloud uses 16509 and 214101. On the certificate path the maximum length equals the CIDR being brought; for IPAM it is /24 for every IPv4 range.

How long does AWS BYOIP take end to end?

Plan for up to 24 hours for ROA visibility and up to a week for a publicly advertisable range to finish provisioning, although most provisioning completes within two hours. Keep the old path live until the advertisement passes your own checks.

Does AWS charge for BYOIP addresses?

Not the public IPv4 address fee. AWS charges $0.005 per hour for the public IPv4 addresses it supplies, in use or idle, and does not apply that charge to BYOIP addresses. Resources and data transfer around the range are billed as usual.

Can you keep part of the range when you leave AWS?

No. Deprovisioning works on the whole range, so a smaller range means deprovisioning all of it and provisioning the more specific range again. Release the Elastic IP addresses and detach the IPv6 CIDR block first, then withdraw, then deprovision.

Put a range you can carry on AWS

AWS BYOIP is a registry-and-records exercise: a /24 or larger, a clean history, proof through a certificate or a DNS TXT record, a ROA for 16509 and 14618 at the maximum length the proof path requires, and onboarding from the tenant's own account. Get those right and the range keeps serving.

Lease IPv4 with LARUS when the next move should not cost a renumbering, with registry follow-up, RPKI/ROA work and the renewal path coordinated by the operator that supplies the range.

A range AWS will keep announcing

Move the workload, keep the addresses.

Line up the certificate, 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.