What Is the Cloud?

Video + 9 min read

ChaiCorp office
Some security is yours
Cloud provider
Virtual machine
Ready
Database
Ready
Rent a server
What Is the Cloud?
0:00 / 5:46 · What Is the Cloud?
Chapters and transcript

What Is the Cloud? Many companies no longer buy their own servers. Instead, they rent computing power over the internet. A virtual machine and a database are ready in minutes. But who keeps them safe? In this lesson, you will learn what the cloud really is, the three service models, and which parts of security are your job.

What the cloud is So what is the cloud? It is simply other people's computers that you rent over the internet. A provider owns large buildings full of servers, called data centres. You control your part through a website, called the console, or through commands and code, called the API.

What the cloud is The three best-known providers are Amazon Web Services, called AWS, Microsoft Azure, and Google Cloud. There are many others. The ideas in this path apply to all of them. We use these names only as examples.

Common words Here are three words you will see often. A region is a geographic area where a provider has data centres. You choose it when you create something. A resource is anything you create, such as a virtual machine, a storage bucket or a database. And the account holds your resources and receives the bill. Azure calls it a subscription, and Google Cloud calls it a project.

Why companies use it Why do companies use the cloud? They can start a new server in minutes. They pay only for what they use. And they can grow without buying hardware. These are real benefits. But the same speed that helps a business can also help an attacker.

IaaS, PaaS and SaaS Cloud services come in three models. With Infrastructure as a Service, or IaaS, you rent virtual machines, networks and disks, and you manage the operating system. With Platform as a Service, or PaaS, you upload your code and the provider runs it. With Software as a Service, or SaaS, the provider runs the whole application. You just log in, like web-based email.

IaaS, PaaS and SaaS Now look at what you manage in each model. In IaaS, the operating system, apps, data, users and network rules. In PaaS, your code, data, users and settings. In SaaS, only data, users and settings. The provider takes on more work each time. But one line never disappears. You always manage your own data and your own users.

IaaS, PaaS and SaaS Here is a SaaS example. ChaiCorp uses a web-based email service. The provider runs the servers and the software. But look at the admin page. ChaiCorp still decides who has an account, and which settings are on. Here, the admin removes a user who has left. That part is always the customer's job.

Shared responsibility Cloud security is shared. This is called the shared responsibility model. The provider is responsible for security of the cloud: the guarded buildings, the hardware, and the layer that keeps one customer's machines apart from another's. The customer is responsible for security in the cloud: who can log in, the data, network rules, and on IaaS, the operating system and code.

Shared responsibility Here is the key point. When data leaks from a cloud account, the cause is very often a customer setting, not the provider. A storage bucket left public. A weak password with no MFA. A database port open to the internet. The provider built the lock. The customer has to use it.

Why mistakes are different In the cloud, everything is controlled through software. Watch. An admin makes one click in the console, and the bucket becomes public. The change takes effect in seconds. Attackers run automated scanners that search the internet all the time. The scanner finds the bucket and downloads the files, often before anyone in the company notices.

Why mistakes are different There is a second difference. In the cloud, your login is the perimeter. If an attacker steals a cloud password or access key, they do not need to break into a building. They log in from anywhere, just like an employee, and control your resources.

How to defend Each major provider offers free or built-in tools that check for common mistakes. Here, the ChaiCorp admin opens one and runs a check. It finds two problems: a public storage bucket and a database port open to the internet. The tool only helps if you turn it on and read its findings.

How to defend You do not need to be a cloud expert to avoid most problems. Know your side of the model for every service. Protect every login with a strong password and MFA. Keep things private by default, and write down the reason for anything public. Keep a list of what you run. And turn on the provider's security tools, and read their findings.

Quick check Quick check. ChaiCorp uses an online accounting app, which is SaaS. A staff member left last month, but can still log in. Whose job is it to remove that account? Think about the shared responsibility model, then choose.

Key takeaways Let us put it together. The cloud is rented computers, controlled through a console or an API. IaaS, PaaS and SaaS differ in how much the provider manages. The provider secures the cloud, and you secure what is in it. Most leaks come from customer settings. And your login is the perimeter. Now read the lesson below, and answer the quiz.

Many companies no longer buy their own servers. They rent computing power, storage and databases from a cloud provider instead. In this lesson you will learn what the cloud really is and, most importantly, which parts of security are your job.

What the cloud really is

