AWS Classroomnotes 23/Mar/2022

VPC Continued

  • Lets create the following network
  • Create a VPC and then create security group to open ssh and http from any where
  • Now lets create an ec2 instance with public ip in the web1 subnet


  • AWS VPC by default will not be connected to or from internet. If you need an internet access, we need to create an Internet gateway and attach it to our vpc




  • Now lets create a Route in the Default Route table to forward the packets to internet gateway
  • AWS by default enables the Route to connect all subnets/instances within vpc
  • For internet, we need to create a route in the route table



  • Now connect to ec2 using ssh
  • Now check whether ec2 instance can access internet

  • Lets install apache server
sudo yum install httpd -y
sudo systemctl enable httpd
sudo systemctl start httpd

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel 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 Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%