AWS Classroom Series – 20/02/2020

VPC Creation

  • Scenario: Lets create a network to host ntier application with following subnets
    • web
    • app
    • db
    • management
  • Solution:
    • We can create VPC using
      • Console
      • CLI
    • Console
      • Create a VPC with cidr 192.168.0.0/16
      • Create a
        • web subnet with 192.168.0.0/24
        • app subnet with 192.168.1.0/24
        • db subnet with 192.168.2.0/24
        • management subnet with 192.168.3.0/24
      • This vpc doesnt has access to internet, So create and attach internet gateway.
      • Now VPC has internet gateway, and a default route table, but they are not connected, so edit the routes and add route to destination 0.0.0.0/0 to internet gateway.
      • Now create a EC2 machine in web subnet and try to acess this

Leave a ReplyCancel reply

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

Please turn AdBlock off
Floating Social Media Icons by Acurax Wordpress Designers

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%%