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)

Errors while connecting an EC2 instance in a VPC

There can be multiple reasons for getting such an error; a few of them are mentioned following:

  • EC2 created in the wrong subnet group or private subnet
  • Instance doesn't have a public IP or you are trying to connect with a private IP
  • SSH/RDP port is not opened in the security group or the security group is not attached to the instance

Getting ready

You should have access to EC2 and VPC to view and modify the resources.

How to do it...

The following steps are to be followed:

  1. Start by checking the IP of the instance...