Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Take backup of AWS configuration across all services

Having spent a couple of days setting up and configuring a new AWS account I would like to grab an export of the account configuration across all services. I've Googled around for existing scripts, etc, but have yet to find anything that would automate this process.

Primarily this would be as a backup incase the account was corrupted in some way (including user error!) but this would also be useful to document the system.

From an account administration perspective, there are various parts of the AWS console that don't display friendly names for various resources. Being able to cross reference against offline documentation would simplify these scenarios. For example, friendly names for vpc's and subnets aren't always displayed when configuring resources to use them.

Lastly I would like to be able to use this to spot suspicious changes to the configuration as part of intrusion detection. For example, looking out for security group changes to protected resources.

To clarify, I am looking to backup the configuration of AWS resources, not the actual resources themselves. Resource backups (e.g. EC2 instances) is already covered.

like image 912
Matt Caton Avatar asked Jul 14 '14 15:07

Matt Caton


People also ask

How do I backup my entire AWS account?

Open the AWS Backup console at https://console.aws.amazon.com/backup . In My account, choose Backup plans, and then choose Create Backup plan. On the Create Backup plan page, choose Build a new plan. For Backup plan name, enter a name for your backup plan.

What fully managed backup service can you use to ship your backups to AWS?

AWS Backup is a fully managed backup service that makes it easy to centralize and automate the backing up of data across AWS services. With AWS Backup, you can create backup policies called backup plans.

Does Amazon have a backup service?

AWS Backup integrates with AWS Storage Gateway, a hybrid cloud storage service that enables your on-premises applications to seamlessly use AWS storage. You can use AWS Backup to back up your application data stored in AWS Storage Gateway volumes.


1 Answers

The closest i've seen to that is CloudFormer.

That would create a CloudFormation template from your account's resources. Mind that this template would be only a starting point, not meant to be reproducible out-of-the-box. For example, it won't log into your instances or anything like that.

As for the intrusion detection part, see CloudTrail

like image 123
Julio Faerman Avatar answered Oct 19 '22 21:10

Julio Faerman