Can I use BYOIP (Bring Your Own IP) in different regions?

0

If I have an IPv4 /24 address block, and I use it (transfer it) to AWS, can it apply to different regions simultaneously? A simplified example: one ip address (of the supplied block) used in the Oregon data center (region) and another used in the Virginia data center (region)? I want to have redundant EC2 services in different geographic locations in case of natural disasters, among other reasons. I also want them running simultaneously, not fail-over. I am wondering if I need multiple /24 blocks, one for each data center (region), or if one will suffice.

Thanks

RCF
demandé il y a 2 ans708 vues
2 réponses
1

No, you can't do that with a single /24 block. Each individual /24 is bound to a region. As you suggest, to operate in multiple regions you will need a /24 range per region.

profile pictureAWS
EXPERT
répondu il y a 2 ans
0

For provisioning as well as advertising your BYOIP you must provide a region

aws ec2 advertise-byoip-cidr --cidr address-range --region us-east-1

Refer to the below note from this link

Important

You must specify the AWS Region where the BYOIP range should be provisioned if it differs from your AWS CLI configuration Default region name

Another relevant notes form the same link

Requirements and quotas

  • The most specific IPv4 address range that you can bring is /24.
  • You can bring each address range to one Region at a time.
profile pictureAWS
EXPERT
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions