Skip to main content

Run ROS tutorials

AWS RoboMaker version notice

This tutorial was created and is based on AWS RoboMaker as of July 2019. Please refer to the official documentation for the latest and most accurate information, as there may have been updates or changes since then.


AWS RoboMaker is the newest service by Amazon for robot developers community. It’s ROS based and provides web tools for robot development, simulation and deployment - .

In this tutorial we will show you how to setup environment at AWS RoboMaker to learn ROS with our ROS tutorials:

  1. ROS introduction
  2. Creating Nodes - Messages
  3. Creating Nodes - Services
  4. Kinematics and Visualization
  5. Track object with OpenCV
  6. Robot Network
  7. Transformation
  8. SLAM
  9. Navigation
  10. Exploration

IMPORTANT: AWS RoboMaker is a paid service and you may be charged based on the usage of some of its functionalities. For pricing info visit .

Setting up AWS account

To begin, you need to have an active AWS account. Go to signup panel and follow steps required to create account.

Configure AWS Environment

Before we use AWS RoboMaker to build and deploy the tutorial applications, we must first set up the AWS environment. To simplify the configuration, we will use AWS CloudFormation. CloudFormation enables us to use a template file to define the configuration of our environment. We will use CloudFormation to create a bucket in Amaazon S3, as well as to create the necessary permissions in AWS Identity and Access Manager (IAM) that AWS RoboMaker requires to simulate and deploy our robot applications.

To deploy the template, sign in to the CloudFormation console. Following the following steps to deploy the template:

  1. Download the template file from here.
  2. Click the Create Stack button.
  3. Under Choose a template, choose Upload a template to Amazon S3 and click Choose File.
  4. Browse to the rosbot_tutorial_template.yaml file you download in Step 1 above.
  5. Click Next.
  6. On the next screen, provide a Stack name. This should be something descriptive such as "ROSbot-setup".
  7. In the S3BucketName field, provide a globally-unique name for the S3 bucket that will be created. This S3 bucket will be used to store your robot application bundles, as well as any logs that your robot may generate during simulation. Use a name unique to you, such as "<user_id>-rosbot-tutorial". Replace "<user-id>" with a unique string.
  8. Choose Next.
  9. On the Options page, leave all defaults and choose Next.
  10. On the Review page, click the checkbox to acknowledge that CloudFormation will create IAM resources on your behalf.
  11. Click Create.

After a few brief minutes, the stack will be created. When the status has changed to CREATE_COMPLETE, choose the stack you just created, and view its Outputs. You will see 3 key/value pairs. You will use these values later in this guide.

Setup RoboMaker IDE

  1. Open RoboMaker module

  2. Open “Development environments” tab.

Development environments

  1. Click “Create environment”
  • In field Name type robomaker_env and as instance type choose c3.2xlarge. You can select different instances type to improve bundling performance.
  • In VPC dropdown list choose the default value.
  • In the Subnets dropdown list choose the first subnet. You can select different subnet if necessary.

Create environment dialog

  1. Click "Create". You will be redirected to IDE.

RoboMaker IDE

  • In the IDE, go to bash tab and clone the rosbot-robomaker repository in ~/environment/ directory:
cd ~/environment/
git clone --recurse-submodules RoboMakerROSbotProject
  1. Configure project

In this step you will need key/value pairs obtained in CloudForamtion module

  • Replace $BUCKET_NAME with value of S3BucketName from CloudFormation
  • Replace $IAM_ROLE with value of RoboMakerRole from CloudFormation
cd ~/environment/RoboMakerROSbotProject/
python --bucket $BUCKET_NAME --iam $IAM_ROLE

Launch sumilation job

  1. Choose menu Run -> Add or Edit Configurations.

RoboMaker configuration dialog

  1. Click button Switch config.

  2. Choose RoboMakerSettings.json from folder RoboMakerROSbotProject and click OK button and then Save button.

Switch config dialog

  1. Choose menu Run -> Workflow -> ROSbotTutorial - Build and Bundle All.

Workflow menu

  1. Package build process will start, when it is done, choose menu Run -> Launch Simulation -> ROSbotTutorial9. Simulation job will be sent to RoboMaker. Wait until Your simulation job was created. message appears in console.

Simulation terminal

  1. Go to RoboMaker and open “Simulation jobs” menu.

Simulation jobs menu

  1. Open simulation by clicking its name.

Simulation view

  1. When it starts, you can open Gazebo view to watch as simulation proceeds.

Gazebo view


You’ve just run Gazebo version of 8 - SLAM on AWS RoboMaker cloud computing platform. Other tutorials can be launched by selecting appropriate entry in Run -> Launch Simulation menu.


After completing this tutorial you should be familiar with AWS RoboMaker Service. You should be able to create your own environment and run various robotics simulations (in this case Husarion ROS Tutorial 9).

Possibility of outsourcing computation to powerful cloud servers opens doors for even more advanced robotics simulation for users that are not equipped with efficient work stations. We hope that this tutorial will help you understand basics of running ROS simulations in AWS RobotMaker by Amazon.

by Łukasz Mitka, Husarion

Do you need any support with completing this tutorial or have any difficulties with software or hardware? Feel free to describe your thoughts on our community forum: or to contact our support: