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 CloudWatch monitoring

Think of a scenario where you typically expect 5,000 concurrent sessions to your website at a specific time in a day. Immediately you get to know that the website becomes unresponsive and you find that the traffic has already exceeded twice the amount (10,000). Here you need a solution which monitors your system (Amazon CloudWatch) and triggers an alarm (Amazon SNS) if the current number of concurrent sessions exceeds twice that amount. Immediately, your infrastructure should be in a state to handle the heavy traffic to support good customers.

CloudWatch has the following features:

  • It is a monitoring service
  • It watches the resources and application you run on AWS
  • It collects, processes raw data, and shows real-time metrics
  • It collects and monitors log files
  • It sets alarms
  • It reacts to changes in your environment

EC2 by default sends metric data...