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)

Setting up CloudFront--S3 origin

It is one of the best practices to store your static files (such as text, images, and videos) into S3 and using CloudFront you can distribute the content from S3. In this recipe, we will focus on how to create a CloudFront web distribution for S3 origin.

How to do it...

  1. Create an S3 bucket:
    1. Log in to the AWS Console, select Amazon S3, and choose Create bucket.
S3: Create Bucket
    1. In the Create Bucket dialog, enter the name of the bucket, then in Region, select a Region for your bucket, and click on Create.
S3 Bucket Details
      1. Note that for your bucket to work with CloudFront, the name must conform to the DNS naming requirements. For more information, go to Bucket Restrictions...