Amazon Web Services

The most advanced Cloud Computing platform in demand which makes life easier for different IT infrastructural solutions. Corporate, Enterprise, Startups and much other different organization are using the AWS for development of a various application like Mobile Apps, Cloud-based, Web apps etc.

Image for post
Image for post

As to connect the application with AWS, Amazon has introduced the special service called AWS IoT Core. Internet of things is one of the major which connects all the Real devices with Internet and helps users to control and monitor their from anywhere worldwide through the internet.

This Blogtut will direct you to the first step of setup in AWS IoT Core and how will you be able to connect your Gateway Receiver with AWS IoT

  • Open Aws — (aws.amazon.com) in the web browser
  • Click On SignUp(Top Right Corner)
  • Click on Create Free Account

Note:

While Creating the free account you have to enter your Credit/Debit as well as PAN card details and AWS will deduct only INR 2.00 for confirmation. After you will be able to use the free trial account for 12 months with the terms and conditions which we should take care of not get a charge in a free trial account

After Account Setup

  • Click on My Account
  • Click AWS management console
Image for post
Image for post
  • Mention your Credentials Username and password with which you have signup in AWS
  • After Sign in -> Go to Find Services Search bar
  • Write AWS IOT Core Or Select the AWS IOT core from All Services which are mentioned below and Click on it.
Image for post
Image for post

To Create AWS Certificate and policies to use AWS IOT with MQTT

  • Click on Manage(Left Hand Side Bar)
  • Click on Things(Left Hand Side Bar below Manage)
  • Click on Create(Right Hand Side)
Image for post
Image for post

Note:

If You are New User and you don’t have any certificate then also click on Register a Thing to create a new certificate. After that, every task will be similar

  • Click on Create a Single Thing
Image for post
Image for post
  • Give the thing a name (Do not create Type or give attribute key for starting)
Image for post
Image for post
  • Click On Next
Image for post
Image for post
  • Click on Create Certificate
Image for post
Image for post
  • Download all three Certificate and Activate
  • Click on RSA Download button
Image for post
Image for post
  • In the next screen Click on RSA 2048 bit key: Amazon Root CA 1
Image for post
Image for post
  • From Next screen copy everything from the browser page and store it in your desktop with the name of Root File
Image for post
Image for post
  • In the previous browser page Attach the policy
  • Click Register Thing
Image for post
Image for post

After Registering Thing

  • Click on Secure(Left-hand Side Bar)
  • Click on Policies(Left-hand Side Bar)
Image for post
Image for post
  • Click on the Create (Right-hand Side)
Image for post
Image for post

Note:

If You are New User and you don’t have any policy then also click on Create Policy to create a new policy. After that every task will be similar

  • In the next page give a name to the policy
  • In Add Statement in the Action text bar write iot*
  • In Resource ARN Text Bar write ‘*’

Note: ‘*’ in Resource will help users to use all the functionality

  • Click on Allow Check Box

To add the MQTT functionality of Publish and Subscribe

  • Click Add Statement(to add the specific functionality)
  • In Add Statement in the Action text bar write iot*publish
  • No changes will be there in Resource ARN Text Bar
  • Click on Allow Check Box
Image for post
Image for post
  • Click Create
Image for post
Image for post
  • Click on Certificate(left-hand sidebar)
  • Double Click on certificate
Image for post
Image for post
  • Click → Action (Right-hand Side)Attach Policy
Image for post
Image for post
  • Select the policy and click Attach
Image for post
Image for post

Finally, you are ready to use the certificates with your first Code created for the Real-Time Application which Sends the Wireless Vibration sensor data to AWS IOT Core.

You can Learn about the application using the Blog Post also.

Written by

IOT developer, Technical Writer, Beginner in blogging, Passionate about about present, Experienced about past.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store