AWS Classroomnotes 05/Feb/2023

Create a vpc for ntier

  • Basic ntier architecture with high availability and fault tolerance
    Preview
  • In AWS we have Regions and Zones
    • subnets are scoped to Zones
  • The AWS VPC with subnets
    Preview
    Preview
  • In this vpc we have a default route table
    Preview
  • All the internal communications with in vpc is allowed
    Preview
  • With every vpc created we get a default
    • security group
      Preview
    • network acl
      Preview
  • Lets create an ec2 instance in web1 subnet
    Preview
    Preview
  • To connect to this ec2 instance from outside lets use
ssh -i <path to pem> ubuntu@<public-ip>

Preview
* This will not work as vpc doesnot have internet connectivity.
Preview
* Lets create internet gateway and attach this to vpc
Preview
Preview
Preview
Preview
Preview
* Now enable route between route table and internet gateway.
* Navigate to route table then routes
Preview
Preview
Preview
Preview
* Lets try to connect ssh from laptop again
Preview
Preview
Preview
* Lets look at network interface which is called as elastic network interface by aws
Preview
* Security Group is attached to network interface which allows only the packets with entries written in security group
Preview

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner