Cloud infrastructure can feel abstract until you launch your first server.
In the world of cloud computing, servers arenโt racks of hardware sitting in a data center. They are on-demand, scalable, and provisioned in minutes.
On Amazon Web Services (AWS), this compute capability is delivered through Amazon Elastic Compute Cloud (EC2). Which is a service that lets you spin up virtual servers whenever you need them. If you are coming from Microsoft Azure, you will recognize this concept as a Virtual Machine. Different name, same fundamental idea: rentable compute power in the cloud.
In this guide, we will walk step-by-step through creating your own EC2 instance from configuration to launch.
Letโs build our EC2 instance. ๐
STEP 1 : Create or login AWS Management Console account.
STEP 2 : Proceed to navigate to the Search bar icon above. Type EC2 and click enter. This opens the EC2 dashboard.
STEP 3 : Select Launch Instance on the dashboard
STEP 4 : Add a name tag and choose your operating system .
STEP 5 : Proceed to create a new key pair (optional). Give a unique name and create new key. This automatically downloads as a file
STEP 6 : Proceed to Launch instance.
STEP 7 : We have created the EC2. Proceed to connect to your instance
STEP 8 : We will use the cloud share that Amazon is providing and connect directly. Click connect
STEP 9: Wait for connection to be established. Congratulations, we have created our Ubuntu 24.04.3 LTS (GNU/Linux 6.14.0-1018-aws x86_64)
STEP 10: The EC2 connected and ready for use.
We can go further by entering the command sudo su at the prompt and press Enter to gain administrative access. Next, type sudo apt update and press Enter again. This will refresh your package lists and display the current status of your applications on the EC2 instance.
Note: If the terminal becomes unresponsive, first click directly inside the black window to ensure it has "focus." If it still won't record your commands, refresh your browser to reset the session. This can be due to lost focus or connection time out
MISSION SUCCESSFUL!


















Top comments (2)
Good job ๐๐พ
Thank you so much, Fredrick