rob.m
rob.m

Reputation: 10571

AWS A record static ip or balancer?

With AWS I set up a static IP address and load Balancer, which of the two do we set with A record on the dns panel?

At the moment I have set it with the balancer, but I'm confused on the use of static IP and balancer. Is balancer balancing the static IP? And should we then use balancing as I'm doing or should I set the A record with the Static IP?

Upvotes: 0

Views: 325

Answers (1)

marcincuber
marcincuber

Reputation: 3791

You should be using load balancer for your route 53 record which will be configured as aliased A record. Any instance behind load balancer shouldn’t need public or elastic ip anyway. The reason for it is that all instances should be places inside private subnets which are routing out through NAT gateway.

Also, just to answer your question I may have misread.

A record is for Elastic Ip. Aliased A record is used for load balancers.

Upvotes: 1

Related Questions