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

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube