Amazon Elastic Compute Cloud (EC2) is a popular cloud computing service that Amazon Web Services (AWS) offers. It allows users to deploy and manage virtual servers in the cloud easily.
Amazon EC2 provides a variety of instance types structured to fit different use cases. These include numerous CPU, memory, storage, and network capacity combinations. It allows users to choose the optimized bundle of resources for their applications. The instances enable us to maximize or minimize resource usage according to our requirements.
Search for “EC2” on the AWS console and click the EC2 service from the search results. This takes us to the EC2 dashboard.
Note: Before starting this lab, make sure to select
us-east-1 US East (N. Virginia)
region as the default region in the cloud console. We will not be able to access resources from other regions.
From the sidebar, click “Instances” under “Instances,” and then click the “Launch instances” button.
Select the “Amazon Linux 2 AMI (HVM) Kernel 5.10, SSD Volume Type” AMI, with 64-bit (x86) architecture.
Select the t2.micro
type from the list.
We don’t need to change anything on this page. Leave everything as it is and proceed to the next step.
From the “Key pair name” dropdown menu, select the “Proceed without a key pair (Not recommended)” option, as we don’t need to create any new key pairs.
Keep the “Create Security Group” as the default option, and ensure the “Anywhere” option is selected from the source drop-down.
Select and enable the “Allow HTTP traffic from the Internet” option.
There should already be an 8 GiB gp2
Leave everything at its default and proceed to the next step.
Review the settings for the new instance before clicking the “Launch” button to launch our instance.
Congratulations! You’ve successfully created an EC2 instance.
Click “View Instances” to return to the “Instances” page. Within a few minutes, the status of our newly created instance should automatically change to “Running.”
Free Resources