Question: AWS EC 2 Assignment 2 Objective The objective of this assignment is to get hands - on experience with launching, managing, and terminating EC 2
AWS EC Assignment
Objective
The objective of this assignment is to get handson
experience with launching, managing, and terminating EC instances using both
Amazon Linux AMI and Windows AMI. Naming instances and keys work around your
name and your student ID
Prerequisites
AWS
account
Basic
knowledge of AWS Management Console
SSH
client for connecting to Linux instances
Remote
Desktop Client for connecting to Windows instances
Part : Launch an Amazon Linux EC Instance
Step : Launch Instance
Log
in to AWS Management Console.
Navigate
to EC Dashboard.
Launch
Instance:
Click
on the "Launch Instance" button.
Choose
an Amazon Machine Image AMI: Select the Amazon Linux AMI.
Choose
an Instance Type: Select tmicro eligible for the free tier
Configure
Instance Details: Use the default settings.
Add
Storage: Use the default settings.
Add
Tags: Add a Name tag with the value "LinuxInstance".
Configure
Security Group: Create a new security group with the following rules:
Allow
SSH port from your IP address.
Review
and Launch: Review your settings and click "Launch". Create a
new key pair, download the pem file, and then click "Launch
Instances".
Step : Connect to the Instance
Locate
Your Instance: Go to the EC dashboard and find your running instance.
Connect
to Your Instance:
Open
a terminal on your computer.
Change
the permissions of your key pair file:
bash
Copy
code
chmod
pathtoyourkeypair.pem
Connect
to your instance using SSH:
bash
Copy
code
ssh
i pathtoyourkeypair.pem ecuser@yourinstancepublicdns
Step : Perform Basic Operations
Update
the Instance:
bash
Copy
code
sudo
yum update y
Install
a Web Server:
bash
Copy
code
sudo
yum install httpd y
sudo
systemctl start httpd
sudo
systemctl enable httpd
Verify
the Web Server:
Open
a web browser and enter the public DNS of your instance. You should see
the Apache test page.
Part : Launch a Windows EC Instance
Step : Launch Instance
Log
in to AWS Management Console.
Navigate
to EC Dashboard.
Launch
Instance:
Click
on the "Launch Instance" button.
Choose
an Amazon Machine Image AMI: Select a Windows Server AMI eg Windows
Server Base
Choose
an Instance Type: Select tmicro eligible for the free tier
Configure
Instance Details: Use the default settings.
Add
Storage: Use the default settings.
Add
Tags: Add a Name tag with the value "WindowsInstance".
Configure
Security Group: Create a new security group with the following rules:
Allow
RDP port from your IP address.
Review
and Launch: Review your settings and click "Launch". Create a
new key pair, download the pem file, and then click "Launch
Instances".
Step : Connect to the Instance
Locate
Your Instance: Go to the EC dashboard and find your running instance.
Retrieve
the Windows Administrator Password:
Select
your instance and click on the "Connect" button.
Choose
RDP client" and click on "Get Password".
Upload
your key pair file pem to decrypt the password.
Connect
to Your Instance:
Open
Remote Desktop Connection on your computer.
Enter
the public DNS of your instance.
Use
the decrypted password to log in
Step : Perform Basic Operations
Verify
the Connection:
Once
logged in open the Start menu and verify that you can navigate the
Windows interface.
Part : Terminate the Instances
Terminate
the Linux Instance:
Go
to the EC dashboard.
Select
the Linux instance.
Click
on the "Actions" button, choose "Instance State," and
then select "Terminate".
Terminate
the Windows Instance:
Go
to the EC dashboard.
Select
the Windows instance.
Click
on the "Actions" button, choose "Instance State," and
then select "Terminate".
Submission
Submit
a report detailing the steps you followed along with screenshots for each
major step.
Include
a brief summary of any issues you encountered and how you resolved them.
AWS S &EC and volume assignments
EBS Elastic Block Store volumes. This will give students
handson experience with these services and how they can be used together.
AWS S EC and EBS Volume Assignment
Objective
The objective of this assignment is to understand the basic
operations of AWS S EC and EBS volumes and how to use these services
together.
Prerequisites
AWS
account
Basic
knowledge of AWS Management Con
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
