March 30, 2024, 4:39 p.m. | Saloni Singh

DEV Community dev.to

Exploring AWS !!


Day 21:


VPC Hands-on: Part 3


Task:



  1. Create 2 EC2 instances in any public subnet of any VPC and name them Master and Client

  2. Using security groups, make sure that Client instance can only be accessed (SSH) through the Master instance


Solution to the task:



  1. Create a VPC




  1. Create a public subnet




  1. Create Internet Gateway




  1. Attach VPC to Internet Gateway




  1. Add routes in Route Table




  1. Edit the subnet association under Route Tables, and add the public subnet …

aws can client cloud cloudcomputing ec2 instance master name public security solution ssh subnet task vpc

CyberSOC Technical Lead

@ Integrity360 | Sandyford, Dublin, Ireland

Cyber Security Strategy Consultant

@ Capco | New York City

Cyber Security Senior Consultant

@ Capco | Chicago, IL

Sr. Product Manager

@ MixMode | Remote, US

Security Compliance Strategist

@ Grab | Petaling Jaya, Malaysia

Cloud Security Architect, Lead

@ Booz Allen Hamilton | USA, VA, McLean (1500 Tysons McLean Dr)