Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Explain the Cloud Like I’m 10
Explain the Cloud Like I’m 10
Explain the Cloud Like I’m 10
Ebook500 pages6 hours

Explain the Cloud Like I’m 10

Rating: 4.5 out of 5 stars

4.5/5

()

Read preview

About this ebook

This is a completely updated and expanded version.


What is the cloud? Discover the secrets of the cloud through simple explanations that use lots of pictures and lots of examples.


Why learn about the cloud? It’s the future. The cloud is the future of software, the future of computing, and the future of business. If you’re not up on the cloud, the future will move on without you. Don’t miss out.


Not a techie? Don’t worry. I wrote this book for you! After reading Explain Cloud Like I'm 10, you will understand the cloud. You will understand how the cloud works. You will understand all the major technologies that make up the cloud. When you hear someone say some new cool thing is in the cloud, you’ll understand exactly what they mean. You will feel the cloud deep in your bones. That’s a promise.


How do I deliver on that promise? I’ll tell you a little secret: the cloud is not that hard to understand. It’s just that nobody has taken the time to explain it properly.


I take the time. I go slow. You’ll learn step-by-step, one idea at a time. You’ll learn by seeing and understanding. You’ll learn something new, whether you’re a beginner, someone who knows a little and wants to know more or thinking about a career change.


In Explain Cloud Like I'm 10, you’ll discover:


   An intuitive picture-based definition of the cloud.


   The deepest secrets behind how the cloud works and what cloud providers do.


   How the cloud got its name. A more interesting story than you might think.


   What it means when someone says a service is in the cloud.


   Significant new advances in the cloud like the cloud model, cloud-native    development, DevOps, FinOps, and more.


   Should you move to the cloud at all?


   How to make your move to the cloud.


   How to select between AWS, Azure, GCP, Kubernetes, private cloud, on-prem, colos, bare-metal, edge computing, hybrid-cloud, and multi-cloud.


   The difference between IaaS, CaaS, PaaS, FaaS, and SaaS and when you'll want to use them.


   How to learn more about the cloud after you finish the book.


   How to get a job in the cloud.


   All about cloud economics and how to significantly lower your cloud bill.


   If stormy weather affects cloud computing.


   How the internet really works. Most people don’t know. You will.


   The good, the bad, and the ugly of cloud computing. It's not all wine and roses.


   How cloud computing changed how software is made—forever.


   Why AWS became so popular. Hint: it’s not the technology.


   What happens when you press play on Netflix.


   Why Kindle is the perfect example of a cloud service.


   The radically different approaches Apple and Google take to the cloud.


   How Google Maps and Facebook Messenger excel as cloud applications.


   How Walmart built the most enormous hybrid cloud in the world.


   Why Coca-Cola loves serverless computing.


   Cloud providers are engaging in a winner-take-all war to addict you to their ecosystems.


   Key ideas like VMs, serverless, containers, multi-tenancy, workloads, virtualization, caching, OpEx, CapEx, networking, public key cryptography, EC2, S3, CDNs, elastic computing, auto-scaling, datacenters, cloud storage, latency, bandwidth, CPUs, GPUs, TPUs, OSs, Infrastructure as Code, automation, pipelines, CI/CD, APIs, functions, and programming.


   And so much more.


Sound like gobbledygook? Don’t worry! It will all make sense. There's so much to learn!


I’ve been a programmer and a writer for over 30 years. I’ve been in cloud computing since the beginning, and I’m here to help you on your journey to

LanguageEnglish
Release dateSep 30, 2018
ISBN9780979707117
Explain the Cloud Like I’m 10

Related to Explain the Cloud Like I’m 10

Related ebooks

Internet & Web For You

View More

Related articles

Reviews for Explain the Cloud Like I’m 10

Rating: 4.6521739130434785 out of 5 stars
4.5/5

23 ratings6 reviews

What did you think?

Tap to rate

