Skip to main content

Featured

Space Explorers Book 7: Answers and Explanations

Memunic Space Explorers › Book 7: Memoon and the Search for Another Home › Answers and Explanations Answers and Explanations Habitable means life could live there; inhabited means life does live there. A world can be habitable and empty, as an unoccupied flat has a roof and water but nobody in it. The Moon has almost no air, so water would boil or freeze, and its gravity is only about one-sixth of Earth’s, too weak to keep air. Accept also: no greenhouse blanket, so it swings between very hot and very cold. Venus. It matches Earth in size and roughly in mass, but its thick carbon dioxide air traps heat, making it hot and crushing. “Twin” is only true for size and weight. A dip of 1 per cent means (planet width divided by star width) squared is 0.01, so the ratio is 0.1: the planet is about a tenth as wide as the star. Repeats at the same gap show the planet is going round the star in 12 days, and rule out a one-time event such as a passing object. A planet shines only by reflected l...

Byte by Byte Book 7: Chapter 2 – Cloud Computing, IoT and Emerging Technologies

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:

  1. On-demand self-service: you can get more storage or computing power whenever you need it, without asking a person.
  2. Broad network access: you can reach it from any device with an internet connection.
  3. Resource pooling: many customers share the same huge pool of servers.
  4. Rapid elasticity (scalability): resources grow or shrink quickly to match demand, for example when millions of students check exam results at the same moment.
  5. 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

ModelWhat you manageExamples

gives you

IaaS (Infrastructure as a Service)Virtual servers, storage and networksThe operating system, software and dataMicrosoft Azure virtual machines, Amazon EC2
PaaS (Platform as a Service)A ready platform to build and run your own appsOnly your app and its dataGoogle 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 appJust your own files and settingsGmail, 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.

BenefitsRisks
Reach your files and apps from anywhereNeeds a reliable internet connection
No need to buy powerful hardwareSomeone else holds your data; you must trust their security and privacy
Automatic backups and updatesAccounts can be hacked if passwords are weak
Easy to share and collaborateCosts can grow if you use a lot
Scales up instantly when demand risesOutages 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:

  1. Sensors measure something in the physical world: temperature, light, motion, location, soil moisture, heart rate.
  2. Connectivity sends the data onward, using Wi-Fi, Bluetooth, mobile networks or special low-power networks.
  3. Processing, usually in the cloud, turns the data into a decision: "the soil is dry", "someone is at the door".
  1. 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.

TechnologyWhat it isExample uses
Augmented reality (AR)Adds digital images or information on top of your view of the real world, through a phone camera or smart glassesSeeing 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 movementsFlight 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 themEngineers examining a 3D model of an engine on a real table
BlockchainA 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 changedCryptocurrencies, tracking food supply chains, certificates that can be checked
3D printingBuilding a solid object layer by layer from a digital 3D model, often in melted plasticPrototypes, spare parts, prosthetic limbs, model buildings
RoboticsMachines that sense their surroundings, make decisions and move to carry out tasksFactory arms, warehouse robots, surgical robots, robot vacuum cleaners
DronesUnmanned aircraft flown remotely or automaticallyCrop spraying, mapping, delivering medicines to remote areas, disaster surveys
Edge computingProcessing data close to where it is created (on the device or a nearby server) instead of sending it all to a distant cloudSelf-driving cars that must react in milliseconds; factory sensors
Quantum computingComputers that use qubits, which can be in a combination of 0 and 1 at once, to solve certain problems far faster than ordinary computersStill 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.

Illustration from Byte by Byte Book 7: Chapter 2 – Cloud Computing, IoT and Emerging Technologies

🛠️ Build It

Activity 1: Find the cloud on your own computer.

  1. 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?
  2. 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.)
  3. 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

  1. What is cloud computing? Give two examples of cloud services you or your family use.
  2. Name the five key features of cloud computing.
  3. 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.
  4. What is the difference between a public cloud and a private cloud?
  5. Give two benefits and two risks of storing your files in the cloud.
  6. What is the Internet of Things? Name its four parts.
  7. What is the difference between a sensor and an actuator? Give one example of each.
  8. What is a botnet, and what is a DDoS attack?
  9. Why were so many devices captured by the Mirai botnet? How could it have been prevented?
  10. 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.
  11. 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.

Watch this chapter on YouTube

Comments

Popular posts from this blog

CA-7 Job Status and Failure Reason Codes

Here are the various status codes that You may see for jobs in the Queue or Logs in CA-7. R-C0002 R-C0003 R-C0099 R-C0255 R-JCLER A-U0002 A-U0004 A-U0015 A-U0043 A-U4095 A-SOC7 A-U4000 Reason Code/Job Status Code explanation: The indication of the job's current disposition. Values and their meanings are: A-Snnnn-- The job has failed with a system abend. A-Unnnn --The job has failed with a user abend. C-Cnnnn --The job has completed successfully and is going through completion processing. E-ARFATT-- An error occurred during the attempt to attach ARF definitions. This can result if the ARFSET specified is not defined. A diagnostic message may have been written to the CA-7 log, the OS console, or to the trailer queue for the job (in which case it can be displayed using LQ,JOB=x,LIST=ALL). E-ARFERR ---The job encountered an error in the ARF processing. Do a LARFQ command for the job to get more specific information. E-SEGERR --The job has been requeued...

Whistling Winds and Waterfalls: 4 Days of Magic in Shillong

Nestled in the clouds, where the scent of pine trees mingles with the rhythm of waterfalls and the tunes of local guitar-strumming youth—Shillong is more than a place. It’s a vibe. If you’ve got 3 nights and 4 days, you’ve got just enough time to fall in love. Here’s how to make the most of it—food, fun, fog and fantastic views included. Day 1: Shillong, We’re Coming for You! You land in Guwahati, barely out of the airport when the hills start calling. You hop into your cab, Spotify on, windows down, and the three-hour ride to Shillong begins. Just when you think it can’t get better, you stop at Umiam Lake —a lake so calm, it looks like someone ironed the water. By evening, you’re sipping hot chai in Laitumkhrah, maybe nibbling on spicy momos or pork jadoh from a roadside stall. You’re checked into your charming hotel ( Tripura Castle if you fancy old-world royalty, Ri Kynjai if you’re into lakeside poetry). The breeze whispers secrets of waterfalls and pine forests. Sleep well, drea...

Installing and Configuring Hadoop on Ubuntu as a Pseudo Distributed Single Node Cluster

Briefly what is psuedo-distributed single node Hadoop cluster: It is a Hadoop distributed cluster having Single Node. All the five daemons (NN,DN,JT,TT,SNN) are running as individual JVM (java process) instances. We will get all distributed features of Hadoop. This mode is used to develop, test, and staging (before production) Map Reduce programs quickly. It writes all the system, daemon and user logs to different files on the cluster To install Hadoop in this mode, we have to modify the hadoop-env.sh, core-site.xml, hdfs-site.xml, mapred-site.xml. hadoop-env.sh contains all the Environment variables which are required for running Hadoop. All the default values are fine, Only we have to modify the JAVA_HOME=“The location of Java Home Directory” Core-site.xml contains all the cluster specific information like io, temp directory, sorting, file system uri etc. Hdfs-site.xml contains all the parameters which are specific to HDFS like name node directory, data node directory...