Back to all posts

IaaS, PaaS, SaaS, Managed Resource, Managed Service, Serverless, and Google Cloud Networking


1. IaaS (Infrastructure as a Service)

IaaS provides raw infrastructure:

  • Virtual machines
  • Storage
  • Networking

We manage OS, runtime, middleware, scaling, security patches.

GCP IaaS Services

ServicePurpose
Compute EngineVirtual Machines
Persistent DiskBlock storage
Cloud StorageObject storage
VPCVirtual networking
Load BalancerTraffic distribution

Responsibility Model

LayerWho manage
Physical DC, HardwareGoogle
VMWe
OSWe
RuntimeWe
AppWe

Example

Hosting a Custom Node.js app on VM

  • We install Node.js
  • Configure firewall
  • Handle scaling
  • Patch OS

When to use IaaS

  • Legacy application
  • Full OS controllneeded
  • Custom networking or drivers
  • Lift-and-shift migration

2. PaaS (Platform as a Service)

Paas provides a ready platform where we only focus on code, not infrastructure.

GCP manages:

  • OS
  • Runtime
  • Scaling
  • Load balancing

GCP PaaS Services

ServiceUse case
App EngineWeb & API apps
Cloud RunContainerized apps
Cloud FunctionsEvent-driven code

Responsibility Model

LayerWho manages
InfrastructureGoogle
OSGoogle
RuntimeGoogle
App codeWe

Example

Deploying a REST API on App Engine:

  • Push code
  • Auto scaling
  • No server management

When to use PaaS

  • Rapid development
  • Microservices
  • Startups
  • Minimal ops team

3. SaaS (Software as a Serviec)

Fully managed software products. We just use the software, nothing to manage.

Goolge Saas Example:

ProductsPurpose
GmailEmail
Google DriveStorage
Google DocsOffice tools
BigQueryAnalytics

Responsibility Model

LayerWho manages
EverthingGoogle

Example

Using BigQuery:

  • No servers
  • No DB tuning
  • Pay per query

When to use SaaS

  • Business productivity
  • Analytics
  • Collaboration tools

4. Managed Services in GCP

GCP manages infrastructure and operations, but you control configuration and data.

Think of it as PaaS for specific services.

GCP managed services example

ServiceType
Cloud SQLManaged relational DB
Cloud FirestoreNoSQL DB
Pub/SubMessaging
BigQueryData warehouse
MemorystoreRedis/Memcached

What GCP Manages

  • Scaling
  • Backups
  • Patching
  • High availability

What We Manage

  • Schema
  • Queries
  • Access control
  • Data

Example

Using Cloud SQL (PostgreSQL):

  • No VM setup
  • Automatic backups
  • Auto failover

5. Managed Resources in GCP

Resources where Google manages lifecycle & health, but you still provision and configure them.

ResourceDescription
Managed Instance Groups(MIG)Auto-scaled VM groups
GKE NodesManaged worker nodes
Load BalancerFully managed traffic control
Cloud DNSManaged DNS

Example

Managed Instance Group

  • We define template
  • Google handles
    • VM recreations
    • Health checks
    • Auto scaling

Difference from Managed Services

Managed ResourcesManaged Services
Infra componentsEnd services
We manage appWe manage data/config
VM-levelService-level

6. Serverless Computing

We never see servers.

  • No provisioning
  • No scaling
  • Pay only for usage

GCP Serverless Services

ServicePurpose
Cloud FunctionsEvent-Driven
Cloud RunContainers
App EngineWeb apps

Characteristics

  • Auto scaling(0 -> Millions)
  • Stateless
  • Event-driven
  • Short-lived execution

Example

Cloud Function triggered by:

  • Pub/Sub
  • HTTP request
  • Cloud Storage upload

When to use Serverless

  • Event processing
  • APIs
  • Background jobs
  • Low or unpredictable traffic

7. Google Cloud Networking

Core Networking Components

1. VPC(Virtual Private Cloud)

  • Global private network
  • Subnets are regional
  • Software-defined networking

2. Subnets

  • IP ranges
  • Region-specific
  • Private or public

3. Firewall Rules

  • Allow/deny traffic
  • Stateful
  • Applied at VPC level

4. Load Balancing

Type
HTTP(s)Web traffic
TCP/UDPLow-level-traffic
Internal LBPrivate services

5. Cloud NAT

  • Outbound internet access
  • No public IP on VM

6. VPN & Interconnect

ServicePurpose
Cloud VPNSecure tunnel
InterconnectDedicated private link

7. DNS

  • Cloud DNS
  • Public & Private Zones

Quick Comparison

ModelControlGCP Examples
IaaSFullCompute Engine
PaaSMediumApp Engine
SaaSNoneGmail
Managed ServiceConfig/DataCloud SQL
Managed ResourceInfra-levelMIC
ServerlessCode OnlyCloud Functions