Video 1.2 introducing AWS IoT. In this video, we will learn the following a framework for understanding IoT. What is AWS? IoT, the architecture of AWS IoT. So let's dive right into understanding IoT first, imagine that you forgot to turn off the water heater at your home and left for work. What if you could get a phone alert, just after locking the door at your home, alerting you that the heater is turned on?
Isn't it great to enable communication between devices? With IoT, you would be able to do this for a broader and technical understanding of IoT. Let's go deeper. The generic IoT framework consists of five building blocks, namely things, connect, collect, learn, and do now, we look briefly into each of these building blocks. It can be any physical device with an Internet working capability, which can send and transmit the sensed data over a network. The words like think device, machine and equipment can be used interchangeably.
Connect. Generally, these things are connected to the internet in many ways to achieve greater connectivity and reach, collect, the data sensed by the things must be collected. The technologies today are designed to collect large amounts of data, as the things accumulate exponentially larger amounts of data than any person can learn. This large amount of data that is being streamed in by the things can be used to improve or control a situation only when meaningful insights can be drawn from the generated data. Generally, machine learning techniques are employed to learn from this data. Do this do blogs describes how the insights drawn from the Learn block are taken advantage of by the individual or organization to deliver the business outcomes.
Now that we have understood the basic components of the IoT platform, let's take a look at the AWS IoT platform. The AWS IoT is a part of the AWS cloud services. The AWS IoT is an Amazon web services platform that enables secure bi directional communication between internet connected devices, such as sensors, microcontrollers, development boats, and AWS cloud. AWS is the number one Cloud Platform holding 32% of the market share. So what makes AWS IoT a market leader? The wide range of device support software development kits, commonly known as SDKs, and the flexible Management Console, are some of the winning features of AWS IoT.
Don't worry if you're not familiar with these, we will explore them later in this course, AWS IoT architecture. These are the various components in AWS IoT. Let's start exploring the IoT Core components, starting with things. Things are specific devices or logical entities like development boats, physical devices and sensors. To simplify the complexity in understanding things can sense and Act does vary by an ESP 32 are some examples of things. Message Broker, in IoT, the devices connect to the internet, but what if the network connectivity is fluctuating or slow?
How can you ensure data communication in such cases, we need a broker for managing the message queue. A Message Broker takes the incoming messages from various applications and things, queues them performs the required actions. In AWS IoT. We use message queuing telemetry transport, commonly known as M Qt T, or HTTP protocol. Think registry. Think registry is just like a database for all the things that we have registered in our AWS IoT account, I think shadow, pink shadow is one of the unique features of AWS IoT.
Imagine that you work in the food industry, you all know that temperature plays a very important role in maintaining the quality of food. Also, assume that you are the person collecting and storing the temperature values using cloud and suddenly the internet connectivity is lost. What would you do? Would you like to lose some of the data? Obviously, no. II think shadow is a persistent virtual shadow of a thing defined in AWS IoT registry, thing shadow keeps things connected to the cloud, even during an intermittent connection.
By definition, it is a JSON document that stores and retrieves current state information for a thing. rules engine, there are many services provided by the AWS platform. So we need to define a rule for selecting the service, which we want to use for our application. Formerly, rules give your devices the ability to interact with AWS services, security and identity. Are you worried about your family member security? Isn't it cool to track your loved ones all the time and stored that data for the security purpose?
Yes, but what would happen if everyone can access this data? So it's crucial that we secure our IoT data? In AWS? each thing that is connected has a credential to access the Message Broker. This credentials must be kept safe by the user. All traffic to and from AWS IoT is encrypted for secure communication between AWS IoT and various devices or services.
Now that we have explored the various AWS IoT Core components, let's look into some of the services provided by AWS cloud. Let's start with Amazon dynamodb. For example, imagine that you have built an online shopping app and created a database for storing the details of the customers. At the very beginning, the people using your app might be in hundreds or thousands. But later, when more and more people start using your app, how would you manage the database for everyone? Amazon dynamodb does everything to make your life easy.
You just need to tell the service how many requests it should handle. dynamodb is a fully managed service which means that the main maintenance, administrative issues or hardware setup, configuration and software patching are done and managed by Amazon. Amazon dynamodb is basically a no SQL database service, wondering what is no SQL? And why does Amazon use it? No SQL is a database management system that stands for not only SQL. In this system, the data need not be structured, we can add or delete the data according to our preferences.
Amazon uses no SQL as it is a flexible database for storing and retrieving large amounts of data anytime. Amazon s3 s3 is a simple storage service where every customer can store any amount of data. It is highly secure, and you can retrieve your data anytime the data is divided into buckets for grouping purpose. This sounds like a database, isn't it? But there is a significant Difference between dynamodb and s3, s3 access is storage for any files, whereas dynamodb is just a database. Also, s3 can store a huge amount of data in each bucket.
Whereas a table in dynamodb can only hold small records. Now, we shall explore some more services provided by Amazon Amazon kinases. Think of how many emails you get on Gmail every day. Now is the same for all the people in us. Now think of the world. Lots and lots of data.
Wait, think of all possible data that can exist. Data is everywhere. To collect and analyze tons of data, we need sophisticated software and infrastructure. Amazon kinases makes it easy for us by providing the service for storing and analyzing tons of data continuously. AWS lambda AWS lambda is a company Good service where we can upload codes or functions and run them on Amazon's infrastructure. The codes can be written in the languages that the AWS SDK supports, lambda can be connected to s3 or dynamodb for storing the data.
Now let us see how all of these come together things or devices access AWS services through the AWS Message Broker, and the rules engine, their own SDK as AWS IoT provides SDK for various IoT device platforms. Wondering what is DK sir, SDK is a software development kit that provides a set of tools, libraries, relevant documentation, code samples, processes, and guides that allow developers to create software applications on a specific platform. full fledged IoT applications like smart homes smartwatches, and search can collect, store and analyze their data using the service services provided by the AWS cloud services directly. In this video, we covered the following a framework for understanding IoT, what is AWS IoT, the architecture of AWS IoT. In the next video, we will explore AWS IoT. See you in the next video.