CCEX2
CCEX2
Roll No. : 55
Experiment No.: 2
Title of the Experiment: To study and Implement Infrastructure as a Service using AWS EC2 by
creating a Windows Virtual Machine through RDP protocol and change
volume of attached storage.
Date of Performance:
Date of Submission:
Performance 5
Understanding 5
Total 20
Evaluation
Performance Indicator Exceed Expectations (EE) Meet Expectations (ME) Below Expectations (BE)
Checked by
Name of Faculty :
Signature :
Date:
Experiment No. 2
Aim: To study and Implement Infrastructure as a Service using AWS EC2 by creating a Windows
Virtual Machine through RDP protocol and change volume of attached storage.
Theory:
An instance is a virtual server in the AWS Cloud. With Amazon EC2, you can set up and configure the
operating system and applications that run on your instance.
When you launch your instance, you secure it by specifying a key pair (to prove your identity) and a security
group (which acts as a virtual firewall to control ingoing and outgoing traffic). When you connect to your
instance, you must provide the private key of the key pair that you specified when you launched your instance.
Steps:
To launch an instance
1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
2. From the EC2 console dashboard, in the Launch instance box, choose Launch
instance.
3. Under Name and tags, for Name, enter a descriptive name for your instance.
4. Under Application and OS Images (Amazon Machine Image), do the following:
a. Choose Quick Start, and then choose Windows. This is the operating system
(OS) for your instance.
b. From Amazon Machine Image (AMI), select the AMI for Windows Server
2016 Base or later.. Notice that these AMIs are marked Free Tier eligible.
An Amazon Machine Image (AMI) is a basic configuration that serves as a
template for your instance.
Note
AL2023 is the successor to Amazon Linux 2. For more information,
see Launching AL2023 using the Amazon EC2 console.
Under Instance type, from the Instance type list, you can select the
hardware configuration for your instance. Choose the t2.micro instance type,
which is selected by default. The t2.micro instance type is eligible for the Free
Tier. In Regions where t2.micro is unavailable, you can use a t3.micro instance
under the Free Tier. For more information, see AWS Free Tier.
5. Under Key pair (login), for Key pair name, choose the key pair that you created when
getting set up. Note that you must select an RSA key. ED25519 keys are not supported for
Windows instances.
Warning
Do not choose Proceed without a key pair (Not recommended). If you launch your
instance without a key pair, then you can't connect to it.
6. Next to Network settings, choose Edit. For Security group name, you'll see that the
wizard created and selected a security group for you. You can use this security group, or
alternatively you can select the security group that you created when getting set up using
the following steps:
a. Choose Select existing security group.
b. From Common security groups, choose your security group from the list of
existing security groups.
7. Keep the default selections for the other configuration settings for your instance.
8. Review a summary of your instance configuration in the Summary panel, and when
you're ready, choose Launch instance.
9. A confirmation page lets you know that your instance is launching. Choose View all
instances to close the confirmation page and return to the console.
10. On the Instances screen, you can view the status of the launch. It takes a short time for an
instance to launch. When you launch an instance, its initial state is pending. After the
instance starts, its state changes to running and it receives a public DNS name. If the
Public IPv4 DNS column is hidden, choose the settings icon ( ) in the top-right corner,
toggle on Public IPv4 DNS, and choose Confirm.
11. It can take a few minutes for the instance to be ready for you to connect to it. Check that
your instance has passed its status checks; you can view this information in the Status
check column.
CSL605: SBL
CC Lab