How to Get Started with AWS IoT Core Quick Connect

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi my name is dave malone i'm an iot solutions architect for aws and in this video we will cover how to quickly get started with aws iot in a limited fashion simply to get comfortable with how it works and to learn some of the basic processes if you will be looking to connect and use more advanced features right away i suggest going to the aws iot developer documentation for deeper instruction in this video we'll create our first thing connect a device to it and watch it send mqtt messages to follow along you will need an aws account and it's best to have an iot device at hand such as raspberry pi or you can even use your personal computer just to quickly visualize what we'll be building you can see this simple architecture where we have our device the cloud and how those devices connect to the cloud via aws iot core you will begin by logging into your aws management console once there navigate to the aws iot core service when you enter the aws iot console click learn in the bottom left-hand navigation menu there you will see three options select the middle option we will be onboarding a single device so choose the left option this page tells us what we will be doing in this next step we will be registering a device in the iot core thing registry we will be downloading a connection kit which is comprised of our security credentials and sdk of our choice and a sample project and we will be configuring and testing our device aws iot provides several options choose your platform and device sdk language the steps are largely the same but for the purpose of this video we will choose linux oxx and python to register your thing you'll be prompted to create a name since this is simply a demonstration of how the service functionality works i wouldn't worry about the name too much but when you start building note that you cannot change the thing name once it's created you would have to delete it and create a new thing with a different name so it's worth spending some time now thinking about your naming conventions when you hit next aws iot will create your connection kit which comprises three things first it has your things certificate files which are used to authenticate your device second it has a policy resource to authorize your thing object to interact with aws iot core finally it has a script to download the aws device sdk and run the sample program on your device make sure to click the download connection kit button i'm running this on my computer and not on my device so i'll save this connection kit file to a local directory and then run it from there i've downloaded the file to a folder that i created on my desktop you'll see the file is called connect underscore device underscore package and it's a zip file to run this i first have to unzip this directory and i'm going to do so in the terminal you'll see that there are a few files that came as part of this connect kit the next thing that i'll need to do to run this per the instructions is to modify the permissions on this start shell script by adding the execution permission once that's changed then i can run this command which will download the sample sdk code from one of aws's public github repositories it will then run the sample code using the downloaded connection keys for the demo thing shown here and connect to aws iot core once the project downloads and begins running it will begin publishing test messages up to aws iot core as you can see in the console the program is executing a simple loop it's simply publishing hello world as a message and incrementing a sequence variable and sending that message up to aws iot core i'm going to go back into the aws iot core console where you can see the messages are flowing through correctly this is to help validate that everything is working as expected and then our devices are ready to connect we can go ahead and click done at this point now that we see the messages coming through the other way to test that devices are successfully working is to go to the test portion of the aws iot console one quick and easy way to test whether messages are coming through the mqtt broker in itabies iot core is to subscribe to the special topic known as the pound topic which will subscribe to all mqtt topics as they're being used by the broker and again if i scroll down within the console i will see the messages coming through as expected so in this video we successfully created our first thing registered a device and connected it to our thing and then we used mqtt messages to send data from the device using the sample program up through aws iot core now that you've connected to a device you could do a number of things such as send the data that you're receiving through iot core rules engine to services such as our amazon s3 to store the messages or to amazon dynamodb our nosql database where you can then build aws applications on top of those
Info
Channel: Amazon Web Services
Views: 20,744
Rating: undefined out of 5
Keywords: AWS, Amazon Web Services, Cloud, AWS Cloud, Cloud Computing, IoT, Internet of Things
Id: 6w9a6y_-T2o
Channel Id: undefined
Length: 7min 12sec (432 seconds)
Published: Fri Oct 23 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.