Preparation

Setup

Login into the AWS Console of your own account, choose one of the supported regions and click the respective icon:

Virginia (us-east-1) us-east-1
Ohio (us-east-2) us-east-1
Oregon (us-west-2) us-east-1

In the opened cloudformation page:

  1. Make sure your are in the selected region
  2. Accepted the default Stack Name
  3. Select I ackonwledge … checkbox
  4. Click Create stack Sign in
  1. Click the link to open the AWS Console
  2. Enter the provided Account ID
  3. Enter the provided IAM user name
  4. Enter the provided Password
  5. Click Sign In
  6. Make sure you are in the corrected designed region Sign in Sign in

Open the AWS Cloud9 IDE in your defined region

Before you get started you need to open the Cloud9 environment provided for this workshop.

Ads, javascript, and tracking blockers should be disabled for the Cloud9 domain, or connecting to the workspace might be impacted. Cloud9 requires third-party-cookies. You can whitelist the specific domains.

An instance of Cloud9 IDE, a powerful cloud development environment was already provisioned for you, with all the necessary files. Lets open it:

Click on the link to open Cloud9 console.

Click on the link to open Cloud9 console.

On the Cloud9 page, under Your environments:

  1. Locate the IoTCloud9 environment
  2. Click Open IDE OpenConsole Wait the Cloud9 become available and then execute the following actions:
  3. Close the Welcome tab
  4. Close the lower panel
  5. Click the + sign
  6. Click New terminal OpenConsole OpenConsole Before move on, lets install a pre-requisite to run the following tasks:
  7. Copy and paste the following command in the Cloud9 terminal
        sudo yum install jq -y
    
  8. Leave the Cloud 9 IDE tab open, you will use for all this hands-on lab.

Checking your Thing Fleet

Open the AWS IoT Console:

  1. Type iot core on the Find Services field
  2. Click on IoT Core result OpenConsole Under the IoT Home page, on the left menu:
  3. Click Get started
  4. Click Manage
  5. Click Things
  6. Notice the things, representing your smart air conditioning are already created and online
    • On the green panel, click skip quick tour
  7. Click on any of the things (Your thing numbers might be different from the screenshot) OpenConsole Under the thing detail page:
  8. Click Details
  9. Check its Attributes (Remember that your choosen thing might differ from the screenshot)
    • Notice the serial number
    • Notice the version
    • Notice the Location
      • You are going to use this info to add to the right thing group
      • These are static information added on thing creation time
  10. Click Shadow OpenConsole Under the shadow detail page:
  11. Notice the dynamic thing information
    • Notice led color
    • Notice alexa integration status
    • Notice powersave mode status
    • Notice vibration measures OpenConsole Leave the AWS IoT console open in this browser tab. You are going to use it in the rest of the lab.

Open the Fleet Dashboard

A web application to visually monitor your fleet has been provided. Let´s open it:

Open the AWS Cloudformation console in a new browser tab:

  1. Click Services on the upper left section of the console
  2. Type cloudformation on the Find Services field
  3. Click on Cloudformation result OpenConsole
  4. Click BuildersIoT Stack
  5. Click Outputs Tab
  6. Crtl + Click DashboardURL link, to open it in another browser tab OpenConsole
  7. You should see this screen (Devices and its locations might differ from your dashboard): OpenConsole

Leave the Fleet Dashboard tab open. You will use for the entire hands-on lab. You can move to the next section.