Using the AWS IoT SiteWise demo - AWS IoT SiteWise

Using the AWS IoT SiteWise demo

You can easily explore AWS IoT SiteWise by using the AWS IoT SiteWise demo. AWS IoT SiteWise provides the demo as an AWS CloudFormation template that you can deploy to create assets and generate sample data for up to a week.

Important

You will be charged for the resources that this demo creates and consumes.

Creating the AWS IoT SiteWise demo

You can create the AWS IoT SiteWise demo from the AWS IoT SiteWise or AWS CloudFormation consoles.

Note

The demo AWS CloudFormation template creates three Lambda functions, one CloudWatch Events rule, and the IAM roles required for the demo. You might see these resources in your AWS account. We recommend that you keep these resources until you're done with the demo. If you delete the resources, the demo might stop working correctly..

To create the demo in the AWS IoT SiteWise console

  1. Navigate to the AWS IoT SiteWise console and find the SiteWise demo in the upper-right corner of the page.

  2. (Optional) Under SiteWise demo, change the Days to keep demo assets field to specify how many days to keep the demo before deleting it.

  3. Choose Create demo.

    The demo takes around 3 minutes to create. If the demo fails to create, your account might have insufficient permissions. Switch to an account that has administrative permissions, or use the following steps to delete the demo and try again:

    1. Choose Delete demo.

      The demo takes around 15 minutes to delete.

    2. If the demo doesn't delete, open the AWS CloudFormation console, choose the stack named IoTSiteWiseDemoAssets, and choose Delete in the upper-right corner.

    3. If the demo fails to delete again, follow the steps in the AWS CloudFormation console to skip the resources that failed to delete, and try again.

  4. After the demo creates successfully, you can explore the demo assets and data in the AWS IoT SiteWise console.

To create the demo in AWS CloudFormation

  1. Open the AWS CloudFormation template for the demo.

  2. On the Create stack page, choose Next at the bottom of the page.

  3. On the Specify stack details page, choose Next.

  4. (Optional) On the Configure stack options page page, change the DemoDurationDays field to specify how many days to keep the demo before deleting it.

  5. Choose Next.

  6. At the bottom of the page, select the check box that says I acknowledge that AWS CloudFormation might create IAM resources.

  7. Choose Create stack.

    The stack takes around 3 minutes to create. If the stack fails to create, your account might have insufficient permissions. Switch to an account that has administrative permissions, or use the following steps to delete the demo and try again:

    1. Choose Delete in the upper-right corner.

      The stack takes around 15 minutes to delete.

    2. If the demo fails to delete, choose Delete in the upper right corner again.

    3. If the demo fails to delete again, follow the steps in the AWS CloudFormation console to skip the resources that failed to delete, and try again.

  8. After the AWS CloudFormation stack creates successfully, you can explore the demo assets and data in the AWS IoT SiteWise console.

Deleting the AWS IoT SiteWise demo

The AWS IoT SiteWise demo deletes itself after a week, or the number of days you chose if you created the demo stack from the AWS CloudFormation console. You can delete the demo before if you're done using the demo resources. You can also delete the demo if the demo fails to create. Use the following steps to delete the demo manually.

To delete the AWS IoT SiteWise demo

  1. Navigate to the AWS CloudFormation console.

  2. Choose IoTSiteWiseDemoAssets from the list of Stacks.

  3. Choose Delete.

    When you delete the stack, all of the resources created for the demo are deleted.

  4. In the confirmation dialog, choose Delete stack.

    The stack takes around 15 minutes to delete. If the demo fails to delete, choose Delete in the upper-right corner again. If the demo fails to delete again, follow the steps in the AWS CloudFormation console to skip the resources that failed to delete, and try again.