Review must be at least 10 words

  • Rating: 5 out of 5 stars
    5/5
    This book is amazing so clear and easy to understand.
  • Rating: 5 out of 5 stars
    5/5
    Excellent description of what the cloud is for non technical people. Good form of basis to continue learning on.
  • Rating: 5 out of 5 stars
    5/5
    Perfectly written. An interesting book which kept me reading without getting bored and I'm glad I found this book. The book has given me a good understanding on cloud technologies especially through its examples .A technology based book which made me to feel as though I am reading an interesting story book. A special thank you to the author for coming up with an excellent write ups and information.
  • Rating: 5 out of 5 stars
    5/5
    It's a great first book to make yourself familiar with cloud. Even with decent amount of technology knowledge, this is a good book to start your cloud journey with because it equips you with right kind of vocabulary to get to more complex topics and subjects on Cloud.
  • Rating: 5 out of 5 stars
    5/5
    Amazing jumping off point for those who know absolutely nothing about how the internet works. Might be too low level if you're already somewhat technical.
  • Rating: 5 out of 5 stars
    5/5
    Great read for beginners to clouds. Highly recommended, makes you wanting to continue reading

Book preview

Explain the Cloud Like I’m 10 - Todd Hoff

CHAPTER ONE

WHAT DOES THE CLOUD LOOK LIKE?

Everyone talks about the cloud like it’s some vague, abstract thing when, in fact, it’s a real material thing you can see and touch.

So before we get into the nitty gritty of defining what the cloud is, let’s make the cloud real by taking a peek at what it looks like:

Image of the inside of a datacenter.

Facebook Datacenter

That’s a strange image, isn’t it? How is this a picture of the cloud everyone talks so much about?

What you’re looking at is the interior of a datacenter owned by Facebook. A datacenter is just a giant warehouse-sized building containing lots and lots of computers and other equipment.

How many computers? See those big glowy things in the picture? Each big glowy thing is called a rack and is about the size of a side-by-side refrigerator.

Each glowy rectangle in a rack is a computer.

Notice how racks line both sides of the hallway, as far as the eye can see? Datacenters are filled with row after row of hallways like this.

If you do the math, the number of computers in a datacenter can range from tens of thousands to hundreds of thousands. That’s a lot of computers!

Let’s look a little closer.

Here’s what one of the racks looks like:

Closeup of rack.

Facebook Rack

Closeup of rack.

Microsoft Rack

Rack

Amazon Rack

Each rack holds dozens of pizza-box sized computers that look something like:

server

Cloud Server from Open Compute

You’ve probably never seen a computer like this before. It’s specially built to fit in a rack, and racks are specially built to fit in datacenters.

Computers slide into a rack like a drawer slides into a cabinet:

rack

Installing a Server from Facebook

Nothing magical going on here. Racks are simply a way of stuffing as many computers together in as small a space as humanly possible.

Now I can tell you a secret. The cloud is just a big building with a lot of computers inside.

That’s all the cloud is. Lots and lots of computers. Not such a big deal, is it?

So far, we’ve only seen a Facebook datacenter, but a datacenter from Google, Amazon, or Microsoft will all look similar.

The inside of a Google datacenter looks like this:

Google datacenter.

Google Datacenter

All those pipes are part of a cooling system for keeping Google’s computers happy and healthy.

An Amazon datacenter looks a lot like a Facebook datacenter:

Amazon datacenter.

Amazon Datacenter

And Microsoft’s datacenter looks a lot like the others:

Microsoft datacenter.

500,000 Servers in Microsoft’s Datacenter in Quincy, Washington

We’ve seen what datacenters look like on the inside; let’s take a gander at the outside.

Here’s the outside of a Facebook datacenter:

Image of the outside of datacenter.

Facebook Datacenter

And here’s the outside of a Microsoft datacenter:

Microsoft datacenter.

Microsoft’s 300 Acre Datacenter in Quincy, Washington

Not that different from a Costco or Walmart, are they? But instead of selling quality brand-name merchandise, the cloud sells computers as a service.

All that means is you can rent computers over the internet. We’ll talk a lot more about selling computers as a service later.

Many thousands of datacenters are spread all over the world. Here’s a map of just Google’s datacenter locations:

Map

Google Datacenter Locations

Google’s cloud lives in these datacenters.

When the cloud seems abstract and hard to understand, I want you to think back to these pictures.

At the simplest level, a cloud is just a big building full of computers. That’s all it is. Nothing special is going on. There’s no reason to feel intimidated.

See, you already know what the cloud is, and we just got started!

* * *

Have you ever wondered how the cloud got its name? It’s an interesting story. We’ll learn that next.

CHAPTER TWO

WHY IS IT CALLED A ‘CLOUD’ ANYWAY?

It’s thought the term cloud comes from the symbol used to represent a network when drawing flowcharts and diagrams.

CLoud

Why is it called a cloud in the first place? Cloud is such a strange name. It’s one of those annoying words that doesn’t give you any hint about what it means.

How can a building full of computers be anything like the fluffy clouds we see in the sky?

The term cloud has a very practical origin. When engineers build stuff, they first draw a diagram of what they want to build.

On those diagrams, they use symbols to represent the different things they are building.

When building a house, for example, you use a symbol for a door instead of drawing a detailed picture of the exact door you want, knowing details like that will be figured out later (probably after quite a few arguments).

house

House Diagram from Wikimedia Commons

Let’s say you are an engineer and you want to draw the diagram of a computer network that would end up looking something like this:

network

Network from Trammel Hudson

You can see all the computers connected by wires, the table, and all the people; it’s a mess!

Would you really want to draw something like that? No way. No more than you would draw all the doors in a house plan.

You would create a symbol to represent a network.

And that’s exactly what the engineers did. The symbol engineers chose to represent a network was that of a cloud.

A cloud symbol on a diagram will always look something like:

poison

Cloud Symbol

WHY USE A CLOUD SYMBOL?

Nobody knows for sure, but it’s a brilliant choice.

Clouds are easy to draw.

Clouds can be any size. So can networks.

Clouds can have almost any shape. So can networks.

We only see the outside of a cloud; what happens on the inside is hidden from view. We don’t care how a network works.

Clouds are made up of gazillions of tiny drops of water or ice crystals. Networks are made up of many pieces of equipment.

So it makes sense to represent a network as a cloud. They have a lot in common.

Using the cloud symbol, our new diagram looks a lot cleaner:

lan

It’s simple and gets the point across without all the messy real-world details. Exactly what we want in a diagram.

The cloud symbol can represent any network; it doesn’t matter what the network looks like or how it works.

WHAT IS A NETWORK?

A network connects things together.

A WiFi network connects computers to the internet.

A highway system is a network of roads connecting places together.

A cellular network is a network of equipment connecting phones together.

A social network is a network connecting people together.

A television network is a network of TV stations for showing program content.

The IP Backbone Network is a network connecting all the devices that make up the internet.

These are all examples of networks. They are all very different in how they work and how they are built. Yet, we use the cloud symbol to represent all of them.

LET’S LOOK AT AN EXAMPLE CLOUD DIAGRAM

To see how the cloud symbol is used in real-life, here’s a diagram of a complicated network:

Network diagram.

Network Diagram from Wikimedia Commons

This diagram shows how various parts of the internet connect together. In fact, this is how your home network connects to others on the internet.

Don’t worry; it doesn’t matter if you understand the whole diagram. Focus on the parts that look like clouds.

You should be able to see a bunch of different cloud symbols.

There are two PSTN (public switched telephone network) clouds.

There’s a Cable Operator cloud.

There are two Tier 3 Network clouds. A Tier 3 Network connects your home to the internet (think Comcast and Verizon).

And there’s one big internet cloud at the top connecting everything together.

This diagram is old. Since a lot of people connect to the internet these days using cell phones, if it were drawn today, it would include a cloud for cellular networks.

Let’s just look at one cloud, the PSTN. If you don’t remember, ancient landline phones look something like this:

Old phone.

Telephone

A complete diagram of the PSTN would contain a huge number of phones, an uncountable number of telephone poles, miles of cable, and an immense amount of electronic switching equipment.

It would be impossible to draw such a thing. Instead, we just draw a cloud symbol to represent the whole thing. We don’t even bother trying to draw all the parts.

We don’t care how many phones or telephone poles are in the PSTN. All we care about is we dial a number, and we can talk to anyone in the world. How it works doesn’t matter.

Same for the other networks in the diagram. The internet is hugely complicated. Don’t care. All we care about is that we can connect to any other computer in the world over the internet.

Isn’t that cloud symbol handy?

Let’s tie this back to the kind of cloud we care about. The kind of cloud we care about is created by Cloud Service Providers or just Cloud Providers. They create a compute cloud using a network of datacenters linked together, and inside each datacenter is a network of computers linked together.

* * *

Since the cloud is all about computers, let’s learn more about what they are.

CHAPTER THREE

WHAT IS A CLOUD COMPUTER?

A computer is a programmable device that stores, retrieves, and processes data.

Computer

Cloud Server from Open Compute Project

When is a computer not a computer? When it’s a server.

You already know what a computer is in an everyday context. It’s likely you use some form of a computer every day.

Since the cloud is all about computers, it’s important you learn what a computer is from a cloud perspective. There’s a difference.

The first thing to know: computers in the cloud are called servers.

Why? Serve means to perform duties or services for—that’s exactly what a server does; it serves resources.

What kind of resources?

Look closely at the cloud server pictured above. What resources do you think it has?

If you don’t know, that’s OK; just play along…

I see two hard drives, RAM, SSDs, CPUs, and networking.

Let’s not get caught up in the details. Server types will vary widely, but in general, they provide the following resources:

Processing Power - the ability of a computer to manipulate data by following instructions. It’s usually provided by a CPU (central processing unit), but there are also GPUs (graphical processing units for data analysis) and TPUs (tensor processing units for AI (artificial intelligence)).

Storage - lets a computer retain large amounts of data either temporarily or permanently. It’s typically provided by hard drives, SSDs (solid state drives), and tape drives.

Memory - lets a computer quickly store and retrieve data. It’s provided by RAM (random access memory).

Network Bandwidth - the maximum amount of data that can be sent and received over a network.

I know this is a speedy tour through a very complex subject, and we’ll go into more detail on various topics later.

The important point is: that these are the kinds of resources a cloud rents.

Generally, the more of a resource a server has, or the faster it is, the more expensive it is.

If you hear someone say the cloud just means using someone else’s computers, this is what they mean. Whatever was done locally in the past on a computer can now be done in the cloud on a cloud server.

We know enough now to understand the secret of what a cloud provider does:

A cloud provider installs a bunch of computers in a bunch of datacenters spread throughout the world, pools all those datacenter resources together, offers them over the internet as cloud services through an API, and rents them to the public in an on-demand, pay-for-what-you-use basis.

Doesn’t exactly roll off the tongue, does it? So instead, we give it a name—the cloud.

The cloud is simply the shorthand way of saying how all those pools of datacenter resources are managed and made available for use.

THE CLOUD IS NOTHING NEW

The cloud is evolution rather than invention. What was once private was made public and given the name cloud. Let me explain.

Organizations have built cloud-like infrastructure for years, but it was for internal use only.

It’s natural when you have a fleet of computers in a datacenter to want to automate everything. Make it programmable. Make it easy to use. I’ve worked on many such systems.

The difference is public cloud providers took it to the next level.

They made it so multiple customers could safely use the same datacenter (called multi-tenancy). They added billing infrastructure, more datacenters, more services, more APIs (applications program interface), more scaling, more elasticity, more automation, and more options.

Cloud providers perfected how datacenters should be built and operated. And in the process, a whole new method for building software was invented—cloud native.

It was a big leap forward. Instead of thousands of individual businesses running their own datacenters with their own cloud infrastructure, we now have a few major cloud vendors. It’s the natural progression and consolidation found in most industries.

Like most big changes, the rise of the cloud was obvious—in retrospect.

You’re not expected to understand what all this means yet. You’ll learn that in the rest of this book.

You’ll also learn that cloud may have started as a simple computer rental service, but it has evolved into something much grander.

