Cloud computing and its benefits
Define cloud computing, the three deployment models, consumption-based pricing, serverless, and the benefits of high availability, scalability, reliability and predictability.
16 min
Cloud computing is delivering computing services (servers, storage, databases, networking, software, analytics) over the internet, usually paid for as you use them.
Cloud models
- Public cloud: owned by a provider (Microsoft) and shared by many customers. No hardware for you to buy.
- Private cloud: used by one organization, in its own data center or hosted for it. More control, more cost.
- Hybrid cloud: public and private, connected, with workloads moving between them.
The consumption-based model. Instead of buying hardware up front (capital expenditure, CapEx), you pay for what you use (operational expenditure, OpEx). You can stop when you do not need it. Serverless is a model where you run code without managing servers, and you pay when it runs.
Cloud pricing models: pay-as-you-go, reservations for a 1- or 3-year commitment, and spot pricing for spare capacity.
Benefits of the cloud (the exam names them)
- High availability: the service stays up, backed by an SLA (service-level agreement) such as 99.9% or 99.99%.
- Scalability: vertical (make a machine bigger, scale up) and horizontal (add more machines, scale out). Elasticity is scaling automatically with demand.
- Reliability: recover from failures and keep working.
- Predictability: both performance and cost are forecastable.
- Security and governance: built-in tools and compliance offerings.
- Manageability: manage resources through portals, templates and automation.
Cloud models compared.
Public
- Who owns the hardware
- The provider
- Capital cost
- Low
- Control
- Lower
Best for Fast start, variable demand
Private
- Who owns the hardware
- The organization
- Capital cost
- High
- Control
- Highest
Best for Strict control needs
Hybrid
- Who owns the hardware
- Both
- Capital cost
- Medium
- Control
- Mixed
Best for Keep some data on-premises, burst to the cloud
Scaling.
Vertical scaling
- What changes
- The size of one resource, more CPU or RAM
- Also called
- Scale up or down
Horizontal scaling
- What changes
- The number of resources
- Also called
- Scale out or in
An app that depends on two services in a chain is only as available as both together: multiply the SLAs. Move either slider down and watch the composite fall. Adding a redundant copy of a service can raise it again.
Composite SLA of an app that needs both
—
A 99.9% SLA is promised over a 30-day month (43,200 minutes). How many minutes of downtime does that allow at most?
- 1
Allowed downtime fraction
1 − 0.999 = 0.001.
“Public cloud means anyone can see my data.”
'Public' sounds open.
What is actually true
'Public' means the infrastructure is shared and owned by a provider. Your data and resources stay isolated and protected by your permissions.
- Public, private, hybrid. Consumption-based pricing turns CapEx into OpEx.
- Scale up is vertical. Scale out is horizontal. Elasticity is automatic scaling.
- SLAs set availability targets. Chained services multiply their SLAs.
- Serverless runs code without managing servers.
Check the concepts.
Which cloud model combines on-premises resources with public cloud services?
- AHybrid cloud
- BCommunity cloud only
- CPrivate cloud
- DPublic cloud
What does adding more virtual machines to handle load describe?
- AVertical scaling
- BHorizontal scaling
- CReservation
- DGovernance
Which is an example of operational expenditure (OpEx)?
- APaying monthly for the compute you use
- BBuying a server
- CBuilding a data center
- DPurchasing network cables
An app depends on two services each with a 99.9% SLA. What is the composite SLA as a percent, rounded to two decimals?
Which TWO are benefits of cloud computing?
- APredictability of cost and performance
- BGuaranteed zero downtime in all cases
- CRequired capital spending on hardware
- DHigh availability backed by SLAs
- ENo need for any security responsibility
Practise this lesson, not just read it
In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of Microsoft Azure Fundamentals (AZ-900) is planned around your week. Free.