Assigning Static IP Address to AWS Load Balancer

后端 未结 5 1002
悲哀的现实
悲哀的现实 2020-12-24 01:08

How can I assign a static IP address to a ELB. Seems like I cannot.

Some articles online asks to create a Route 53 record but this requires changing CNAME of domain

5条回答
  •  心在旅途
    2020-12-24 01:40

    I found setting up AWS Global Accelerator very straight forward and simple. It created 2 static IP Addresses and a static DNS pointing to my Application load balancer.

    Configuring Global Accelerator

    1. Set listeners as TCP port 80, 443

    2. Select your load balancer endpoint (AWS Global Accelerator Configuration)

    3. Add cname record for your dns pointing to the static dns it created (mywebsite.com --> globalacceleratorDNS.com). If any client needs to whitelist, give them the 2 static URLs it created

    Pricing is $18 per month + a few pennies per GB of data transfer. I'm pretty sure its cheaper than the NLB, Nat Gateway, Elastic IP setup.

    https://docs.aws.amazon.com/global-accelerator/latest/dg/about-accelerators.html

提交回复
热议问题