Over the years, cloud providers kept building high-value services on top of all those servers, and now the cloud is the ideal ecosystem for building, deploying, running, and using software.

So once again, the cloud is not a mystical place in the heavens. Its origin can be traced directly back to the humble computer.

* * *

You might be surprised to learn you already understand how the cloud works.

CHAPTER FOUR

DO YOU BANK ONLINE?

You’ve probably been using a cloud and cloud service for years—your bank!

ATM

ATM

Now that we’ve developed an understanding of what the cloud looks like and where the name came from, let’s try to develop an intuitive feel for how the cloud works.

You’ve probably been using a cloud service for years; you’ve just never realized it.

It’s your bank!

Banking has changed a great deal over recent years. To see how much, let me ask you a few questions.

How often do you go to the bank these days? Probably not as much as you used to. Standing in line to see the teller isn’t much fun.

How often do you write a check anymore? Again, probably not as much as you used to. Paying bills online is so easy.

Do you know your bank teller’s name? Probably not.

Do you carry a lot of cash with you? Why, when credit cards are so convenient? And who even needs credit cards anymore? Tap to pay with your watch is even more convenient.

If you think banking has changed for you, imagine a time traveler from the 19th century, they wouldn’t even recognize banking today. In their era, a bank in a small town might look something like this:

Old west bank.

Old Style Bank from Wikimedia Commons

In those days depositing money in the bank literally meant placing your money in a small iron safe. Bank robbers loved those safes. They cracked like a thin, shelled egg.

Remember all those old Wild West movies where bank robbers dramatically rode away with the town’s money?

Butch Cassidy poster.

Wanted Poster from Randy Franks

On the movie screen, Butch Cassidy robbing a bank is exciting, even romantic. In reality, that’s your hard-earned cash they’re stealing.

As a kid, I remember laughing as the townsfolk rustled up a posse, thinking there’s no way a backwater sheriff, along with a bunch of bankers, butchers, and bakers, would ever catch our heroes.

As an adult, I now understand their urgency. Your life savings hung in the balance. If the outlaws make a clean getaway, you’re instantly penniless. Who wouldn’t ride hard for justice?

Today, bank robberies don’t scare depositors at all. Why? Technology has totally transformed both the nature of money and banking.

MONEY IS JUST A NUMBER IN A COMPUTER

If Butch Cassidy were alive today, he wouldn’t be a bank robber; he’d be a hacker because that’s where the money is.

Money today is just a number stored in a computer. And that changes everything.

Do you go into a bank anymore to check your bank balance? Of course not; that’s so old school. Now you check your balance at an ATM, using an app on your phone, or from a website.

When checking your bank balance using an ATM, do you think a team of bank tellers runs back into the vault to count your fat stacks of cash?

Of course not. Nobody thinks that. Everyone knows their bank balance is just a number in a computer.

The days of small iron safes are long gone. We intuitively know the computer always knows our bank balance and displaying it is as simple as asking a computer.

What else has changed? Think about what happens when paying for dinner with a debit card. You swipe your card. Swiping subtracts money from your bank account and adds it to the restaurant’s account.

On the swipe of your card, does our ready team of bank tellers rush into the vault and snatch stacks of cash off your pile and toss them onto the restaurant’s cash pile?

Of course not. Numbers update in a computer. That’s all that’s happening. The number representing your bank balance decreases, and the number representing the restaurant’s bank account increases by the same amount.

Where does all this occur? Good question; I’m glad you asked.

All the numbers are stored and updated in the bank’s cloud. You knew we had to get back to the cloud eventually.

Remember what the cloud looks like? It’s a big building full of computers.

Your bank built a cloud with lots and lots of computers. That’s where your money is stored, as numbers, on their computers, in their cloud.

CHECKING BALANCES ON AN ATM — HOW DOES IT WORK?

You’re at an ATM; you enter a valid PIN code. You press the show me my bank balance button. What happens next?

The ATM talks to the bank’s cloud over an electronic communication network, which is a lot like the phone system, only it doesn’t transmit your voice; it transmits your data.

