Cloud Computing
2025-04-23
Welcome to the end!
What is the Cloud?
other people's computers*
* Not a great answer for the assignment
Why cloud computing?
Scalability and elasticity
Everything's going great!
Server
Scalability and elasticity - vertical
A bigger server could�handle more traffic.
But you can only get�so big before running�out of resources
Server
Scalability and elasticity - horizontal
You could expand �horizontally instead
Server
Server
Scalability and elasticity - horizontal
Load balancing creates�a single "entry point"
Server
Server
Load Balancer
just another server �with a special job
Scalability and elasticity - horizontal
Grow more if needed
Server
Server
Load Balancer
Server
Scalability and elasticity - horizontal
Shrink when traffic isn't as heavy
Server
Server
Load Balancer
Single Point of Failure
Weak point in the system
Server
Server
Load Balancer
Server
Single Point of Failure
"Heartbeat" - signal that all is ok
Solutions may get a bit complex
Server
Server
Load Balancer
Server
Load Balancer
Databases
Yet more options!
Server
Server
Load Balancer
Server
Load Balancer
Primary DB
Read DB
Read DB
also just another server �with a special job (and �lots of storage space)
Read replication
Horizontal sharding
Vertical sharding
_____ as a Service
Software as a Service
Platform as a Service
Infrastructure as a Service
IaaS and VMs
PaaS
SaaS
What's next in CS?
Any other questions, reach out and I'll be happy to help as best as I can!� josh@cs50.harvard.edu