Deploy the Model Package and Edge Manager Agent with Amazon IoT Greengrass - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deploy the Model Package and Edge Manager Agent with Amazon IoT Greengrass

SageMaker Edge Manager integrates Amazon IoT Greengrass version 2 to simplify accessing, maintaining, and deploying the Edge Manager agent and model to your devices. Without Amazon IoT Greengrass V2, setting up your devices and fleets to use SageMaker Edge Manager requires you to manually copy the Edge Manager agent from an Amazon S3 release bucket. You use the agent to make predictions with models loaded onto your edge devices. With Amazon IoT Greengrass V2 and SageMaker Edge Manager integration, you can use Amazon IoT Greengrass V2 components. Components are pre-built software modules that can connect your edge devices to Amazon services or third-party service via Amazon IoT Greengrass.

You must install the Amazon IoT Greengrass Core software onto your device(s) if you want to use Amazon IoT Greengrass V2 to deploy the Edge Manager agent and your model. For more information about device requirements and how to set up your devices, see Setting up Amazon IoT Greengrass core devices in the Amazon IoT Greengrass documentation.

You use the following three components to deploy the Edge Manager agent:

  • A pre-built public component: SageMaker maintains the public Edge Manager component.

  • A autogenerated private component: The private component is autogenerated when you package your machine learning model with the CreateEdgePackagingJob API and specify GreengrassV2Component for the Edge Manager API field PresetDeploymentType.

  • A custom component: This is the inference application that is responsible for preprocessing and making inferences on your device. You must create this component. See either Create a Hello World custom component in the SageMaker Edge Manager documentation or Create custom Amazon IoT Greengrass components in the Amazon IoT Greengrass documentation for more information on how to create custom components.