Skip to content

BGP Routing on AWS

0

i'm considering migrating to AWS, but wondering if i can bring my routing setup with me.

i have my own ASN and my own IPv4 and IPv6 ranges. with my current cloud provider i run BGP speakers that announce routes to my cloud provider: some prefixes for global routing over the Internet which get upstreamed to its peers (for my global anycast network), and others that are only privately routable for my machines (like my private ipv6 container network: the load balancer redirects packets to a private ipv6 address, the route to which i advertise locally within the datacenter with BGP.).

i saw AWS has BYO-ASN and BYO-IP, but it seems like they only allow you to use their console (etc) to announce routes, and not to run your own BGP speakers. can someone confirm or negate this? and if so, might i be able to get permission to run this setup?

2 Answers
2

I believe there isn't any public offering for you to announce routes through AWS. The BYOIP and BYOASN offerings you were looking at are what AWS supports, and as you said, they are about delegating the duties to AWS's network rather than your BGP speakers announcing routes through AWS. You can also have AWS anycast your BYOIPs with Global Accelerator: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html but again, not by announcing them yourself.

You can always try talking about the possibility of custom solutions with AWS's sales representatives or, if you have Enterprise Support, with your account team, if there's particular value in that kind of setup, but without presuming to speak for them, this sounds to me quite contrary to AWS's general approach to managing public network connectivity, where reliability, scalability, robustness, and security heavily rely on the network being standardised and run in as fully automated manner as possible.

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

1

Amazon Web Services (AWS) offers AWS Transit Gateway and AWS Direct Connect to support your Border Gateway Protocol (BGP) routing protocol requirements.

The diagram in below URL should give fair idea on how to plan your network.

https://aws.amazon.com/what-is/border-gateway-protocol/

Refer to BGP Scope communities here - https://docs.aws.amazon.com/directconnect/latest/UserGuide/routing-and-bgp.html

AWS

answered 2 years ago

EXPERT

reviewed 2 years ago

  • the links you shared only discuss using BGP to connect your AWS environment to some other environment you own (on premises etc), nothing about using BGP within your AWS environment or between your AWS environment and the public internet.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.