AWS Backup Logically Air-Gapped Vaults: Backups That Survive a Compromised Account
How AWS Backup logically air-gapped vaults keep backups out of an attacker's reach: setup, the encryption trap, a recovery account, and restore tests.
Most small AWS estates back up the same way: a daily AWS Backup plan, recovery points in the Default vault, everything in the production account. That covers a dropped table or a bad deploy. It does little against an attacker holding an administrator role in that account, because the credentials that can delete your database can delete its backups.
Attackers know this. CISA's #StopRansomware Guide warns that "many ransomware variants attempt to find and subsequently delete or encrypt accessible backups", and tells you to keep offline, encrypted backups and to test them. In AWS, "offline" means a copy that no identity in your own account can delete or shorten, plus a way to restore it from somewhere the attacker cannot reach.
AWS Backup's logically air-gapped vault is built for that, and the past year made it cheaper to run. It still leaves gaps that you have to close yourself.
TL;DR
- A logically air-gapped vault stores recovery points in an AWS-owned service account, always under a compliance-mode Vault Lock, so nobody in your account, root included, can delete them before their retention ends.
- Since November 2025 the vault can be the primary backup target, so you no longer have to keep a second copy in a standard vault, and you can encrypt it with your own KMS key.
- EBS, EC2, Aurora and FSx resources encrypted with AWS managed keys such as
aws/ebscannot go into the vault. The backup job still says "completed", with issues, so check before you trust it. - Share the vault with a separate recovery account through AWS RAM, and add Multi-party approval if you need to restore when the production account itself is locked out.
- Close the side doors with an SCP (
ec2:DisableImage, snapshot sharing) and prove the whole path with a scheduled restore test.
Why backups in the same account fail
Three things an attacker with admin rights in your production account can do to an ordinary vault:
- Delete recovery points. Without a vault lock,
DeleteRecoveryPointworks for anyone with the IAM permission. - Shorten retention. Changing a recovery point's lifecycle to expire tomorrow has the same effect, more quietly.
- Break the restore without deleting anything. The Vault Lock documentation notes that disabling an AMI "can temporarily block the ability to restore backups of EC2 instances", even for backups under a lock or legal hold.
A standard vault with Vault Lock in compliance mode solves the first two: after a grace period of at least 72 hours, the configuration "cannot be altered or deleted by a customer, account/data owner, or AWS as long as it contains recovery points". It does not give you a restore path that works when you can no longer trust or log in to the account that owns it.
What a logically air-gapped vault adds
| Standard vault | Standard vault + compliance lock | Logically air-gapped vault | |
|---|---|---|---|
| Where the data sits | Your account | Your account | AWS Backup service-owned account |
| Lock | Optional | Compliance mode, after grace time | Always compliance mode |
| Encryption | Your KMS key or AWS managed key | Same | AWS-owned key or your customer managed key |
| Restore from another account | Needs a cross-account copy first | Same | Yes, once shared through AWS RAM or Multi-party approval |
Per the logically air-gapped vault guide, the backups live in a service-owned account, so CloudTrail shows them as shared outside your organization. That is expected and doesn't mean a leak.
What changed since mid-2025
- June 2025: Multi-party approval lets a team of approvers grant a recovery account access to the vault even when the owning account is compromised.
- November 6, 2025: customer managed KMS keys for the vault itself. Before this, it was AWS-owned keys only.
- November 17, 2025: the vault became a primary backup target. Previously you paid for a backup in a standard vault and again for the copy.
- March 12, 2026: Amazon EKS support, so cluster backups can sit behind the same air gap.
Setting it up
Create the vault. Both retention bounds are required, and the minimum must be at least 7 days:
aws backup create-logically-air-gapped-backup-vault \
--backup-vault-name prod-airgap \
--min-retention-days 7 \
--max-retention-days 35
Pick the maximum with care. Every recovery point is locked for its full retention, which the Vault Lock page warns results "in persistent costs if you are not careful". A daily plan with one-year retention in a vault you cannot purge is a bill you have agreed to for a year. Start with the retention you need for recovery and treat long-term archives as a separate decision.
Then point a backup rule at it with TargetLogicallyAirGappedBackupVaultArn. The standard vault is still required: it holds temporary recovery points for resource types that cannot write to the air-gapped vault directly.
{
"BackupPlanName": "prod-daily",
"Rules": [
{
"RuleName": "daily-35d",
"TargetBackupVaultName": "Default",
"TargetLogicallyAirGappedBackupVaultArn": "arn:aws:backup:us-east-1:111122223333:backup-vault:prod-airgap",
"ScheduleExpression": "cron(0 3 ? * * *)",
"StartWindowMinutes": 60,
"CompletionWindowMinutes": 240,
"Lifecycle": { "DeleteAfterDays": 35 }
}
]
}
According to the primary backup documentation, resources with full AWS Backup management (S3, EFS, DynamoDB with advanced features) back up straight into the vault. EBS, EC2, Aurora and FSx get a temporary recovery point in the standard vault, marked DELETE_AFTER_COPY, which is removed once the copy lands. If the copy fails, that temporary point stays for the retention you set, so you still have a backup, just not an air-gapped one.
The encryption trap
This is the easiest gap to miss. Resources that lack full AWS Backup management and are encrypted with an AWS managed key cannot be copied to a logically air-gapped vault. The job does not fail. It completes with the message "This resource is encrypted with an AWS managed key and cannot be copied to a logically air-gapped backup vault", and the backup stays in your standard vault.
Before you rely on the vault, list the EBS volumes on the default key:
KEY=$(aws kms describe-key --key-id alias/aws/ebs --query KeyMetadata.Arn --output text)
aws ec2 describe-volumes \
--query "Volumes[?KmsKeyId=='${KEY}'].[VolumeId,Attachments[0].InstanceId]" \
--output table
Each needs a customer managed key, which for EBS means a snapshot, a re-encrypted copy and a new volume. Check RDS and Aurora (aws/rds) too, and set EBS default encryption to your own key. After the next run, look for the job message category LOGICALLY_AIR_GAPPED_BACKUP_VAULT_NOT_SUPPORTED and for "Completed with issues" in the Jobs view.
A restore path outside production
An air-gapped copy you can only restore from the compromised account is half a plan. Create a recovery account with its own sign-in, no trust from production, and nothing else running in it. Share the vault to it with AWS RAM. Shares go to individual account IDs only, not to an OU or a whole organization, and the invitation expires after 12 hours if nobody accepts it.
Multi-party approval goes further: a recovery account in a separate AWS Organization requests access, and a team of approvers signs off before AWS creates a restore access vault there. Two details from the Multi-party approval guide matter: approval team resources live only in US East (N. Virginia), and the setup expects IAM Identity Center in the recovery organization. For a team of fifteen, a RAM share to a locked-down recovery account is the realistic first step. Multi-party approval is worth it once more than one person holds the keys to production.
Close the side doors
Vault Lock governs actions taken through AWS Backup, not everything around the backup, so add an SCP in the production organization:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DenyAmiDisable",
"Effect": "Deny",
"Action": "ec2:DisableImage",
"Resource": "*"
},
{
"Sid": "DenySnapshotShareAndTier",
"Effect": "Deny",
"Action": ["ec2:ModifySnapshotAttribute", "ec2:ModifySnapshotTier"],
"Resource": "*",
"Condition": {
"ArnNotLike": {
"aws:PrincipalArn": "arn:aws:iam::*:role/service-role/AWSBackupDefaultServiceRole"
}
}
}
]
}
AWS Backup uses the snapshot actions for cross-account copies and cold storage, so exempt every role your backup plans run as. Three more limits from the documentation:
- Account closure. If an account with a vault is closed and not reopened within 90 days, AWS deletes the vault contents, "even if AWS Backup Vault Lock was in place". Protect the root user and the account's close permission accordingly.
- EBS archive tier. Once an EBS backup in the air-gapped vault moves to the archive tier, it can no longer be copied to another vault or Region. Copy first, then archive.
- Job history. Copy job records disappear 30 days after they finish; export what an auditor will want.
Prove it with a restore test
AWS Backup restore testing restores a latest or random recovery point on a schedule, keeps it up to 168 hours for validation, then deletes it. AWS recommends a designated test account, and a shared air-gapped vault can be restored from the account it is shared with, so test from the recovery account:
aws backup create-restore-testing-plan --restore-testing-plan '{
"RestoreTestingPlanName": "weekly_airgap_test",
"ScheduleExpression": "cron(0 4 ? * SUN *)",
"StartWindowHours": 4,
"RecoveryPointSelection": {
"Algorithm": "RANDOM_WITHIN_WINDOW",
"IncludeVaults": ["arn:aws:backup:us-east-1:111122223333:backup-vault:prod-airgap"],
"RecoveryPointTypes": ["SNAPSHOT"],
"SelectionWindowDays": 30
}
}'
Add a selection per resource type with create-restore-testing-selection, and remember each test run is billed per recovery point. Two failures from the troubleshooting list are worth expecting on the first runs: no default VPC in the test account, and a KMS key policy that does not let the restore role decrypt. Better found on a Sunday test run than during an incident.
Where to start
Run the encryption check first, because it decides whether the vault can protect your EBS and RDS data at all. Then create the vault, switch your main plan to it, share it to a recovery account and schedule a restore test. Look at stolen credentials too: a long-lived access key in a CI secret is one of the easiest ways into an admin role, and GitHub Actions OIDC removes it. The supply-chain attack playbook covers what to do in the first hours after a breach, and our AWS cost audit checklist covers keeping backup storage from creeping up.
If you would like someone to design the plan, run the restore tests and keep the evidence, that is part of our disaster recovery service.
Frequently asked questions
Is a logically air-gapped vault the same as an offline backup? Not physically. The data stays online in a service-owned AWS account, under a compliance-mode lock nobody in your account can remove, so an attacker with your credentials cannot delete it or shorten its retention. It does not protect against losing access to AWS itself; a copy outside AWS needs a second provider.
Does a logically air-gapped vault cost more than a normal vault? Vault Lock and Multi-party approval carry no extra charge. Storage in the air-gapped vault is billed at its own rates on the AWS Backup pricing page, so compare them for your resource types. Since November 2025 you can make it the primary target and keep one copy instead of two. EBS, EC2, Aurora and FSx still create a temporary recovery point that is billed until the copy completes.
Can I shorten retention if I set it too long? No. The vault is always locked in compliance mode, so recovery points stay until their retention ends and storage charges continue. You can change the backup plan so new recovery points use a shorter retention, as long as it stays within the vault's minimum and maximum. Test retention settings on a small plan before you move production into the vault.
Put this into practice
Book a free 30-minute call with a senior engineer about your infrastructure, or check your email security in 30 seconds.
Related Services
Related Articles
Multicloud Without the Mess: Managing AWS + Google Cloud Workloads
Most SMBs go multicloud by accident. How to run AWS and Google Cloud together without IAM sprawl, split billing or blind spots in monitoring.
AWS vs Azure vs GCP: Best Cloud for SMBs in 2026
AWS vs Azure vs Google Cloud for a 10 to 200 person business: identity, pricing, discounts, support plans, HIPAA BAAs and a simple way to choose.
Cybersecurity for Small Law Firms: A Practical IT & Compliance Guide
A practical cybersecurity and IT guide for small law firms without an IT team: ABA duties, client security demands, ransomware defense, and where to start.
Get articles like this in your inbox
Practical security, infrastructure, and DevOps insights for teams in regulated industries. Sent every two weeks.