Amazon Elastic Compute Cloud (EC2) is a web service offered by Amazon Web Services (AWS) that provides resizable compute capacity in the cloud. EC2 allows users to run virtual servers, known as instances, on-demand. Users can choose the instance type, such as the amount of virtual CPUs, memory, storage, and networking capacity, based on their specific requirements.
Several factors account for this!
In simple terms, AWS EC2 is like a versatile tool used for many
things in the cloud, such as hosting websites, running applications,
and handling data.
It's a key building block for various cloud
services and solutions.
MyWebServer
.
Amazon Linux
for my instance as it's
Free tier eligible.
t2.micro
, also eligible for the Free tier.
Check all instace types
here.
ssh -i
{path-to-your-keypair-which-you-created-earlier-in-step-7}
ec2-user@{paste-here-the-Public IPv4 address}
sudo su
yum update -y
yum install httpd
httpd