-
Introduction to Cloud Computing
-
Characteristics of Cloud Computing
-
Cloud Computing Architecture
-
Advantages and Disadvantages of Cloud Computing
-
Services and Technologies of Cloud computing
-
How does cloud computing work
-
Applications of Cloud Computing
-
Security Risks and issues of Cloud Computing
-
Types of Cloud
-
Cloud Service Models
-
Virtualization in Cloud Computing
How Does Cloud Computing Work?
Cloud computing gives you on-demand computing resources (servers, storage, databases, software) over the internet. You don’t buy and maintain physical infrastructure yourself; you rent resources from cloud providers and pay only for what you use.
1️⃣ Virtualization
Providers use virtualization technology to split one physical server into several virtual machines (VMs).
- Each VM runs its own OS and applications.
- Efficient resource allocation means less hardware, so costs come down.
Example: with AWS EC2 you run several virtual servers that all sit on shared physical hardware.
2️⃣ Distributed Computing & Data Centers
The cloud runs on globally distributed data centers, which is where its scalability and redundancy come from.
- Your data is kept in more than one location, so it stays available if one place has trouble.
- A load balancer spreads user requests over several servers so no single one gets overloaded.
Example: Google Cloud spreads services like Gmail over data centres around the world so they stay up.
3️⃣ On-Demand & Pay-As-You-Go Model
Users only pay for what they use, so there’s no big infrastructure bill up front.
- Auto-scaling adds or removes resources on its own as demand changes.
- Metered billing charges you for what you actually used.
Example: a website on AWS Auto Scaling gets more servers when traffic is high and loses them again when it drops.
4️⃣ Cloud Service Models (SPI Model)
There are three main models for delivering cloud services:
- IaaS (Infrastructure as a Service): Virtual servers, storage, networking.
- PaaS (Platform as a Service): Development frameworks and managed databases.
- SaaS (Software as a Service): Ready-to-use applications like Google Drive or Office 365.
Example: developers build applications on Google App Engine (PaaS) and never manage the infrastructure.
5️⃣ Multi-Tenant Architecture
Many users, or many businesses, share the same cloud resources safely.
- Each one’s data and resources are kept apart for security.
- Sharing like this keeps costs down and makes scaling easier.
Example: Microsoft Azure runs services for lots of companies on the same infrastructure but keeps each company’s data separate.
6️⃣ Cloud Security & Compliance
Cloud platforms come with built-in security to protect your data.
- Encryption protects data both at rest and while it’s moving.
- IAM (Identity & Access Management) decides who can get in and what they can do.
Example: AWS IAM limits who can reach particular cloud resources.
1️⃣ User Request: someone opens a cloud service, say by logging into Google Drive.
2️⃣ Load Balancing: the request goes to the nearest data centre so the answer comes back faster.
3️⃣ Processing & Storage: the provider pulls the data from storage and runs whatever application is needed.
4️⃣ Response Delivered: the user gets their files, apps or computing resources.
Example: when you upload a file to Dropbox, it’s saved on several cloud servers so it stays available.
Put together, cloud computing works by virtualizing resources, distributing workloads, scaling automatically, and ensuring security, and that’s how businesses run applications, store data, and manage IT infrastructure efficiently without owning any physical hardware.
Interview questions
Click a question to open it. Each one is worded the way an interviewer would ask it, and under it you’ll find why they ask and one way you could answer in your own words.
Fresher level
1. In simple words, how can one physical server in a cloud data centre serve many customers?
Why they ask this: virtualization is the core trick behind the cloud, and they want to see that you get it.
How you might answer: The provider uses virtualization to cut one big physical server into many virtual machines, and each VM has its own operating system and apps, so it behaves like a separate computer.
When you start an EC2 instance, what you get is a slice of a shared server, kept apart from other customers’ VMs.
2. What does a load balancer do?
Why they ask this: load balancers show up in almost every cloud design, so they want a clear, correct basic explanation.
How you might answer: A load balancer sits in front of a group of servers and shares the incoming requests out between them, a bit like a traffic policeman waving cars into different lanes so none of them jams.
If a server fails, the load balancer stops sending it traffic and users keep getting answers from the healthy ones.
2–5 years experience
3. Walk me through how auto scaling decides to add or remove servers for a website.
Why they ask this: they want to know you understand how elasticity works in practice, beyond the buzzword.
How you might answer: You set rules on a metric, for example add a server when average CPU stays above about 70 percent and remove one when it drops low, and you set a minimum and maximum number of servers.
As traffic rises, new servers start from a ready image and join the load balancer, and as it falls the extra ones are removed, so you pay only for what you need.
4. A user says a file uploaded to cloud storage is safe because it’s in the cloud. When is that not true?
Why they ask this: they’re checking you know the difference between the provider keeping copies and the customer guarding against their own mistakes.
How you might answer: The provider keeps the data on several servers, so a dead disk won’t lose the file. But if someone deletes or overwrites it, or ransomware encrypts it, all those copies change as well.
To protect it properly I’d switch on versioning or backups and set IAM so only the right people can delete anything.
Senior level
5. How would you explain to an application team why their app should be designed for failure in the cloud?
Why they ask this: they want to see you can guide teams towards resilient design and explain why in plain terms.
How you might answer: I’d tell them the cloud runs on a huge number of ordinary servers and some of those fail every day. The provider gives us zones, load balancers and auto scaling, but the app has to be built to use them.
In practice that means running several instances behind a load balancer, never keeping important data on just one server, and retrying safely when a call fails, so when one thing breaks it’s a small event instead of an outage.
6. Your company is spending a lot on servers that run all day at low use. How would you use cloud principles to fix it?
Why they ask this: they want cost thinking that ties back to the pay-as-you-go and auto scaling ideas in this lesson.
How you might answer: I’d start by measuring real usage and moving the servers to smaller instance types. Then I’d add auto scaling so a small base runs most of the time and extra servers start only when traffic needs them.
Test and dev servers I’d schedule to stop outside working hours, and I’d track the savings every month and share them with the teams so the habit sticks.
Further reading: How does cloud computing work
If you want to read more on how does cloud computing work, the official reference is AWS: What is cloud computing?. You can also work through the full Cloud Computing course on SaatVedha one lesson at a time.
