Byte by Byte › Book 7: Networks, Programming and Machine Learning › Chapter 2: Cloud Computing, IoT and Emerging Technologies
Chapter 2: Cloud Computing, IoT and Emerging Technologies
You will learn: what cloud computing is, the three cloud service models (IaaS, PaaS, SaaS) and deployment models, how the Internet of Things works, why IoT devices are a security risk, what a botnet is, and the key ideas behind augmented and virtual reality, blockchain, 3D printing, robotics, drones, edge computing and quantum computing.
🔎 The Case
Every home in Memunic seemed to have an echo bird. They were small brass birds that perched on rooftops and windowsills, chirped the weather forecast in the morning, carried short messages between neighbours and told you when your parcel had arrived. Spike the hedgehog had designed them in his workshop in Pebble Hollow. They cost almost nothing, and they had sold by the thousand.
Spike was not happy to see Memoon, Vega and Frost at his door. "My birds are perfectly safe," he said, arms folded, quills up. "Every one has a password."
"What password?" asked Vega.
Spike hesitated. "The same one. It's printed on the box. 1234 . People are supposed to change it."
"Do they?"
Silence.
Memoon opened her laptop and connected to the bird on Spike's own windowsill. Its settings page loaded instantly: 1234 worked. In its list of recent activity were hundreds of messages it had sent that its owner had never written, all in the early hours of Sunday morning. Something else had been giving it orders.
"The birds don't store anything themselves," said Spike, more quietly now. "They send everything to Cloudhall, the big server hall at Snowpeak, and Cloudhall sends back the forecasts."
"So whoever controls the birds has forty thousand little computers on every roof in Memunic," said Frost, "all connected to the cloud, all doing exactly as they're told."
💡 The Concepts
What is cloud computing? Cloud computing means using computing resources, such as storage, processing power and software, that run on someone else's servers in a data centre, reached over the internet, instead of on your own device. "The cloud" sounds like something floating in the sky, but it is very solid: huge buildings full of servers, cooling systems and backup generators.
Cloud services have five key features:
- On-demand self-service: you can get more storage or computing power whenever you need it, without asking a person.
- Broad network access: you can reach it from any device with an internet connection.
- Resource pooling: many customers share the same huge pool of servers.
- Rapid elasticity (scalability): resources grow or shrink quickly to match demand, for example when millions of students check exam results at the same moment.
- Measured service: you pay for what you use, like an electricity bill.
The three service models. Think of eating pizza. You can make it all yourself at home, buy a pizza base and add your own toppings, or have it delivered ready to eat. Cloud services offer the same choice.
What the provider
| Model | What you manage | Examples |
|---|
gives you
| IaaS (Infrastructure as a Service) | Virtual servers, storage and networks | The operating system, software and data | Microsoft Azure virtual machines, Amazon EC2 |
| PaaS (Platform as a Service) | A ready platform to build and run your own apps | Only your app and its data | Google App Engine; MIT App Inventor's build service, which you will use in Chapter 11 |
| SaaS (Software as a Service) | Complete software that runs in a browser or app | Just your own files and settings | Gmail, Microsoft 365 for the web, Google Docs, OneDrive, Canva |
Most people use SaaS every day without noticing. When you edit a document in Word for the web, the program and the file are both in the cloud.
Deployment models. A public cloud is shared by many customers and run by a provider such as Microsoft, Amazon or Google. A private cloud is used by one organisation only, for example a bank that keeps customer data on its own servers. A hybrid cloud mixes the two. A community cloud is shared by organisations with similar needs, such as government departments.
Benefits and risks.
| Benefits | Risks |
|---|---|
| Reach your files and apps from anywhere | Needs a reliable internet connection |
| No need to buy powerful hardware | Someone else holds your data; you must trust their security and privacy |
| Automatic backups and updates | Accounts can be hacked if passwords are weak |
| Easy to share and collaborate | Costs can grow if you use a lot |
| Scales up instantly when demand rises | Outages at the provider affect millions of users at once |
Real World: Indian services such as DigiLocker (your official documents stored in the cloud), UPI payments and exam result websites all run on large cloud and data-centre systems that must handle crores of users. Under the DPDP Act 2023, which you met in Book 6, organisations that store Indians' personal data must protect it and use it only for the purpose they collected it for.
The Internet of Things (IoT). The Internet of Things is the huge network of everyday physical objects that have sensors, software and a network connection, so they can collect data and be controlled over the internet. Smart speakers, fitness bands, smart bulbs, CCTV cameras, connected cars, smart electricity meters and city traffic sensors are all IoT devices.
Every IoT system has four parts:
- Sensors measure something in the physical world: temperature, light, motion, location, soil moisture, heart rate.
- Connectivity sends the data onward, using Wi-Fi, Bluetooth, mobile networks or special low-power networks.
- Processing, usually in the cloud, turns the data into a decision: "the soil is dry", "someone is at the door".
- Actuators or a user interface carry out the result: an actuator is a part that makes something happen in the physical world, such as a motor that opens a valve, a lock that clicks shut, or a buzzer. Or the result appears as a notification on your phone.
For example, in a smart irrigation system, a soil-moisture sensor reports that a field is dry, the cloud software checks the weather forecast, and if no rain is coming, an actuator opens a valve to water the crops.
Why IoT devices are a security risk. IoT devices are often cheap, made quickly, and left running for years without anyone looking at them. Common weaknesses:
- Default passwords that are never changed, or are the same on every device.
- No updates: the manufacturer never fixes security holes, or the owner never installs the fixes.
- Too much data: cameras, microphones and location trackers collect sensitive information.
- Invisible activity: if a smart bulb is hacked, it still lights up, so nobody notices.
A botnet (robot network) is a group of devices that have been secretly infected with malware and are controlled by an attacker, often without the owners knowing. Each infected device is called a bot or zombie. Attackers use botnets to send spam, spread fake posts, steal data, or carry out a DDoS attack (distributed denial of service), where thousands of devices flood a website with traffic at once so real users cannot reach it.
This really happened. In 2016, the Mirai botnet took over hundreds of thousands of IoT devices, mostly cameras and home routers that still used default usernames and passwords. It used them to flood major internet services with traffic, and many popular websites became unreachable for hours. The fix for most of those devices would have taken one minute: changing a password.
Protecting IoT devices. Change default passwords immediately; install firmware updates; turn off features you do not use; put smart devices on a separate guest Wi-Fi network if your router allows it; and buy from makers who promise security updates.
Emerging technologies. These technologies are changing fast. Here is what each one really is.
| Technology | What it is | Example uses |
|---|---|---|
| Augmented reality (AR) | Adds digital images or information on top of your view of the real world, through a phone camera or smart glasses | Seeing how a sofa looks in your room before buying; museum guides; navigation arrows on the road |
| Virtual reality (VR) | Places you inside a completely computer-generated 3D world, using a headset that tracks your head movements | Flight and surgery training, virtual field trips, games |
| Mixed reality (MR) | Digital objects that sit in the real world and react to it, so you can walk around them | Engineers examining a 3D model of an engine on a real table |
| Blockchain | A shared digital record (a ledger) copied across many computers, where data is stored in linked blocks; each block contains a fingerprint (a hash, see Chapter 3) of the one before, so past records cannot be secretly changed | Cryptocurrencies, tracking food supply chains, certificates that can be checked |
| 3D printing | Building a solid object layer by layer from a digital 3D model, often in melted plastic | Prototypes, spare parts, prosthetic limbs, model buildings |
| Robotics | Machines that sense their surroundings, make decisions and move to carry out tasks | Factory arms, warehouse robots, surgical robots, robot vacuum cleaners |
| Drones | Unmanned aircraft flown remotely or automatically | Crop spraying, mapping, delivering medicines to remote areas, disaster surveys |
| Edge computing | Processing data close to where it is created (on the device or a nearby server) instead of sending it all to a distant cloud | Self-driving cars that must react in milliseconds; factory sensors |
| Quantum computing | Computers that use qubits, which can be in a combination of 0 and 1 at once, to solve certain problems far faster than ordinary computers | Still mostly experimental: designing new medicines and materials, and one day breaking some of today's encryption |
Think About It: A city wants to put AI-connected cameras at every crossroad to reduce traffic jams and catch traffic offences. What are the benefits? What could go wrong with privacy? Who should be allowed to see the footage, and for how long should it be kept?
Career Spotlight: Cloud engineer and IoT developer. Cloud engineers design and run the systems that keep apps online for millions of users. IoT developers build the devices, firmware and cloud software behind smart homes, smart farms and smart cities. Both jobs now put security first.

