Docsity

AWS VPC Configuration Guide: Setting Up Virtual Networks, Schemes and Mind Maps of Computer Communication Systems

Toggle sidebar
bg1
AWS HACKATHON
DOCUMENTATION
Batch number : 32 Number of team members:6
Team members:
1. NAME : INDANA RAGHAVENKATA SATYANARAYANA
ROLL NO: 22A81A6186
BRANCH : AIM-B
2. NAME : VERNENI SANKEERTHANA
ROLL NO: 22A81A61C9
BRANCH : AIM-B
3. NAME : YAMANA BALAJI AKSHAY KUMAR
ROLL NO: 22A81A61D0
BRANCH : AIM-B
4. NAME :SOMA GOWTHAMI
ROLL NO: 22A81A61C2
BRANCH : AIM-B
5. NAME : CHALLAGALI VEERABHADRA SWAMY
ROLL NO: 23A85A6109
BRANCH : AIM-B
6. NAME : NADAKUDITI PRUDHEER VENKATA KUMAR
RAJU
ROLL NO: 22A81A61A1
BRANCH : AIM-B
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23

Partial preview of the text

Download AWS VPC Configuration Guide: Setting Up Virtual Networks and more Schemes and Mind Maps Computer Communication Systems in PDF only on Docsity!

AWS HACKATHON

DOCUMENTATION

Batch number : 32 Number of team members: 6

Team members:

1. NAME : INDANA RAGHAVENKATA SATYANARAYANA

ROLL NO: 22A81A

BRANCH : AIM-B

2. NAME : VERNENI SANKEERTHANA

ROLL NO: 22A81A61C

BRANCH : AIM-B

3. NAME : YAMANA BALAJI AKSHAY KUMAR

ROLL NO: 22A81A61D

BRANCH : AIM-B

4. NAME :SOMA GOWTHAMI

ROLL NO: 22A81A61C

BRANCH : AIM-B

5. NAME : CHALLAGALI VEERABHADRA SWAMY

ROLL NO: 23A85A

BRANCH : AIM-B

6. NAME : NADAKUDITI PRUDHEER VENKATA KUMAR

RAJU

ROLL NO: 22A81A61A

BRANCH : AIM-B

What is AWS? Amazon Web Services is a subsidiary of Amazon that provides on-demand cloud computing platforms and APIs to individuals, companies, and governments, on a metered, pay-as-you-go basis. Clients will often use this in combination with autoscaling (a process that allows a client to use more computing in times of high application usage, and then scale down to reduce costs when there is less traffic). These cloud computing web services provide various services related to networking, compute, storage, middleware, IoT and other processing capacity, as well as software tools via AWS server farms. This frees clients from managing, scaling, and patching hardware and operating systems. One of the foundational services is Amazon Elastic Compute Cloud (EC2), which allows users to have at their disposal a virtual cluster of computers, with extremely high availability, which can be interacted with over the internet via REST APIs, a CLI or the AWS console. AWS's virtual computers emulate most of the attributes of a real computer, including hardware central processing units (CPUs) and graphics processing units (GPUs) for processing; local/RAM memory; hard-disk/SSD storage; a choice of operating systems; networking; and pre-loaded application software such as web servers, databases, and customer relationship management (CRM). LEVEL 1 :

Step 1: Creating a VPC

  • Navigate to VPC
  • Click on create VPC
  • Click on only VPC and enter a name to the vpc(given My- VPC(M))
  • In ipv4 CIDR enter 10.0.0.0/
  • Select the newly created VPC in VPC ID
  • Create subnet with a name and subnet CIDR is 10.0.1.0/ and give other details as given
  • Click add new subnet
  • Enter name for the new subnet and give subnet CIDR 10.0.2.0/24 and other blocks as follows
  • Click on create subnet
  • Wait till subnets status get available,then select any one of the subnet to make it as public subnet,here we are taking 10.0.1.0/24-PUB as public subnet
  • Select a subnet and click on actions ,in that click on edit subnet settings
  • In that tick the enable auto-assign public ipv4 address and click on save
  • Click on create route table
  • Enter name for the route table(given RT-1)
  • Select VPC which we have created in the step 1
  • Click on create route table
  • Click on edit subnet association
  • Select the Public subnet and select save association
  • Now go to the internet gateway and select the internet gateway which you have created and click on actions and click on attach to vpc, then add another gateway source from anywhere and destination to internet gateway which you have created.

Step 5: Creating NAT gateway

  • Now create a route table to connect NAT gateway to private subnet
  • Navigate to route tables
  • Click on create route table
  • Enter name for the route table
  • Select VPC which you have created
  • Click on create route table
  • Click on subnet association tab and click on edit subnet association
  • Select the private subnet which we have created(10.0.2.0/24- PVT)
  • And click on save association

LEVEL 2:

Creating IAM role:

  • Navigate to IAM
  • Click on roles
  • Click on create role
  • Select AWS service
  • In Use case,select EC
  • Click on next
  • Search for amazon s3-fullaccess and select it.
  • Click on next Enter :
  • Role name:S3-fullaccess
  • Click on create role.
  • Role created successfully. Creating Launch templates
  • Open EC2. Navigate to launch templates.
  • Enter a name for the key pair,then a file will be

downloaded(temp)

  • In Network settings,
  • Click on select existing security group. Select the security

group which we have given to the webserver i.e.lsec.

  • In advanced details
  • In IAM instance profile add AMI role,which we have

created(S3-fullaccess)

  • In user data, copy paste the bash code file. #!/bin/bash sudo su yum update - y

yum install httpd - y cd /var/www/html echo "This is a webserver" > index.html service httpd start chkconfig httpd on

  • Click on create launch template. Creating Auto scaling group.
  • Navigate to Auto scaling group.create auto scaling groups.
  • These include few steps:
  • Step 1:choose launch template
  • Name: My-ASG
  • In launch template, select launch template(My-template)
  • Click on drop down and click on create.

Enter Basic cinfigurations

  • Name:My-ELB
  • Scheme:Internet-facing
  • In Network mapping,
  • Select My-vpc.
  • select all public subnet
  • In security groups, select lsec.
  • In health check,change healthy threshold as 2.
  • In attributes,change timeout as 10.