Skip to content

OfferZen-Community/iot_robots-activity-create_aws_thing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Make: IoT Robots

Register an IoT Device on AWS

AWS IoT logo

Outcome

In performing this activity, you'll create a thing on AWS IoT Cloud, create and attach a certificate to your thing, and attach a policy to your thing's certificate.

Activity

Step 1: Sign into AWS IoT Cloud with your maker account.

Sign in page: https://offerzen-make.signin.aws.amazon.com/console
Credentials: These have been mailed to you.

After logging in, ensure that you are in the Ohio region. There's a region-select dropdown next to your name in the top right of the page.

Step 2: Navigate to the IoT Cloud's dashboard page.

  1. Search for the Iot-Core service in the search bar and select that to navigate to the IoT-Core service.

  1. There is a tutorial that you can follow and documentation to explore, so feel free to do so if you wish.

Step 3: Create a Thing

  1. Click on "Manage" and then "Things" in the sidebar. This will show you a list of things that have previously been created. Next click on the "Create" button.

  1. Click on "Create a single thing".

  1. Name your thing. There are several extra options here that we're not going to use right now. A thing can be given a type, added to a group, and given attributes. For now, just scroll to the bottom and click "Next".

Step 4: Create a Certificate and attach it to your Thing

  1. Next to "One-click certificate creation", click on "Create certificate".

  1. Next we'll download all the files required for connecting to AWS-IoT. There are three files you need:
  • The certificate (cert.pem file).
  • The private key (private.key file).
  • The root CA. Follow the "download" link, and on the next page download the VeriSign Class 3 Public Primary G5 root CA certificate (right click -> "download linked file")

  1. Activate your certificate by clicking on "Activate". Don't forget this step! You can now continue by clicking on "Attach a policy".

Step 5: Attach a Policy to your Certificate

  1. Now you'll see a list of policies that can be attached to our thing's certificate.

  1. We've created a policy called maker-policy that has all the required permissions for this exercize. Search for it, select it, and click on "Register Thing".

That's it! You've created a thing, created a certifiate and attached it to your thing, and attached a policy to your thing.

If you're interested in how the policy has been set up, you can click on "Secure", then "Policies", and search for maker-policy to have a look at the policy document.

Stuck?

If you need help, ask in Make Slack in your team channel, and tag @dan.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published