Hey, the advent of owing on-prem server, equipped with vast number of Air conditional, security maintenance cost, cost of installation, purchase of hardware, has been replaced with cloud technology known as virtualization. However, owning a computer system on your palm comes to negate high cost of expenses which fosters security, resilency, efficiency and scalability.
In today's article, i am going to basically walk you, a less tasky and very fast procedures on how to provision a test-ready linux EC2 instance.
Step1: On the Console Home page, search for EC2 in the search bar.

Step2; On the Launch instance section, select Launch Instance.

Step3: Name your server as Linux-Production-Server

Step4: Application and OS Images (Amazon Machine Image) Info
An AMI contains the operating system, application server, and applications for your instance. If you don't see a suitable AMI below, use the search field or choose Browse more AMIs.For the purpose of learning and testing, my desire is Ubuntu linux distribution.

Incase, your choice distribution is not itemize here, you can search to pick your choice.

There are many distribution of Linux and for the purpose of practice and free tier subscription level, i have decided to choose Amazon Linux 2023 kernel.

Here, you can select your instance type

Step5:Ensure to create a new key pin.You will use this key pair to securely connect to your instance. Ensure that you have access to the selected key pair before you launch the instance.

Click on the New key pair and name it "Linux key". Live other settings default and click on create.

- the key pair has been downloaded into downloads file. Keep it intact for once its tampered with, it becomes useless.
Step6: Go to network settings and leave other settings default.

Step7: Configure your storage depending on your workloads

Step8: Click on the "Lunch instance" button

Step9: Connect to your instance

Step10: Down the connect section, scrow down and select "connect"

You would notice from here, that the server named Linux-Production- Sever has been connected with the internet.
.
With this, are successfully connected to our server. However, to log out of this server, you need to type the command prompt "exit". Now, the server is logged out.

For the learning purpose, in other to save cost, it is advised to always shutdown the EC2 created for the purpose of unnecessary cost incurred. That leads me to re-visit the log out in the proper way.
From dropdown menu, select terminate to delete your resources.

when you click on delete from prop down menu, this prompt will appear, then click on it to terminate the instance.








Top comments (0)