Book Image

AWS Networking Cookbook

By : Satyajit Das, Jhalak Modi
Book Image

AWS Networking Cookbook

By: Satyajit Das, Jhalak Modi

Overview of this book

This book starts with practical recipes on the fundamentals of cloud networking and gradually moves on to configuring networks and implementing infrastructure automation. This book then supplies in-depth recipes on networking components like Network Interface, Internet Gateways, DNS, Elastic IP addresses, and VPN CloudHub. Later, this book also delves into designing, implementing, and optimizing static and dynamic routing architectures, multi-region solutions, and highly available connectivity for your enterprise. Finally, this book will teach you to troubleshoot your VPC's network, increasing your VPC's efficiency. By the end of this book, you will have advanced knowledge of AWS networking concepts and technologies and will have mastered implementing infrastructure automation and optimizing your VPC.
Table of Contents (10 chapters)

Working with the weighted routing policy

The weighted routing policy can be applied when there are multiple resources that perform the same function, for example, web servers serving the same site from different web servers. Weighted resource record sets let you associate multiple resources with a single DNS name.

Common use cases of the weighted routing policy are as follows:

  • Load Balancing
  • A/B Testing

How to do it...

  1. Log in to the AWS console, go to Route 53, then click on Hosted zones and select your hosted zone.
Hosted Zone console
  1. Click on Create Record Set.
  2. Create the first record set, provide the record details, and Name as test.internaltest.com.
Provide Primary Record Details
  1. Select Routing Policy as Weighted...