Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

CLOUD COMPUTING (2ICT704)

EXPERIMENT-1

Andi is an IT Administrator of Pixel group Pvt limited is organized want to adopted as IAAS
using AWS cloud solution. Their majority of clients are is e-commerce and OTP service
provider. Initially, they want to setup two virtual windows servers using Amazon EC2 which
can be resizable and provide compute capacity along with a web-scale cloud computing
solution. Andi is planning to create IAAS as below for E-Commerce client.

You are required to provide the solution Andi with proper step by step demonstration.
Consider the following attached scenario and perform the following tasks using AWS EC2
Service:
• Launch a web server with termination protection enabled
• Monitor Your EC2 instance
• Modify the security group that your web server is using to allow HTTP access
• Resize your Amazon EC2 instance to scale
• Explore EC2 limits
• Test termination protection
•Terminate your EC2 instance

Theory:

What is AWS EC2 service?


Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides
secure, resizable compute capacity in the cloud. It is designed to make web-scale
cloud computing easier for developers. Amazon EC2’s simple web service
interface allows the user to obtain and configure capacity with minimal friction. It
provides user with complete control of your computing resources and lets user run
on Amazon’s proven computing environment.

NAYAK APURVA K. | 18162151013 1


CLOUD COMPUTING (2ICT704)

PROCEDURE:

➢ Step-1: Open your console in your AWS account using AWS console button

➢ Step-2: Select services option on top of screen & select EC2

NAYAK APURVA K. | 18162151013 2


CLOUD COMPUTING (2ICT704)

➢ Step-3: select “INSTANCE” on left side bar and launch it.

➢ Step-4: choose an amazon machine to load OS. Here we selected windows server 2019
base.

NAYAK APURVA K. | 18162151013 3


CLOUD COMPUTING (2ICT704)

➢ Step-5: Select t2.micro general-purpose machine with 1GB of RAM.

➢ Step-6: Configure Instance.

NAYAK APURVA K. | 18162151013 4


CLOUD COMPUTING (2ICT704)

➢ Step-7: Paste the script provided in the user data textbox

❖ POWERSHELL SCRIPT FOR IAAS SERVICES:


<powershell>

# Install IIS and Web Management Tools.

Import-Module ServerManager

install-windowsfeature web-server

echo "Welcome to India" > C:\inetpub\wwwroot\index.html

</powershell>

➢ Step-8: Add storage

NAYAK APURVA K. | 18162151013 5


CLOUD COMPUTING (2ICT704)

➢ Step-9: Add tags

➢ Step-10: Configure security groups.

NAYAK APURVA K. | 18162151013 6


CLOUD COMPUTING (2ICT704)

➢ Step-11: Summary

➢ Step-12: Create a private key and download it to a safe and accessible


location

NAYAK APURVA K. | 18162151013 7


CLOUD COMPUTING (2ICT704)

➢ Step-13: EC2 instance is launching

➢ Step-14: EC2 instance is launched successfully

NAYAK APURVA K. | 18162151013 8


CLOUD COMPUTING (2ICT704)

➢ Step-15: Test terminate protection

➢ Step-16: Terminate your instance.

NAYAK APURVA K. | 18162151013 9

You might also like