AWS Builder Center

My First Steps with AWS Cloud: EC2, S3, and Lambda

A beginner-friendly overview of three fundamental AWS services and when to use EC2, S3, and Lambda in real-world applications.

My First Steps with AWS Cloud: EC2, S3, and Lambda

As I started learning AWS, three services immediately stood out to me: Amazon EC2, Amazon S3, and AWS Lambda.
Although they solve different problems, understanding their differences is essential for anyone beginning their journey with cloud computing.

Amazon EC2

Amazon EC2 provides virtual servers in the AWS Cloud.
With EC2, you can choose the operating system, instance type, storage, networking configuration, and other resources needed by your application.
A simple example is a backend application built with Java and Spring Boot. Instead of running the application only on a local computer, it can be deployed on an EC2 instance and made available through the internet.
EC2 is a good option when you need more control over the server and its environment.

Amazon S3

Amazon S3 is an object storage service.
It can be used to store files such as:
  • Images
  • Videos
  • Documents
  • Backups
  • Static website files
For example, an application could store user-uploaded images in S3 instead of keeping those files directly on the application server.
One important concept I learned is that S3 is designed around objects and buckets rather than traditional folders and filesystems.

AWS Lambda

AWS Lambda allows code to run without managing servers directly.
Instead of maintaining a server that is always running, you can execute a function in response to events.
For example:
User uploads an image
↓
Amazon S3
↓
AWS Lambda
↓
Image processing
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