Skip to content
Home Tutorials Roadmaps Courses
Log in Join free
Tutorials Computer Science Cloud Computing Basics
Computer Science Beginner FREE

Cloud Computing Basics

Lesson 1 of 17 Beginner Interactive

Cloud computing delivers computing services over the internet — servers, storage, databases, networking.

Service Models

  • IaaS — Virtual machines, storage (AWS EC2)
  • PaaS — Platform for apps (Heroku, Vercel)
  • SaaS — Software you use (Gmail, Dropbox)

Providers

  • AWS (Amazon)
  • Azure (Microsoft)
  • Google Cloud

Syntax

COMPUTER-SCIENCE
# AWS CLI Example
aws s3 cp file.txt s3://my-bucket/
aws ec2 start-instances --instance-ids i-12345

# Docker
FROM node:20
WORKDIR /app
COPY . .
RUN npm install
CMD ["node", "server.js"]
Cloud Service Models
PYTHON
models = {
    "IaaS": {
        "examples": "AWS EC2, Azure VMs, Google Compute",
        "manages": "Virtual machines, storage, networking",
        "you_manage": "OS, apps, data"
    },
    "PaaS": {
        "examples": "Heroku, Google App Engine, Azure Apps",
        "manages": "Runtime, middleware, OS",
        "you_manage": "Applications, data"
    },
    "SaaS": {
        "examples": "Gmail, Slack, Salesforce",
        "manages": "Everything",
        "you_manage": "Just use it"
    }
}

for model, info in models.items():
    print(f"
{model}:")
    for key, val in info.items():
        print(f"  {key}: {val}")

Practice

1
Exercise

What is the difference between IaaS and SaaS?

Answer
IaaS provides raw infrastructure (VMs, storage). SaaS provides ready-to-use software (Gmail, Dropbox).

Quick Quiz

1

Which is a PaaS provider?

Heroku is a Platform as a Service for deploying apps.

Interview Questions

Scalability, cost efficiency (pay as you go), reliability, global reach, and no upfront hardware costs.