🛠️ Build It
Activity 1: Find the cloud on your own computer.
- Click the OneDrive cloud icon in the taskbar (near the clock), if it is set up. Is OneDrive signed in? How much storage is used out of how much?
- Open File Explorer and look at the left panel. Which folders are synced to the cloud? (Synced files show small cloud or tick icons in the Status column.)
- With a grown-up, open office.com in Edge and look at the apps listed. Which cloud service model are these: IaaS, PaaS or SaaS?
Activity 2: IoT audit. With your family, list every connected device in your home: phones, TVs, speakers, cameras, smart plugs, watches, game consoles, the router. For each, record: what sensors it has, what it connects to, and whether its default password has been changed and its software updated. Mark any device that has a camera or microphone. Agree together on one improvement you will make.
Activity 3: Design an IoT system. Choose one problem: saving water in your school garden, warning when a classroom gets too hot, or reminding a grandparent to take medicine. Draw the system with its four parts labelled: sensors, connectivity, processing and actuators or user interface. Then write two security rules for it.
Unplugged: Build a botnet (and stop it). One person is the attacker and stays outside the room. Everyone else is a device holding a card with a password; most write 1234 , a few choose their own. The attacker comes in and tries 1234 on each device: every device that matches becomes a "zombie" and must stand up. The attacker then shouts "Flood!" and all zombies clap at once at one target person, who cannot hear anyone else. Play again after everyone changes their password. How big was the botnet each time?
✅ Case Closed
Spike sat with his head in his paws. "I just wanted them to be easy to set up."
"Easy for owners means easy for attackers," said Vega, but not unkindly this time.
Memoon read through the bird's activity log. The orders had arrived from an unknown address that had logged in to every bird with 1234 , installed a tiny extra program, and told all of them to wait. At 6:42 on Sunday, forty birds near Moonbrook market had posted the picture. The rest had "liked" and re-shared it, so that it looked as if thousands of villagers agreed with it.
"It wasn't thousands of people," Memoon said. "It was one person and a botnet."
They worked through the night. Frost and Spike wrote a firmware update that removed the hidden program, closed the hole and forced every owner to choose a new password the next time they used their bird. Cloudhall pushed the update to every echo bird in Memunic at once. One by one, the red activity lights on Frost's map went dark.
As the last one switched off, a brass bird fluttered down onto Memoon's laptop. In its beak was a tiny curled strip of paper, a message the attacker had sent to the birds and forgotten to delete. Memoon unrolled it.
SKDVH WZR: WKH PLUURU HQJLQH. PHHW DW WKH ROG PLOO. J
"It's nonsense," said Spike.
"No," said Memoon. "It's a code."
❓ Test Yourself
- What is cloud computing? Give two examples of cloud services you or your family use.
- Name the five key features of cloud computing.
- Match each service model to its example: (a) IaaS, (b) PaaS, (c) SaaS. Examples: (i) editing a presentation in PowerPoint for the web; (ii) renting virtual servers to run your own operating system; (iii) a ready-made platform where you build and run your own app.
- What is the difference between a public cloud and a private cloud?
- Give two benefits and two risks of storing your files in the cloud.
- What is the Internet of Things? Name its four parts.
- What is the difference between a sensor and an actuator? Give one example of each.
- What is a botnet, and what is a DDoS attack?
- Why were so many devices captured by the Mirai botnet? How could it have been prevented?
- Match: (a) AR, (b) VR, (c) blockchain, (d) edge computing. Descriptions: (i) a shared ledger of linked blocks that cannot be secretly changed; (ii) processing data near where it is created; (iii) digital information added on top of the real world; (iv) a fully computer-generated world seen through a headset.
- Challenge: Your school wants smart CCTV cameras connected to the cloud. Write five security and privacy rules the school should follow.
📚 Key Terms
- Cloud computing: using storage, processing and software on remote servers reached over the internet.
- Data centre: a building full of servers, storage and network equipment.
- Scalability (elasticity): the ability to increase or reduce resources quickly to match demand.
- IaaS: Infrastructure as a Service; renting virtual servers, storage and networks.
- PaaS: Platform as a Service; a ready platform for building and running your own apps.
- SaaS: Software as a Service; complete software used over the internet.
- Public, private, hybrid and community cloud: the ways a cloud can be shared or kept private.
- Internet of Things (IoT): everyday objects with sensors, software and network connections.
- Sensor: a device that measures something in the physical world.
- Actuator: a part that makes something happen physically, such as a motor or lock.
- Default password: the password a device comes with from the factory.
- Botnet: a group of infected devices secretly controlled by an attacker.
- Bot (zombie): one device in a botnet.
- DDoS attack: flooding a service with traffic from many devices so real users cannot reach it.
- Augmented reality (AR): digital content added on top of a view of the real world.
- Virtual reality (VR): a fully computer-generated world experienced through a headset.
- Mixed reality (MR): digital objects placed in the real world that react to it.
- Blockchain: a shared ledger of linked blocks copied across many computers.
- 3D printing: making a solid object layer by layer from a digital model.
- Robotics: designing machines that sense, decide and move to do tasks.
- Drone: an unmanned aircraft.
- Edge computing: processing data close to where it is created.
- Quantum computing: computing with qubits, which can combine 0 and 1 at once.
Keep learning with Byte by Byte
Explore Book 7: Networks, Programming and Machine Learning. Find the ebook, purchase details and teaching slides on MemuniCity.
Comments
Post a Comment