# \[Blog and Sample Application\] Deploy and Manage ROS Robots with AWS IoT Greengrass 2.0 and Docker

**URL:** https://discourse.openrobotics.org/t/blog-and-sample-application-deploy-and-manage-ros-robots-with-aws-iot-greengrass-2-0-and-docker/20886
**Category:** ROS General
**Created:** [June 11, 2021, 2:15pm UTC](https://discourse.openrobotics.org/t/blog-and-sample-application-deploy-and-manage-ros-robots-with-aws-iot-greengrass-2-0-and-docker/20886 "2021-06-11T14:15:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jerwallace](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/jerwallace/32/6262_2.png) [@jerwallace](https://discourse.openrobotics.org/u/jerwallace)
#### Post date: [June 11, 2021, 2:15pm UTC](https://discourse.openrobotics.org/t/blog-and-sample-application-deploy-and-manage-ros-robots-with-aws-iot-greengrass-2-0-and-docker/20886/1 "2021-06-11T14:15:36Z")

</div>

Hi All!

AWS recently released a new blog about how to deploy and manage ROS applications with AWS IoT Greengrass 2.0 and Docker.

[AWS IoT Greengrass 2.0](https://aws.amazon.com/greengrass/) is an open-source edge runtime and cloud service that reduces complexities when deploying and managing ROS applications on robots. With AWS IoT Greengrass 2.0, developers can add local compute, messaging, and data management capabilities to their robotics fleets. This helps developers reliably deploy updates, remotely manage software, and securely connect robots to cloud services. You can use AWS **IoT Greengrass 2.0** to:

- Remotely manage the application lifecycle (install, run, and shutdown) on robots
- Deploy software updates over-the-air to fleets of robots
- Securely connect robots to operator-facing dashboards and monitoring tools
- Deploy machine learning (ML) models and run ML inference at the edge for tasks like object detection and image classification
- Ingest large amounts of raw telemetry, sensor data, and logs into cloud-based stream processing services like Amazon Kinesis

 ![](https://us1.discourse-cdn.com/flex022/uploads/ros/original/2X/c/cba3ae9c26fdf4eea7d6e591fb878cef6fa8eb18.jpeg)

The sample application runs three containers using a **Docker Compose** file. Two of the containers run the ROS2 demo\_node\_cpp ROS package with a **talker** and a **listener**. This demo uses local ROS messaging to send and receive a “ _Hello World_ ” message over the ROS topic /chatter. A third container uses the AWS IoT Greengrass SDK to bridge messages published over the ROS topic /chatter with a local socket used by AWS IoT Greengrass for interprocess communication between components. AWS IoT Greengrass then relays the message over an MQTT topic named chatter in the cloud.

To check out the open source sample code:  
[https://github.com/aws-samples/greengrass-v2-docker-ros-demo](https://github.com/aws-samples/greengrass-v2-docker-ros-demo)

And to read the entire blog:

> **[Deploy and Manage ROS Robots with AWS IoT Greengrass 2.0 and Docker | Amazon...](https://aws.amazon.com/blogs/robotics/deploy-and-manage-ros-robots-with-aws-iot-greengrass-2-0-and-docker/)**
>
> In this blog, we introduce a new way to deploy and manage robot software on production fleets at scale using AWS IoT Greengrass 2.0. When combined with the industry-grade tools, libraries, and capabilities of the Robot Operating System 2 (ROS2),...

If you are interested in the solution, feel free to reach out!