When the ATM talks to the cloud, it requests your balance. That request is routed to one of the computers in the bank’s cloud. The computer knows who you are because you inserted a card identifying yourself. The computer looks up your balance and returns it back to the ATM.

Do you use an app or website instead of an ATM? They follow a very similar process.

WHAT LANGUAGE DO COMPUTERS USE TO TALK?

It’s not so very different from words written in a letter. In fact, the whole process resembles an exchange of letters; only it’s blisteringly fast because the exchange happens electronically.

The ATM sends a letter to the cloud, and the cloud replies with a letter.

Many letters are exchanged. Some letters are filled with requests; some are filled with information. A request looks like send the bank balance for Joe. And an informational reply contains a number like Joe’s bank account balance.

That back-and-forth style of exchange is how work gets done. It’s how your bank performs its job for you.

Humans work the same way. We talk to each other. We ask each other questions. We ask each other to do things. Eventually, the job gets done.

Of course, computers don’t actually exchange letters. They exchange messages which are electronically transmitted packets of data, but the idea is the same.

These back-and-forth exchanges of data—requests and responses—are how all programs talk to each other. It’s called an API or Application Programming Interface.

PAYING WITH A DEBIT CARD — HOW DOES IT WORK?

The same process occurs when you pay for a meal with a debit card at a restaurant.

You swipe your card on the card reader. The card reader talks to the cloud, letting it know who you are, which restaurant you’re in, and how much the meal cost.

A computer in the bank’s cloud takes money out of your account and adds it to the restaurant’s account. You’re now free to leave the building.

What I just described, checking a bank balance and paying with a debit card, is a service the bank provides. It’s a job the bank performs for you.

The bank implements both services using their cloud, so when you pay with a debit card or check your balance, those tasks are accomplished using a cloud service.

That’s what a cloud service is. It’s the job you can make computers do for you.

Where does the bank get its cloud? They could build their own datacenters or use a cloud provider.

A cloud provider is someone like Amazon Web Services (AWS), Microsoft Azure, or Google Cloud Platform (GCP). They build the datacenters we saw earlier and rent computers out to others over the internet.

PAYING WITH A WATCH — HOW DOES IT WORK?

It works the same way as using an ATM or debit card. The watch uses an API to talk to a cloud service, to carry out a job, using computers in a cloud.

When the next technology is invented to make payment easier, it will work the same way as well; only the details will change.

BACKEND, FRONTEND, CLIENT, SERVER, SERVER-SIDE, APPS, PROGRAMS

This example gives us an excellent opportunity to go over some basic terminology. We’ll cover most of these topics in greater detail later, but it’s good to start building up knowledge bit by bit.

Have you ever heard the terms backend and frontend?

In this example, the front end is the ATM, card reader, and watch. They are the user interface elements you interact with. They are in front of you. When using an app or website, the part you interact with is the front end. The front end can also be called the client.

The bank service in the cloud, the part implementing requests, is the backend. It’s behind the front. You never see the backend. You only ever see the front end. The backend can also be called the server or server-side.

Have you ever wondered what’s inside an ATM that makes it work? What tells the ATM what to do when you press a button, or what inside an ATM actually sends requests and does something with the responses? It’s called software.

Software is a set of instructions that carry out a job. The software you use most often are apps, programs, and websites. These will get their own chapter later.

The front end, back end, apps, programs, websites, and services all run on computers. And as we’ll see, using computers is what the cloud is all about.

If you’re ever unclear about how the cloud and cloud services work, think back to this example.

All these years, when you’ve been using your bank, you’ve been using—unbeknownst to you—both a cloud and a cloud service.

So don’t worry, you got this!

* * *

Now that you know more about the cloud, why do you think it succeeded? It may not be for the reasons you think.

CHAPTER FIVE

WHAT MADE AWS SUCCESSFUL?

Making developers happy is AWS’s secret sauce. In the same way, making their online retail customers happy has made Amazon the dominant retail power in the US, and making developers happy has made AWS the dominant cloud provider.

happy developers
Enjoying the preview?
Page 1 of 1