Amazon EC2 stands for Amazon Elastic Compute Cloud.
It is a service from Amazon Web Services AWS that lets you rent virtual computers on the internet instead of buying physical servers.
Think of Amazon EC2 like this:
Instead of buying a physical server and keeping it in your office.
you rent a powerful computer/server in Amazon’s data center,
use it for as long as you need,
then turn it off when you are done.
You only pay for what you use.
What EC2 actually gives you
Amazon EC2 provides virtual machines called instances.
Compute
The virtual machine itself. This is the instance type that gives you CPU memory and Storage
The disks attached to the instance. Usually Amazon EBS for operating system and data.
Networking
The connectivity. This includes VPC, subnets, security groups, and IP addresses.
Each instance can have
CPU power
Memory RAM
Storage
Network
Benefits of using Amazon EC2
Fast to start
You can launch a server in minutes. No buying hardware and no waiting.
Pay only for what you use
You pay by the second or hour. Turn it off and you stop paying.
Scales easily
Need more power or more servers. Resize or add them instantly.
Very reliable
Runs in AWS data centers with built in redundancy and uptime.
Full control
You choose the OS, CPU, memory, storage, and network settings.
Secure by default
Security groups, firewalls, IAM, and encryption are built in.
Works with everything
Connects easily to databases, load balancers, storage, and monitoring tools.
Good for any workload
Web apps, databases, backups, testing, AI, and enterprise systems.
EC2 lets you run servers fast, safely, and only pay when you need them.
I will demonstrate how to install and configure Amazon EC2 instance with a step-by-step description.
Step 1. Create an AWS account
Step 2. Login to AWS portal, https://aws.amazon.com/console
Step 3. In the search bar, type ec2 and hit enter
Step 4. Click on Launch Instance
Step 5. Provide basic details Name and tags
Step 6. Under Application and OS Images, Under Quick Start select Ubuntu OS
Step 7. Create your key pair, I called mine MYLABKEY, this key will be use to generate an encrypted password for login.
Step 8.
Step 9. Keep the rest on default setting and click Launch.

My Instance is installed. It took less than 5 minutes to initiate.
Step 10.
Step 11. Click on the ID this will take you to overview to see the newly deploy instance.
Step 12.
Step 13. We have to connect to our Ubuntu server
Step 14.
Step 15.
Hope this resource was helpful.











Top comments (0)