1. Set up AWS Account
Creating AWS account is very easy. Just follow the instruction here. Since I already have an AWS account, I won't show the steps how to set up the account.
2. Create A Thing
After you set up AWS account, you can open AWS IoT Console. The first thing you want to do is to choose a region (highlighted at the top right corner) because the thing you created under one region won't be available at another region. Thus make sure you get the right region. Different region may have different services. You may also want to choose a region close to your location.
Click on Things menu at the left hand side. Then click on Create things button.
Since I only have one kit, I will choose Create single thing option.
Give my thing a name.
Let the system generate certificates for me.
If you don’t have a policy, you can create one.
Give a policy name, then choose Advanced mode to modify policy content.
Add the missing part so it looks like the following
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iot:*",
"Resource": "*"
}
]
}
Download all certificates and keys to your local machine because you may need them for the ModusToolbox project.
Now you have your thing on AWS IoT. In the next blog, I will modify template application and connect my kit to AWS IoT thing - water level monitor.