AWS DeepRacer、カスタムOSインストール可能に
AWS は DeepRacer デバイス向けに開発者用ブートローダーを公開し、サポート終了した OS の代わりにカスタム Linux ディストリビューションのインストールやハードウェアドライバの追加が可能になった。
キーポイント
カスタム OS インストールの実現
従来のセキュアなファームウェアによる制限を解除し、開発者が最新の Linux ディストリビューションや独自ソフトウェアスタックをインストールできるようになった。
開発者用ブートローダーの導入
オープンソースの shim プロジェクトベースで開発されたブートローダーにより、自己管理型の証明書管理とカスタム OS の起動が可能になっている。
透明性の高いセキュリティ指標
デバイス起動時に LED を点滅させて「DEVELOPER MODE」をモールス信号で表示し、開発者モードが有効であることを視覚的に明確に示す仕組みを採用している。
元の設定への完全な復元
カスタム設定は完全に可逆的であり、AWS の公式ドキュメントに従うことでデバイスを出荷時の標準構成へ安全に戻すことができる。
重要な引用
With our developer bootloader, you can install custom operating systems outside of those originally provided.
On bootup, the developer shim blinks “DEVELOPER MODE” in Morse code on the AWS DeepRacer device’s built-in lights.
Should you need to return to the original configuration, the process is completely reversible.
影響分析・編集コメントを表示
影響分析
この発表は、AWS DeepRacer という教育・学習用ハードウェアのライフサイクルを大幅に延長し、コミュニティが最新の技術スタックで実験や研究を継続できる基盤を提供します。特に、サポート終了した OS の制約から解放されることで、機械学習教育の質と柔軟性が向上し、開発者による新たなアルゴリズムの開発やプロトタイピングが促進されます。
編集コメント
ハードウェアのサポート終了に伴う開発環境の閉塞感を打破する、実用的かつ賢明なアップデートです。視覚的な警告機能(モールス信号)を取り入れたセキュリティ設計は、ユーザーがデバイスの状態を直感的に把握できる点で評価できます。
従来のファームウェアとソフトウェアでは、開発者は AWS DeepRacer デバイスの OS を最新のものにアップグレードしたり、カスタム OS に変更したりすることができませんでした。しかし、新たにリリースされたブートローダーを使用することで、ハードウェアの寿命を延ばすためにも、カスタムオペレーティングシステム(OS)のインストールやアップグレードが可能になりました。
AWS DeepRacer デバイスは、強化学習によって訓練されたモデルで駆動される完全自律型の 1/18 スケールレーシングカーです。これらのハードウェアは、ニューラルネットワークモデルのトレーニングと評価のためのクラウド環境と組み合わせることで、機械学習の入門を支援する教育・開発環境を提供します。出荷時には、Ubuntu 16.04 や 20.04 など AWS が署名した OS を起動するセキュアなファームウェアが搭載されていますが、これらの Ubuntu バージョンはすでにサポート切れとなっており、継続的な実験や研究が困難になっています。デバイスを可能な限り長く有用に使い続けるためには、カスタムおよび修正されたソフトウェアの実行を許可する仕組みが必要です。
開発者向けブートローダーを使用すれば、元々提供されていた OS 以外のカスタムオペレーティングシステムをインストールできます。また、最新の Linux ディストリビューションの導入や、独自ハードウェアドライバーの追加、より現代的なソフトウェアスタックの実行、新しい教育プロジェクトの構築、新たな車両アルゴリズムのプロトタイプ開発も可能です。本稿ではこのブートローダーを紹介し、その使用方法を解説するとともに、これを利用したコミュニティ版ディストリビューションへのリンクも共有します。
私たちのソリューション
開発チームは、セルフサービスによる開発者アクセスを可能にするブートローダーを開発しました。このブートローダーは、オープンソースの shim プロジェクト をベースにしています。これにより、AWS DeepRacer デバイスへのカスタムまたはサードパーティ製ディストリビューションのインストールが可能になります。
開発者向け shim は、Linux のブートプロセスや証明書管理に精通した開発者を対象としています。特に、独自のカスタム AWS DeepRacer インストール用ディストリビューションやメディアを作成・配布したいコミュニティメンバーにとって、非常に価値のあるツールです。
起動時、AWS DeepRacer デバイスの内蔵ライトが「DEVELOPER MODE」という文字をモールス信号で点滅させます。この表示が終わると、shim はインストールされた OS への制御を譲ります。これは、開発者モードが有効な際に明確な視覚的インジケーターを提供し、透明性を確保するための意図です。これらのインジケーターにより、デバイスのセキュリティ状態を把握しやすくなります。
元の設定に戻す必要がある場合も、プロセスは完全に元に戻せます。車両の更新 の手順に従えば、デバイスを標準構成へ復元できます。
開発者向け shim は、以下の 3 つの主要な要素を通じて機能します:
1. セルフサービス証明書管理
組み込みの署名検証に失敗した場合、開発者用シャム(shim)はデバイスのブートパーティションにある /EFI/DEVELOPER/certs/ 内に開発者証明書の存在を確認します。OpenSSL や sbsign といった標準ツールを使用して独自の証明書を管理できるため、適切な暗号化による検証を維持したまま柔軟な運用が可能です。
2. 明確な視覚的警告
開発者証明書が使用されている場合、システムは以下の方法で明確にその旨を示します:
- 画面への警告(HDMI経由)— 開発者モードであることを通知します。
- ハードウェアによる表示 — デバイスのライトがモールス信号で「DEVELOPER MODE」と点滅します。
- ブート遅延 — 開発者モードの起動を確認する時間を確保します。
3. 標準的な検証ワークフロー
本ソリューションでは、標準的な証明書ベースの署名ツールを採用しており、セキュアブートのプロセスに既に慣れている開発者でも容易に利用できます。この方法であれば、独自の証明書を導入しつつも、ブートチェーンおよびオペレーティングシステムの暗号化完全性を維持することが可能です。
コミュニティへの影響
deepracing.io にあるオープンソースの AWS DeepRacer コミュニティは、この開発者用シャムを活用して、AWS DeepRacer デバイス向けの新しいカスタムディストリビューションを構築しました。これは Ubuntu 24.04 と ROS2 Jazzy のソフトウェアスタックを基盤とし、Cloudscape ベースのユーザーインターフェースを搭載しています。セルフサービスブートローダーのアプローチを実証する実用的な例として、すぐに開発を始めたい人にとって即戦力となるソリューションを提供しています。
パッケージ化されており、元の AWS ディストリビューションと同様のインストールプロセスを採用しているため、箱から出してすぐにデプロイ可能です。コミュニティはレースパフォーマンスを最優先し、X Window System のようなグラフィカルインターフェースなど、必要不可欠でないパッケージは削除しています。もし必要な場合は、ご自身でデスクトップ環境を追加することもできます。
インストール手順については、README をご確認ください。
この開発者向けシャイム(shim)により、AWS DeepRacer デバイスに対してコミュニティがソフトウェアの維持管理や更新版の配布を行えるようになり、デバイスの実用寿命を元のディストリビューションよりもはるかに長く延ばすことが可能になりました。このディストリビューションの詳細は https://github.com/aws-deepracer-community/deepracer-custom-car で確認できます。
使い方
ブートローダーを使用すれば、AWS DeepRacer デバイスに対して複数の利用パターンに対応可能です。コミュニティが提供するディストリビューションでアップグレードしたり、標準的なサードパーティ製 OS を使用したり、あるいは独自の OS を作成することもできます。具体的な手順は、ご自身の選択によって異なります。
オプション A: コミュニティ版のインストール
まずはコミュニティ版のディストリビューションをインストールすることから始められます。例えば Ubuntu 24.04 の Community Distribution などです。
この方法を選べば、開発者が手動で Linux をインストールし、ブートプロセスを再設定する必要なく、簡単に導入できます。
オプション B:サードパーティ製ディストリビューション
Ubuntu などのサードパーティ製ディストリビューションをインストールする際は、開発者用シャム(shim)を利用できます。インストールプロセスを細かく制御したい場合にこの方法が推奨されます。
OS のインストール完了後、BOOTX64.EFI ファイルを開発者用シャムに置き換え、適切な証明書を追加する必要があります。これは、インストールメディア上と、インストール完了後の両方で実施する必要がある場合があります。具体的な手順については、開発者用シャムパッケージに含まれる USAGE.md ファイルをご参照ください。
オプション C:カスタム OS
AWS DeepRacer 向けに独自の OS を構築する場合は、まずデバイス上にブートボリュームを作成してください。その後、EFI/BOOT/ディレクトリ以下に以下のファイルを配置します。
- BOOTX64.EFI → 開発者用シャム
- GRUBX64.EFI → OS のカーネルまたはブートローダー
さらに、公開証明書を DEVELOPER/certs パス下にインストールしてください。詳細な手順は、同様に開発者用シャムパッケージ内の USAGE.md ファイルをご確認ください。
ブートシーケンス初期に何が起こるか
デバイスは起動時に複数の段階を経ます。電源を入れると、デバイスファームウェアが開発者用シャイム (BOOTX64.EFI) を読み込み、実行をそちらへ移します。シャイムはその後、HDMI モニターが接続されている場合に画面に警告を表示し、デバイスのライトで「DEVELOPER MODE」をモールス信号として点滅させます。この段階には約 21 秒かかります。
元のファームウェアのブートローダーや、一般的な PC インストールにおけるシャムブートローダーと同様に、開発者用ブートローダーは次に OS カーネルを読み込みます。ただしファームウェアとは異なり、開発者用ブートローダーは、/EFI/DEVELOPER/certs に保存されたローカルのカスタマイズ可能な証明書ストアに対して、このカーネルの署名を検証します。署名が一致すれば、開発者シャイムは実行を OS カーネルへ引き継ぎ、起動は通常通り続行されます。
自己管理型 AWS DeepRacer とのペアリング
ブートローダーシャイムと自己管理型ソリューションが 2026 年 1 月 26 日にリリースされたことで、クラウド上のトレーニング環境と物理デバイス双方を完全に制御できるようになりました。開発者は、デバイス上のソフトウェアスタックをカスタマイズしたり、新しい ROS2 パッケージを実験したり、レースモデルの改良をエンドツーエンドで自由に繰り返すことが可能になります。
自己管理型ソリューションの詳細については、DeepRacer on AWS をご覧ください。
はじめに
まずは、AWS DeepRacer ソリューション のドキュメントを確認し、その後 deepracer-developer-shim.zip から開発者用シャム(shim)ファイルをダウンロードしてください。
新しいカスタム OS の起動メディアを作成または変更する際は、BOOTX64.EFI シャムファイルを EFI/BOOT ディレクトリに配置します。また、選択した OS カーネルを GRUBX64.EFI として保存し、カーネルの公開証明書は x509 DER 形式で EFI/DEVELOPER/CERTS フォルダに格納してください。
この手順は、OS インストールメディア上で行う必要があるほか、メディアからインストールした後のデバイス側でも再度実施する場合があります。詳細な技術ドキュメント、トラブルシューティング方法、高度な利用法については、zip ファイルに含まれるブートローダーの USAGE.md ファイルを参照してください。
また、前述の「使い方の手順」セクションに記載されているコミュニティ版ディストリビューションをダウンロードし、開発者用ブートローダーが既に組み込まれた状態での新規インストールを行うことも可能です。その場合は、記載された手順に従ってください。
結論
このブートローダーを使用することで、AWS DeepRacer デバイスのロックを解除し、最新のモダンな OS、ツール、ソフトウェアスタックを活用した教育・開発環境として引き続き利用できるようになります。また、自分自身で OS をインストールしたり、コミュニティ版ディストリビューションを利用したりすることも可能です。
まずは、開発者用ブートローダーを deepracer-developer-shim.zip からダウンロードし、USAGE.md ファイルに記載された手順に従ってください。その後、Community Distribution を確認して、DeepRacer on AWS Solution で機械学習(ML)の探求を続けてください。
新しいブートローダーによって導入された柔軟性により、デバイスで実現できることの限界はあなたの想像力次第です。何を作り出すでしょうか?https://builder.aws.com/ でお気軽に共有してください。
執筆者について

