⚡ Azure Simulator › What happens if…?
What happens if traffic spikes on Black Friday?
Press the red button in the simulation below and watch it happen. No Azure account, no bill.
🖱️ Drag to rotate · scroll or pinch to zoom
A traffic spike
A sale starts and visitors flood in. One server is overloaded, so pages get slow or fail.
🤔 What happens if…
Read this tour as text
- One server, normal day. One VM serves the website. CPU is comfortable. Use the Users slider to change the traffic.
- A traffic spike. A sale starts and visitors flood in. One server is overloaded, so pages get slow or fail.
- Scale up (vertical). Scaling up means a bigger server: more CPU and memory. It usually needs a restart, and there is always a largest size.
- Scale out (horizontal). Scaling out means more servers behind a load balancer. No restart, and almost no limit.
- Elasticity: autoscale. Turn on autoscale with a rule: add a server when CPU > 70%, remove one when CPU < 30%. Move the slider and watch Azure match servers to demand, and the bill fall when users leave.
- Serverless: scale to zero. With serverless (Azure Functions) there are no servers to manage. Each event runs a function instance, and with no events nothing runs and nothing is billed.
- Bill shock: the forgotten VM. A developer creates a D4s v5 test VM on Monday and forgets it. A running VM is billed every hour, 24/7, used or not. Fast-forward a month, then try again with auto-shutdown at 7 PM and weekends off.
The short answer
A single server overloads and requests fail. Scaling up buys time but needs a restart and has a ceiling. Scaling out with autoscale adds servers as traffic grows and removes them afterwards, so you pay only for the peak while it lasts.
Learn more
More “What happens if…?”
- 🌪️ What happens if an Azure region goes down?
- 🔌 What happens if a datacenter loses power (pull the plug)?
- 😱 What happens if I forget to stop my Azure VM?
- 🌍 How much latency do I get from my city to each Azure region?
- 🔥 What happens to my data if the datacenter catches fire?
- ⚡ What happens in an Azure datacenter during a power cut?
- 🖥️ What happens if a hacker tries to RDP into my VM?
- 🚶 What happens if someone tries to walk into an Azure datacenter?