Route 53 IP-Based Routing

0

I am trying to use Route 53 IP-Based Routing to Route traffic from 192.168.8.0/24 to Load Balancer while every other traffic go to the default Load Balancer.

pensec
asked 7 months ago274 views
2 Answers
0
Accepted Answer

What is your problem? If it is related to how to create IP based routing record in Route 53, please refer following. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy-ipbased.html https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-creating.html

AWS
S-S
answered 7 months ago
  • Yes, it is how to create IP based Routing record in Route 53, however my use cases are: Traffic flowing from CIDR block 192.168.8.0/24 goto Load balancer Endpoint A, While every other traffic flowing from any ip address goto Load Balancer Endpoint B.

  • I forgot the limitation "You cannot use IP-based routing policy for records in a private hosted zone.". Then where is the network 192.168.8.0/24? In on-premises DC (external from AWS) or AWS VPC? If on-premises DC, you can consider to utilize DNS related functions in on-premises resources. If AWS VPC and it is different from other clients' VPC, you can use different DNS hostzone.

  • If you can and "Load Balancer" means ALB, then, you can use IP based routing rule of ALB (but, you need to use same ALB for all client)

  • I just use the 192.168.8.0/24 as example, that is not the main IP to be used, The main IP is a Public CIDR OF from set of users within an organisation to be routed to Endpoint A, while any other traffic from around the World to be routed to Endpoint B.

  • Then, you would be better to refer following (same with what I said above). You would be able to validate the process by your internal AWS account. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy-ipbased.html https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-creating.html

0

Where is 192.168.8.0 located?

profile picture
EXPERT
answered 7 months ago
  • 192.168.8.0/24 is the CIDR of the incoming from the end user, I want the traffic from this IP range to hit a v2 deployment, while every other incoming traffic hitting v1 deployment

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.

Guidelines for Answering Questions