AWS Builder Center
Unchain your AWS DeepRacer by upgrading it to Ubuntu 24.04

Unchain your AWS DeepRacer by upgrading it to Ubuntu 24.04

AWS just unchained the DeepRacer by enabling custom OS installations. The community has responded by launching a new Ubuntu 24.04 OS image, which you can flash directly onto your car!

The Motivation

The original DeepRacer factory reset image was released in 2021 featuring Ubuntu 20.04 and ROS2 Foxy, together with a full productivity suite. Plug in a keyboard, mouse and monitor and your DeepRacer was a fully functional mini-PC with browser, spreadsheets and more. Nice, but not nice. Upgrading the packages took forever on the slow eMMC storage. And as Ubuntu 20.04 and ROS2 Foxy went out of support in the spring of 2025, the updates ceased.
Over the years the AWS Pit Crews started to collect tweaks to fix some of the more pressing issues like turning off Wi-Fi power-save mode, disabling IPv6, extending the console session validity and more. Fixes were applied to the car as it got enrolled into  DREM .
Alongside this,  DeepRacer-Custom-Car  was born as an evolution of the  AWS DeepRacer ROS2 Packages , gradually fixing bugs and introducing new features. The packages were made cross-platform compatible and now support ROS2 Foxy, Humble and Jazzy on Intel and ARM architectures.
Installation on the original AWS DeepRacer (Ubuntu 20.04) was done using an installation script which first stripped off all unnecessary components, updated all packages, applied the different tweaks, and finally installed the new ROS2 packages via a community APT repository. It was a time-consuming process that needed to be repeated each time a car was flashed.
What if we could have it another way, where:
  • Image is based on maintained core components - Ubuntu 24.04 and ROS2 Jazzy
  • Only features required to run DeepRacer are installed. No X, no LibreOffice.
  • Custom DeepRacer pre-installed with all tweaks applied.
  • Image is faster to download and faster to flash.
Until now the Secure Boot prevented us from doing this. The rule was: do what you want with the provided OS (Ubuntu 20.04), but you can't swap out the signed kernel. And then came the blog post announcing the  ability to install a custom OS ...

The Core Image

The image - from top to bottom - comprises the OS with packages and tweaks, and the DeepRacer custom packages. The OS image is created from scratch with a  script  which is meant to be run on an Ubuntu 24.04 computer.
Some key aspects:
  • The script is based on  debootstrap , which is a great way to create minimal installs.
  • To improve disk I/O performance the root partition is not encrypted. Encryption is possible via a flag.
  • ROS2 Jazzy and OpenVINO 2024.6 APT repositories are added, and packages installed.
  • DeepRacer Community APT repository is added and packages installed.
  • AWS provided Shim is installed
The result is an image that zipped is 3.4 GB, compared to 12 GB of the original image. Once you have completed the  flashing process  - it takes about half the time that it used to take - only about 8 GB of the 32 GB disk is used.

The Features

The Highlights

  • Faster and more stable perception pipeline: Reducing the time it takes from an image being captured to an action being sent to the servos. Achieved through optimized image handling, compressed image transport, re-writing the Navigation package in C++, optimizing the C++ build flags and forcing the CPU into performance mode.
  • Faster model loading: Models are optimized only on first load, making model changes faster, which is a big benefit during a race. With newer Tensorflow the initial optimization is also faster.
  • New User Interface: Complete rewrite of the user interface, based on the AWS Cloudscape UI framework. Bugs are fixed and new features such as car health monitoring have been added.
  • Explainable AI (XAI): Images and inference results are stored in a ROS2 Bag, and through DREM integration  video replays  of a run are created. For the first time you get an explanation of what happened during your race.
  • Bugs have been fixed: Some examples:
  • A dislodged camera will no longer consume all available CPU and fill the disk.
  • Less junk gets logged, making it easier to understand what goes on.
  • The DeepRacer stack cleanly shuts down.
New UI showing Car Health

The Community APT Repository provides stable and experimental versions of the packages. Features are included into stable only after they have seen some track time to ensure that there are no performance regressions. Experimental packages will include new features that are yet to be fully tested.

The Roadmap

The experimental branch contains quite a few new features applicable to the original DeepRacer, waiting for you to try them out:
  • Safety stop: The IMU is used to detect if the car is being picked up or just crashed. If a pick-up or crash is detected the car will stop.
  • Camera gray overlay: A fade-to-gray overlay is applied to the camera input, reducing the influence of visual noise (e.g. light sources in the background) on inference.
  • UI based configuration: Key features like camera library & overlay, logging, inference engine, and crash detection can be configured in the UI.

Summary

The new Ubuntu 24.04 image for AWS DeepRacer delivers a leaner, faster, and more maintainable platform — built on supported LTS components and packed with community-driven improvements to perception, inference, and the user interface. Whether you are racing competitively or just experimenting, the upgrade is straightforward and the gains are real.
Flash your car today using the  flashing guide , explore the experimental features, and join the community to help shape what comes next.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article