Documentation
Checks reference
In short
Each check has a name, a status and a short message. Layer 0 reads only AWS’s own description of the copy. Each deeper layer adds checks that look inside it, from inside your account: the server scripts, the RDS probe and the EBS reader answer statuses and counts, never your data. The names below are the ones that appear in your report.
On every drill
| Check | What it tells you |
|---|---|
ready | Whether the copy became ready within the wait limit. A failure says what was still pending. |
baseline | How the totals compare with the last good drill of the same source. Skipped on the first drill, which sets the baseline. |
Layer 0: outside only
Reads settings, status and, if you turn it on, boot logs, through MusterDrill-Read. It reads none of your data and needs no access to your encryption keys.
EC2 instance
| Check | What it tells you |
|---|---|
state | The instance is running, or still starting. |
status_checks | Both EC2 status checks (instance and system) passed. |
time_to_usable | Time from launch until both status checks passed, measured to the nearest look. A warning if you set a target and it took longer. |
console_output | No boot errors in the instance’s console log. Only with ReadConsoleOutput on. |
settings | Instance settings match the source, where the source is known and in the same account and region. |
exposure | No public address and no security group rule open to the whole internet. |
EBS volume
| Check | What it tells you |
|---|---|
state | The volume is ready, or still being created. Any other state is a warning. |
size | Same size as the source, where it is in the same account and region. Smaller is a failure; larger is a warning. |
encryption | Encrypted, and which key. A failure if the source was encrypted and the copy is not. |
exposure | When attached: no public address and no rule open to the internet. |
RDS database
| Check | What it tells you |
|---|---|
status | The database is available. A failure names the KMS key if the copy cannot use its key. |
encryption | Storage is encrypted. A failure if the source was encrypted and the copy is not. |
settings | Settings match the source, where the source is known and in the same account and region. |
exposure | Not publicly accessible, and no security group rule open to the whole internet. |
Aurora cluster
| Check | What it tells you |
|---|---|
status | The cluster is available. A failure names the KMS key if the copy cannot use its key. |
instances | The cluster has an available writer instance. A restore creates only the cluster, so Muster Drill waits for you to add one; if none comes within the wait limit, the drill is a warning that says to add one to check the data. |
time_to_usable | Time from the cluster’s creation until it was usable. |
encryption | Storage is encrypted, and which key. A failure if the source was encrypted and the copy is not. |
settings | Settings match the source cluster, where it is in the same account and region. |
network, exposure | The cluster’s network, and nothing open to the internet. |
Layer 1: structure
Looks inside the copy, read-only, from inside your account, without reading contents.
RDS and Aurora databases (PostgreSQL, MySQL, MariaDB)
Through the RDS probe (EnableRdsProbe), a small function in your restore network. It reads the login from your Secrets Manager secret itself, connects with TLS and verifies the server, sets the session read-only before any query, and answers statuses and totals. For Aurora it connects to the cluster’s writer endpoint once the writer is available.
| Check | What it tells you |
|---|---|
db_login | The read-only login you created in the source works on the copy. A failure if the copy refuses it, or if it cannot be reached, for example because it has only the network’s default security group. |
db_structure | The tables you list as expected exist, and nothing is damaged (for example no invalid indexes on PostgreSQL, or tables without a storage engine on MySQL and MariaDB). A warning if there are no user tables at all. The report gives counts, such as how many expected tables are missing, never their names. |
Oracle and SQL Server are not covered. One probe serves one network and one database port per connector; a copy in another network is skipped and says why.
EC2 instance (Linux and Windows)
Runs the connector’s own read-only script through AWS Systems Manager (EnableEc2Script): MusterDrill-Layer1Linux or MusterDrill-Layer1Windows, which take no parameters. It runs only on copies that came from an AWS Backup restore or your vendor’s restore role, only after both status checks pass, and only when the SSM agent is online. If it is not, os_script is skipped and says what Muster Drill can see, such as no instance profile or no route to Systems Manager.
| Check | What it tells you |
|---|---|
os_script | Whether the script ran, and if not, why. |
os_mounts | Linux: every disk listed in /etc/fstab is mounted. Windows: no disk offline or read-only, and every fixed volume healthy. |
os_services | Linux: no failed systemd services. Windows: no automatic service that failed to start. |
os_newest_file | How old the newest file from before the boot is: a sign of how recent the backup was. |
os_boot_errors | Windows only: errors in the System log since boot, apart from the unexpected-shutdown entries every copy of a running server logs. |
EBS volume
Through the EBS reader (EnableEbsReader), a small function in your account. It reads at most 8 blocks of 512 KiB through the EBS direct APIs, in memory, and answers counts and statuses. A volume that was never attached is read through the snapshot it was restored from. An attached volume restored by a vendor is snapshotted first, under the reader’s own tag, and that snapshot is deleted after reading.
| Check | What it tells you |
|---|---|
ebs_data | Blocks were written at all. An empty restore is a warning. The count is compared with the last drill. |
ebs_layout | A partition table or filesystem is at the start of the volume (not which one). |
ebs_content | The sampled blocks are not all zeros. |
ebs_changed | For a snapshot the reader took: blocks changed since the source. A booted volume changes a few, so for attached volumes the count is reported, not judged. |
ebs_sample_match | For a snapshot the reader took: how many sampled blocks match the source’s same blocks, compared by hash inside your account. |
Layers 2 and 3: counts and your rules (RDS and Aurora)
You keep a small rules file in a bucket of your own and name it in the connector (RdsRulesS3Uri). The probe reads it in your account; Muster Drill never sees it and cannot send the probe a query. Everything runs in the same read-only session as layer 1.
{
"expected_tables": ["public.orders", "public.customers"],
"count_tables": ["public.orders"],
"freshness": [{"table": "public.orders", "column": "created_at", "max_age_hours": 24}],
"rules": [{"name": "active_users", "sql": "SELECT count(*) FROM users WHERE active", "min": 1}]
}
| Check | What it tells you |
|---|---|
db_counts | Exact row counts for the tables you list, reported as a total. Compared with the last drill; a drop of more than 10% is a warning. |
db_freshness | The newest value in each timestamp column you list is within your limit. Catches a copy that is complete but old. A newest value more than 15 minutes in the future is a warning. |
db_rules | Each of your SQL queries returns one number within your min and max. The report says how many failed, not which. |
db_rules_config | A warning if the file is invalid. Layer 1 still reports. |
Rules must be a single SELECT or WITH query, with at most 50 items per list. On MySQL and MariaDB, a rule with a locking read or a function such as SLEEP is not run, and counted as refused. Only totals leave your account: no table, column or rule name, and no per-table number.