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

CheckWhat it tells you
readyWhether the copy became ready within the wait limit. A failure says what was still pending.
baselineHow 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

CheckWhat it tells you
stateThe instance is running, or still starting.
status_checksBoth EC2 status checks (instance and system) passed.
time_to_usableTime from launch until both status checks passed, measured to the nearest look. A warning if you set a target and it took longer.
console_outputNo boot errors in the instance’s console log. Only with ReadConsoleOutput on.
settingsInstance settings match the source, where the source is known and in the same account and region.
exposureNo public address and no security group rule open to the whole internet.

EBS volume

CheckWhat it tells you
stateThe volume is ready, or still being created. Any other state is a warning.
sizeSame size as the source, where it is in the same account and region. Smaller is a failure; larger is a warning.
encryptionEncrypted, and which key. A failure if the source was encrypted and the copy is not.
exposureWhen attached: no public address and no rule open to the internet.

RDS database

CheckWhat it tells you
statusThe database is available. A failure names the KMS key if the copy cannot use its key.
encryptionStorage is encrypted. A failure if the source was encrypted and the copy is not.
settingsSettings match the source, where the source is known and in the same account and region.
exposureNot publicly accessible, and no security group rule open to the whole internet.

Aurora cluster

CheckWhat it tells you
statusThe cluster is available. A failure names the KMS key if the copy cannot use its key.
instancesThe 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_usableTime from the cluster’s creation until it was usable.
encryptionStorage is encrypted, and which key. A failure if the source was encrypted and the copy is not.
settingsSettings match the source cluster, where it is in the same account and region.
network, exposureThe 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.

CheckWhat it tells you
db_loginThe 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_structureThe 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.

CheckWhat it tells you
os_scriptWhether the script ran, and if not, why.
os_mountsLinux: every disk listed in /etc/fstab is mounted. Windows: no disk offline or read-only, and every fixed volume healthy.
os_servicesLinux: no failed systemd services. Windows: no automatic service that failed to start.
os_newest_fileHow old the newest file from before the boot is: a sign of how recent the backup was.
os_boot_errorsWindows 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.

CheckWhat it tells you
ebs_dataBlocks were written at all. An empty restore is a warning. The count is compared with the last drill.
ebs_layoutA partition table or filesystem is at the start of the volume (not which one).
ebs_contentThe sampled blocks are not all zeros.
ebs_changedFor 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_matchFor 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}]
}
CheckWhat it tells you
db_countsExact 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_freshnessThe 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_rulesEach of your SQL queries returns one number within your min and max. The report says how many failed, not which.
db_rules_configA 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.