This repository contains Cloud Development Kit (CDK) code for running Amazon EC2 Spot Instances. The instances used are backed by GPUs and have O3DE, ROS 2 Humble, and NICE DCV remote desktop viewing already set up.
The following resources are created:
- S3 Bucket -
spot-sim-depsstack creates an S3 bucket for storing project data between Spot Instance runs - Spot Instance for installing Nvidia Isaac Sim -
isaac-buildercreates a Spot Instance that can be used to automatically install Isaac Sim. The user must then manually verify installation and create an EBS Volume Snapshot. - Spot Instance for running simulations -
spot-simcreates a Spot Instance for running simulations. It will sync project data from S3 bucket on startup and contains a command for storing project data back to the bucket once done. - Gazebo installation -
spot-simhas a flag to install Gazebo. If true, Gazebo will be installed with startup scripts. - Secrets Manager password generation - option for simulation instance; alternatively, user can set their own password.
For instructions on how to set up this stack fully, see my blog post "Cost-Effective Robotics Simulation in the Cloud".
This project is licensed under the MIT License. See the LICENSE file for details.