Creating and managing job templates (console) - AWS IoT Core

Creating and managing job templates (console)

Note

The job templates feature is in preview and subject to change.

This topic explains how to create, delete, and view details about job templates by using the AWS IoT console.

Create a job template from scratch

  1. Browse to the AWS IoT console.

  2. In the navigation pane, choose Manage, and then choose Job templates.

    Note

    You can also navigate to the Job templates page from the Related services page under Fleet Hub.

  3. Choose Create job template.

  4. Enter an alphanumeric identifier for your job.

  5. Enter an alphanumeric description for your job.

    Note

    We do not recommend using personally identifiable information in your job IDs or descriptions.

  6. Under Job template document, enter the S3 URL or choose Browse S3, and then navigate to your job document and select it.

    Note

    Currently you can select only S3 buckets in your current region.

  7. Specify values for any advanced configurations, and then choose Create job template. Your new job template appears on the Job templates page.

    For more information about rollout and abort configurations, see Job rollout and abort configuration. For more information about timeout configurations, see timeouts.

Create a job template from an existing job

  1. Browse to the AWS IoT console.

  2. In the navigation pane, choose Manage, and then choose Jobs.

  3. Select the job that you want to use as the basis of the job template and choose Copy to job template.

  4. Enter an alphanumeric identifier for your job.

  5. Enter an alphanumeric description for your job.

  6. Optionally select a different job document or edit the advanced configurations from the original job, and then choose Create job template. Your new job template appears on the Job templates page.

Create a job from a job template

  1. Browse to the AWS IoT console.

  2. In the navigation pane, choose Manage, and then choose Job templates.

  3. Find the job template you want to use and then navigate to its details page. Choose Create job with this template.

  4. Enter a unique alphanumeric name for the job.

  5. Enter an alphanumeric description for the job.

  6. Optionally add tags to the job. Choose Next.

  7. On the File configuration page, under Devices, select the things and thing groups for the job to target.

  8. Under File, verify that the Amazon S3 URL is correct. If you want to use a different job document, choose Browse and select a different bucket and document. Choose Next.

  9. On the Job configuration page, select the job run type. A job can either be a continuous or a snapshot job. A snapshot job is complete when it finishes its run on the target devices and groups. A continuous job applies to thing groups and runs on any device that you subsequently add to a specified target group.

  10. Optionally edit the advanced configurations from the job template, and then choose Next.

  11. On the Review and create page, review your job's properties and configurations. Choose Edit for any set of properties and configurations that you want to change.

  12. Choose Submit. Your new job appears on the Jobs page.

You can also create jobs from job templates with Fleet Hub web applications. For information about creating jobs in Fleet Hub, see Working with job templates in Fleet Hub for AWS IoT Device Management.

Delete a job template

  1. Browse to the AWS IoT console.

  2. In the navigation pane, choose Manage, and then choose Job templates.

  3. Find and select the job template you want to delete.

  4. Choose Delete.

  5. The job template no longer appears on the Job templates page.