Don Barber
Don は AWS の戦略的顧客を担当するシニア・ソリューションズアーキテクトマネージャーです。大規模な破壊的技術の導入を顧客に支援する傍ら、AWS DeepRacer のピットクルー創設メンバーとして活躍し、初の企業リーグイベントを運営。コミュニティレースやバーチャルライブレーシングの考案にも携わり、多数の AWS DeepRacer ワークショップを設計しました。これにより、AIML(人工知能と機械学習)の入門を志す開発者数千名に直接的な影響を与えています。Don は今回のリリースを通じて、AWS DeepRacer デバイスの寿命延長に貢献できることを誇りに思っています。

Lars Lorentz Ludvigsen氏
Lars氏はテクノロジー愛好家であり、2019 年後半に AWS DeepRacer を知って以来、その魅力にはまっています。現在はアキュチャー(Accenture)でマネージングディレクターを務め、クライアントが次世代のスマートコネクテッドプロダクトを構築するのを支援しています。
アキュチャーでの役割に加え、Lars 氏は AWS コミュニティビルダーとしても活動しており、AWS DeepRacer コミュニティ向けのソフトウェアソリューションの開発と維持に注力しています。同氏のブログは https://aws.amazon.com/blogs/machine-learning/author/larslorentzludvigsenamazon-com/ で公開されています。
原文を表示
With the stock firmware and software, developers couldn’t modify their AWS DeepRacer devices to use the latest operating systems. Now, developers can upgrade or install a custom operating system (OS) by using a newly released bootloader, which extends the life of these hardware devices.
AWS DeepRacer devices are fully autonomous 1/18th scale race cars driven by models trained through reinforcement learning. These hardware devices, when paired with a cloud environment for training and evaluation of neural network models, provide an education and development environment intended to help developers get started with machine learning. As shipped, secure firmware on the AWS DeepRacer devices boots AWS-signed operating systems, including versions of Ubuntu 16.04 and 20.04. These versions of Ubuntu are no longer supported, making ongoing experimentation and research difficult. To keep these devices useful as long as possible, you need a way to authorize custom and modified software to run.
With our developer bootloader, you can install custom operating systems outside of those originally provided. You can also install modern Linux distributions, add custom hardware drivers, run custom and more modern software stacks, build novel educational projects, and develop prototypes for new vehicle algorithms. In this post, we introduce the bootloader, discuss how to use it, and share links to a community distribution that uses it.
Our solution
Our team developed a bootloader that provides self-service developer access. The bootloader is based on the open-source shim project. With this developer shim, you can install custom or third-party distributions onto your AWS DeepRacer device.
The developer shim targets developers familiar with Linux boot processes and certificate management. It’s particularly valuable for community members who want to create and distribute custom AWS DeepRacer installation distributions and media.
On bootup, the developer shim blinks “DEVELOPER MODE” in Morse code on the AWS DeepRacer device’s built-in lights. After completing this indicator, the shim transfers control to the installed OS. The intent is for transparency through clear visual indicators whenever developer mode is active. These indicators help you understand your device’s security posture.
Should you need to return to the original configuration, the process is completely reversible. You can follow the directions for Update Your Vehicle to return the device to stock configuration.
The developer shim works through three key elements:
1. Self-service certificate management
When built-in signature verification fails, the developer shim checks for developer certificates in /EFI/DEVELOPER/certs/ on the device’s boot partition. You can manage your own certificates using standard tools (OpenSSL, sbsign) while maintaining proper cryptographic verification.
2. Clear visual warnings
When developer certificates are in use, the system provides a clear indication:
- On-screen warning (through HDMI) – Informs you of developer mode.
- Hardware indication – Device lights blink “DEVELOPER MODE” in Morse code.
- Boot delay – Gives you time to observe the developer mode activation.
3. Standard verification workflow
The solution uses standard certificate-based signing tools, making it accessible to developers already working with secure boot processes. With this method, you can provide your own certificates while maintaining the cryptographic integrity of the boot chain and operating system.
Community impact
The open source AWS DeepRacer community at deepracing.io used this developer shim to create a new custom distribution for AWS DeepRacer devices, built on an Ubuntu 24.04 / ROS2 Jazzy software stack and featuring a Cloudscape-based user interface. As a practical demonstration of the self-service bootloader approach, it offers a ready-to-use solution for developers who want to get started quickly.
Pre-packaged and using an installation process very similar to the original AWS distribution, it comes ready to deploy out of the box. The community prioritized racing performance, removing non-essential packages, including the X Window System graphical interface. You can add the desktop experience back in yourself if needed. Refer to the README for installation instructions.
The developer shim allows the DeepRacing community to maintain and distribute updated software for AWS DeepRacer devices, extending their useful life well beyond the original distributions. The distribution can be found at https://github.com/aws-deepracer-community/deepracer-custom-car.
How to use it
You can use the bootloader with your AWS DeepRacer device across multiple usage patterns. You can upgrade using a community distribution, use a standard third-party OS, or even create your own custom OS. The exact steps depend on your choice.
Option A: Install a community distribution
You can get started by installing a community distribution, such as the Ubuntu 24.04 Community Distribution. This option provides an installation method without requiring the developer to custom install Linux and reconfigure its boot processes.
Option B: Third-party distributions
You can use the developer shim when installing a third-party distribution such as Ubuntu. Choose this option if you want control over the installation process. After installing the OS, replace the BOOTX64.EFI file with the developer shim and add the appropriate certificates. This might need to be done twice: once for the installation media, and again after installation. Consult the USAGE.md file in the developer shim package for guidance.
Option C: Custom OS
If you’re building a custom OS for the AWS DeepRacer device, create a boot volume on the device. Place the developer shim under EFI/BOOT/BOOTX64.EFI and your OS kernel or bootloader as EFI/BOOT/GRUBX64.EFI. Then install your public certificate under the DEVELOPER/certs path. Consult the USAGE.md file in the developer shim package for guidance.
What to expect during early boot sequence
The device goes through several stages on boot. Upon power-on, the device firmware loads the developer shim (BOOTX64.EFI) and transfers execution to it. The shim then displays a warning on the screen (when an HDMI monitor is attached) and blinks “DEVELOPER MODE” in Morse code on the device’s lights. This stage takes approximately 21 seconds. Much like the original firmware’s bootloader or a shim bootloader on a standard PC install, the developer bootloader then loads the operating system’s kernel. However, unlike the firmware, the developer bootloader checks the signature of this kernel against a local customizable certificate store kept in /EFI/DEVELOPER/certs. If the signature matches, the developer shim transfers execution to this operating system kernel, and boot continues normally.
Pairing with self-managed AWS DeepRacer
With the bootloader shim and the self-managed solution released on January 26, 2026, you now have full control over both the cloud-based training environments and your physical devices. Developers can customize the on-device software stack, experiment with new ROS2 packages, and iterate on racing models with total end-to-end flexibility. Visit DeepRacer on AWS for details on the self-managed solution.
Getting started
To get started, first explore the DeepRacer on AWS Solution and then download the developer shim at deepracer-developer-shim.zip. To create or modify the boot medium for the new custom operating system, place the BOOTX64.EFI shim file into the EFI/BOOT directory. Store your chosen operating system kernel as GRUBX64.EFI, and store the kernel’s public certificate in EFI/DEVELOPER/CERTS in x509 DER format. This might need to be done for both the operating system installation media and again on the device itself after installing from media. For more detailed technical documentation, troubleshooting, and advanced usage, refer to the bootloader’s USAGE.md file contained within the zip file.
Alternatively, download the community distribution linked in the preceding *How to use it* section and follow the directions for a fresh install with the developer bootloader already incorporated.
Conclusion
Using the bootloader, you can unlock your AWS DeepRacer device and continue to use it as an education and development environment with the latest modern operating systems, tools, and software stacks. You can also customize your own operating system install or use community distributions.
To get started, download the developer bootloader at deepracer-developer-shim.zip and follow the instructions in the USAGE.md file. After that, check out the Community Distribution and continue your machine learning (ML) journey with the DeepRacer on AWS Solution.
With the flexibility introduced with the new bootloader, your imagination is the limit on what you can implement on the device. What will you build? Feel free to share on https://builder.aws.com/.
About the authors

Don Barber
Don is a Senior Solutions Architect Manager working with AWS Strategic Accounts. Along with helping customers implement disruptive technology at scale, Don was an inaugural member of the AWS DeepRacer pitcrew, ran the first corporate league events, helped invent community racing and virtual live racing, and designed many of the AWS DeepRacer workshops, directly impacting thousands of developers to get started with AIML. Don is proud to help extend the lifespan of the AWS DeepRacer devices through this release.

Lars Lorentz Ludvigsen
Lars is a technology enthusiast who was introduced to AWS DeepRacer in late 2019 and was instantly hooked. Lars works as a Managing Director at Accenture, where he helps clients build the next generation of smart connected products. In addition to his role at Accenture, he’s an AWS Community Builder who focuses on developing and maintaining the AWS DeepRacer community’s software solutions. Lars’s AWS Community Builder blog is available at https://aws.amazon.com/blogs/machine-learning/author/larslorentzludvigsenamazon-com/.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み