DEV Community

Simran Rajoriya
Simran Rajoriya

Posted on

cloudcomputing

If you're just starting your journey into AWS and DevOps, understanding a few core concepts first will make everything else — EC2, S3, VPC — click into place much faster. Here's a breakdown of the fundamentals every beginner should know.

What Is Cloud Computing, Really?

At its core, cloud computing means using computing resources — servers, storage, databases, networking — over the internet, instead of owning and maintaining your own physical hardware.

Think of it like electricity. You don't build your own power plant to light your house; you plug in and pay for what you use. Cloud computing works the same way: you "plug into" AWS's infrastructure and pay only for what you consume.

Traditional setup: Buy servers, build a data center, hire a team to maintain it — expensive and slow to scale.
Cloud setup: Rent what you need from a provider like AWS — fast, flexible, and billed on a pay-as-you-go basis.

Understanding IaaS, PaaS, and SaaS

Cloud services come in three main flavors, based on how much you manage versus how much the provider handles for you:

Model What You Get Example Who Manages What
IaaS (Infrastructure as a Service) Raw building blocks — VMs, storage, networking AWS EC2, S3 You manage the OS, runtime, and apps; AWS manages the hardware
PaaS (Platform as a Service) A ready platform to deploy your code on AWS Elastic Beanstalk, Heroku You just deploy code; the provider handles the rest
SaaS (Software as a Service) A fully built, ready-to-use application Gmail, Dropbox, Salesforce You just use it — nothing to manage

A simple way to remember it: IaaS hands you bricks to build a house, PaaS gives you a house frame ready for furnishing, and SaaS hands you a fully furnished apartment.

Public, Private, and Hybrid Cloud

These describe where your cloud infrastructure lives:

Public Cloud — Shared infrastructure run by providers like AWS, Azure, or GCP. Cost-effective and scalable; most companies run here.
Private Cloud — Dedicated infrastructure for a single organization, offering more control and security, but at a higher cost.
Hybrid Cloud — A mix of both. Sensitive data stays in a private environment, while scalable workloads run on the public cloud. Banks and healthcare companies often use this model.
AWS Global Infrastructure

AWS's physical footprint spans the globe, organized into three layers:

Regions — A geographic area (e.g., Mumbai = ap-south-1, N. Virginia = us-east-1). Each region operates independently, and data typically stays within the region it's stored in — important for compliance and latency.
Availability Zones (AZs) — Each region contains multiple AZs — physically separate data centers with their own power, cooling, and networking. If one AZ fails, others keep running, which is the foundation of high availability.
Edge Locations — Smaller sites, even more numerous than regions, positioned close to end-users. These power services like CloudFront (CDN), delivering content faster by caching it closer to users.

The hierarchy: Region (broad geographic area) → Availability Zone (data centers within a region) → Edge Location (closest point to the user).

The Shared Responsibility Model

This is one of the most important — and most tested — AWS concepts. It defines where AWS's security responsibilities end and yours begin.

AWS handles "Security OF the Cloud": physical data centers, hardware, networking infrastructure, and virtualization.
You handle "Security IN the Cloud": OS patching, firewall/security group configuration, data encryption, IAM permissions, and your application's own security.

Example: If you launch an EC2 instance, AWS ensures the physical server is safe and always available — but if you leave a weak password or misconfigure a security group, that's on you.

The split shifts depending on the service: with IaaS (like EC2), you carry more responsibility; with SaaS, AWS carries more.

Top comments (0)