Lab 4 - VPC(Virtual private cloud)

let’s see how to create VPC network with subnets and demonstrating the communication via the gateway for a EC machine within Public subnet created.

๐—–๐—ฟ๐—ฒ๐—ฎ๐˜๐—ถ๐—ป๐—ด ๐—ฉ๐—ฃ๐—–

Search for VPC in the search bar and click “Create VPC”

Configure the VPC settings as per the provided screenshot.

Then click create VPC.

Successfully created the VPC…..

๐—–๐—ฟ๐—ฒ๐—ฎ๐˜๐—ถ๐—ป๐—ด ๐—ฆ๐˜‚๐—ฏ๐—ป๐—ฒ๐˜๐˜€

Click create subnet option

And provide subnet name, availability zone and IPv4 and click create subnet.

Likewise, create 4 subnets (3 private and 1 public) by selecting “Add new subnet” option.

Created the required subnets successfully.

๐—–๐—ฟ๐—ฒ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ผ๐—ณ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐—ป๐—ฒ๐˜ ๐—š๐—ฎ๐˜๐—ฒ๐˜„๐—ฎ๐˜†

Click Create Internet gateway.

Follow the below gateway settings and select create.

And after creating, attach it to the created VPC network.

Create the route table

After creating, under the routes tab, click “edit routes”. And add the destination and target for the created internet gateway. Click “Save changes”.

๐—Ÿ๐—ฎ๐˜‚๐—ป๐—ฐ๐—ต๐—ถ๐—ป๐—ด ๐—ฎ๐—ป ๐—˜๐—–2 ๐—ถ๐—ป๐˜€๐˜๐—ฎ๐—ป๐—ฐ๐—ฒ ๐—ถ๐—ป๐˜๐—ผ ๐—ฉ๐—ฃ๐—–

Select “Launch instance” option and provide the name, AMI

Under network settings, select edit option and configure accordingly.

VPC → select the one we created

Subnet → select the created public subnet

And click “Launch instance”.




















Comments

Popular posts from this blog

Create an EC2 instance and configure a snapshot and demo the use of it