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)

Geographic restrictions with Amazon CloudFront

CloudFront has added a geo-restriction feature to make it easier to restrict access to your content based on the geographic location of your viewers.

How to do it...

  1. Log in to the AWS Console, select CloudFront Distributions, then select your distribution, and go to the Restrictions tab.
CloudFront Console
  1. Click on Edit.
CloudFront Restrictions Setup
Once you enable the feature, you can select whether you want to configure a whitelist or blacklist of countries for your distribution.
  1. Select one or more countries from the list in the left-side box, and move those countries to the right-side box and then click on Yes, Edit button.
Enable CloudFront Restrictions
  1. That&apos...