The cloud is simply other people's computers that you rent over the internet. A cloud provider owns large buildings full of servers, called data centres. You pay to use part of that equipment, and you control it through a website (the console) or through commands and code (the API).

The three best-known providers are Amazon Web Services (AWS), Microsoft Azure and Google Cloud. There are many others. The ideas in this path apply to all of them. We will use their names only as examples.

Some common words you will see:

  • Region: a geographic area where a provider has data centres. You choose the region when you create a resource.
  • Resource: anything you create in the cloud, such as a virtual machine, a storage bucket or a database.
  • Account, subscription or project: the container that holds your resources and receives the bill. AWS calls it an account, Azure uses subscriptions, and Google Cloud uses projects.

Why do companies use the cloud? They can start a new server in minutes, pay only for what they use, and grow without buying hardware. These are real benefits. But the same speed that helps a business can also help an attacker.

IaaS, PaaS and SaaS

Cloud services are usually grouped into three models. The difference is how much the provider manages for you.

Infrastructure as a Service (IaaS). You rent basic building blocks: virtual machines, networks and disks. You install and manage the operating system and your software. Examples include virtual machines on AWS, Azure or Google Cloud.

Platform as a Service (PaaS). You upload your code and the provider runs it. You do not manage the operating system. Managed databases and app hosting services are common examples.

Software as a Service (SaaS). The provider runs the whole application. You simply log in and use it. Web-based email, online office tools and accounting apps are examples.

A simple way to remember it:

IaaS  -> you manage: OS, apps, data, users, network rules
PaaS  -> you manage: your code, data, users, settings
SaaS  -> you manage: data, users, settings

As you move from IaaS to SaaS, the provider takes on more work. But notice that one line never disappears. You always manage your own data and your own users.

The shared responsibility model

Cloud security is shared between the provider and the customer. This idea is called the shared responsibility model. All major providers publish their own version of it.

A short way to say it:

  • The provider is responsible for security of the cloud.
  • The customer is responsible for security in the cloud.

The provider looks after:

  • Physical security of the data centres (guards, cameras, locked doors)
  • The hardware, such as servers, disks and network equipment
  • The virtualisation layer that keeps one customer's machines apart from another's
  • The provider's own managed services, depending on the model

The customer looks after:

  • Who can log in, and what each person is allowed to do
  • Their data, and whether it is public or private
  • Network rules, such as which ports are open
  • The operating system and software on virtual machines (in IaaS)
  • Their own application code

Here is the key point. When data leaks from a cloud account, the cause is very often a customer setting, not a failure of the provider. A storage bucket left public, a weak password with no MFA, or a database port open to the internet are all customer mistakes. The provider built the lock. The customer has to use it.

Why cloud mistakes are different

In a traditional office, a server sits behind the company firewall. To expose it to the internet, someone would usually need to change several things.

In the cloud, everything is controlled through software. One click in the console, or one line in a script, can:

  • Make a storage bucket readable by anyone on the internet
  • Open a database port to every IP address in the world
  • Give a new user full administrator rights

These changes take effect in seconds. Automated scanners run by attackers search the internet all the time for open ports and public storage. A mistake can be found quickly, often before anyone in the company notices it.

There is a second difference. In the cloud, your login is the perimeter. If an attacker steals a cloud password or access key, they do not need to break into a building or a network. They can log in from anywhere and control your resources, just like an employee.

How to defend

You do not need to be a cloud expert to avoid most problems. Start with these habits:

  • Know your side of the model. For every service you use, ask: what does the provider manage, and what do we manage?
  • Protect every login. Use strong passwords and multi-factor authentication for all cloud users. You will learn more in the next lesson.
  • Keep things private by default. Only make a resource public when there is a clear reason, and write that reason down.
  • Keep a list of what you run. You cannot protect a server or bucket you have forgotten about.
  • Use the provider's security tools. Each major provider offers free or built-in tools that check for common mistakes. Turn them on and read their findings.

In the next lessons you will look at each part of your responsibility in turn: identity, storage, networks, and logging.

Check your understanding

Answer every question correctly to complete this lesson. If you miss one, try the quiz again.

1. A company rents a virtual machine from a cloud provider. Who must keep the operating system on that machine updated?

2. Which of these is an example of SaaS?

3. Why can one small mistake in the cloud cause a big problem very quickly?

Locked: answer every quiz question above correctly to complete this lesson.

Spotted a mistake or something unclear? Report a mistake