Uncategorized

Introduction to Amazon Virtual Private Cloud (VPC)

First of all, we needed the go into VPC from the Aws console, when we went into this, there was a wizard to go to use, this is where I created my new VPC. As suggested I used the single subnet and left it to the standard subnet as shown below.

After this we went in to have a look at the DNS information and whether the resolution and the hostname were turned on. We were to go in and have a look at the ROoute table, in this we could have a look at the route we had just created as shown below.

While comparing the different routes, we can see the difference in the route we just created, and the main route is that our one we just created goes out into the internet, but the main one is just local address as shown below.

 

Setting up a security group 

This is where we can set inbound and outbound rules for the security groups. Here as pictured below, we can see that we create a security group and set it to a VPC in our case we have premade the pics.

7;Creating a security groupOnce the group has been created, we can add the TCP ports as suggested in the labs, as listed below these are the primary ones that we will use.

8 Creating inbound rules

this is done under the inbound rules tab, there is also the outbound rules tab in which we will delete the default that allows all traffic.

 

Launching an Amazon EC2 instance 

Now we will start to create a new instance, this is done via the Ec2 console in AWS. in this we can launch a new instance, In this, we will choose to use Linux.

 

as seen above we have used our previously created VPC for a network, as we are creating this we leave our storage as the default. 12; creating an instance

Once we go through creating the group we can review and launch the new instance 13; New instance

While we have launch the instance we can choose the keys we use this instance with, for this I created a new key as I didn’t have one previously. Now we can launch instances.

14 New instance turned on

ATTaching an Internet Gateway to your VPC

Now we need to attach a gateway address to our vpc, in this we create an elastic Ip address. In the same Console we have been working in, we can select elastic IP addresses for our VPC’s.

15;New elestic Ip address

Now  we have created a VPC we coun now Change the settings in the Associate assess.s as shown below

16; Creat new instance.PNG

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s