AWS Builder Center

From Zero to Cloud: My First Hands-On Journey with Amazon EC2

Cloud computing is more than just theory. In this article, I explore Amazon EC2, understand how virtual servers work, and share my hands-on learning journey through instance configuration, security groups, networking, and cloud infrastructure fundamentals.

From Zero to Cloud: My First Hands-On Journey with Amazon EC2

Introduction

When I started learning cloud computing, I wanted to understand how companies run applications, manage servers, and maintain infrastructure without depending entirely on physical hardware.
That's when I began exploring Amazon Web Services (AWS).
One of the first services I started learning was Amazon Elastic Compute Cloud (EC2).
EC2 is one of the fundamental building blocks of AWS. It allows users to launch virtual servers in the cloud, configure computing resources, and run applications without purchasing or maintaining physical servers.
In this article, I'll share my understanding of EC2 and the important concepts I am exploring as part of my Cloud Engineer learning journey.

1. What is Amazon EC2?

Amazon EC2 is a cloud service that provides scalable virtual computing capacity.
In simple terms, imagine having a physical computer in a data center. Instead of purchasing that computer, AWS allows you to create and manage a virtual machine through the cloud.
An EC2 instance can be used for:
  • Hosting websites and applications.
  • Running Linux and Windows servers.
  • Hosting databases and backend services.
  • Performing development and testing.
  • Running enterprise workloads.
The interesting part is that we can configure computing resources according to our requirements.

2. Understanding the Important EC2 Components

Before launching an instance, it is important to understand its major components.
AMI (Amazon Machine Image)
An AMI is a template used to launch an EC2 instance. It contains the operating system and other configuration information.
Examples include Amazon Linux, Ubuntu and Windows Server.
Instance Type
Instance types determine the CPU, memory, networking capacity and other resources available to a virtual server.
Key Pair
A key pair is used to securely connect to an EC2 instance. For Linux instances, SSH commonly uses the private key for authentication.
Security Group
A security group acts as a virtual firewall that controls inbound and outbound traffic.
For example:
  • SSH (Port 22) – Remote Linux administration.
  • HTTP (Port 80) – Web traffic.
  • HTTPS (Port 443) – Secure web traffic.
EBS (Elastic Block Store)
EBS provides persistent block storage for EC2 instances.

3. My Hands-On EC2 Learning Process

The most important part of learning cloud computing is practical implementation.
While exploring the AWS Management Console and learning the EC2 workflow, I focused on understanding the following steps:
  1. Open the AWS Management Console.
  1. Navigate to the EC2 service.
  1. Select Launch Instance.
  1. Provide a meaningful instance name.
  1. Choose an Amazon Machine Image.
  1. Select an appropriate instance type.
  1. Configure or select a key pair.
  1. Configure network settings and security groups.
  1. Review storage settings.
  1. Launch the instance and monitor its status.
Each configuration option plays an important role in creating a working cloud server.

4. Why Security Matters in EC2

Launching an instance is only one part of cloud administration. Securing it is equally important.
Some important security practices include:
  • Avoid allowing SSH access from anywhere (0.0.0.0/0).
  • Allow only the ports required by your application.
  • Protect private key files.
  • Use IAM roles instead of hardcoding AWS credentials.
  • Regularly review security group rules.
  • Keep the operating system and software updated.
A cloud server should not simply be accessible; it should also be properly secured.

5. Connecting Linux with AWS

My Linux learning has helped me understand the importance of operating systems in cloud infrastructure.
Linux is widely used for hosting cloud-based applications and managing servers.
Some useful commands for working with a Linux EC2 instance include:
whoami
Displays the currently logged-in user.
hostname
Displays the system hostname.
free -h
Displays memory usage.
df -h
Displays disk space usage.
uptime
Displays how long the system has been running.
systemctl status sshd
Checks the SSH service status on systems using the sshd service.
Understanding Linux commands alongside AWS services is an important step towards becoming a Cloud Engineer.

6. What I Learned

Exploring Amazon EC2 helped me understand that cloud computing involves much more than launching virtual machines.
It requires an understanding of:
  • Compute resources and instance types.
  • Operating systems and virtualization.
  • Networking and security groups.
  • Storage and EBS volumes.
  • Secure remote server administration.
  • Resource monitoring and cost management.
These concepts provide a foundation for learning more advanced AWS services.

7. What's Next in My AWS Journey?

EC2 is just the beginning.
My next learning goals include:
  • Amazon S3 for cloud storage.
  • IAM for identity and access management.
  • Amazon VPC for networking.
  • CloudWatch for monitoring.
  • Load Balancing and Auto Scaling.
  • AWS Backup and disaster recovery.
I also plan to combine AWS practical labs with Linux, networking and scripting knowledge.

Conclusion

My journey into cloud computing is still in progress, but every practical exercise helps me understand how real-world cloud infrastructure works.
I believe the best way to learn AWS is to combine theoretical concepts with hands-on practice, understand the security implications of every configuration, and continuously experiment with cloud services.
The goal is not just to learn AWS services, but to understand how to build, manage, secure and troubleshoot cloud infrastructure.
This is my first step towards becoming a Cloud Engineer.
#CloudComputing #AWS #AmazonEC2 #Linux #CloudEngineer #AWSLearning #DevOps
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article