Skip to content
Lasith Koswatta Gamage edited this page Jan 8, 2024 · 11 revisions

ebs-bootstrap is a tool designed for safely managing block devices on AWS EC2 through an as-code approach. It starts by assessing the current state of these block devices. Following this, it compares their actual state with a pre-defined desired state described in the configuration. Depending on this comparison, ebs-bootstrap performs various operations to reconcile the actual state of the block devices with their intended state, as detailed in the configuration code.

ebs-bootstrap adopts a best-effort strategy to align a block device's actual state with its intended configuration, while operating within specific constraints# . If a block device is mounted at a location different from what is specified in the settings, the tool will try to unmount it first, then remount it to the correct location. However, it prioritises data safety by not allowing any actions that would modify or delete the file system on a block device that is already formatted.

Screenshot of Configuration File and Output

Table of Contents:

Clone this wiki locally