This demo uses Terraform to demonstrate the implementation of an automated EC2 recovery based on your latest recovery point.
Link to the blog post describing the end-to-end approach:
Blog post: Automated EC2 Recovery With AWS Backup Restore
No requirements.
| Name | Version |
|---|---|
| archive | 2.2.0 |
| aws | 4.16.0 |
No modules.
| Name | Type |
|---|---|
| aws_cloudwatch_event_rule.ec2_rule | resource |
| aws_cloudwatch_event_target.health-lambda | resource |
| aws_cloudwatch_log_group.lambda_restore | resource |
| aws_iam_role.role_restore | resource |
| aws_lambda_function.restore_lambda | resource |
| aws_lambda_permission.allow_cloudwatch_to_call_restore | resource |
| archive_file.lambda_source_package | data source |
| aws_caller_identity.current | data source |
| aws_iam_policy_document.assume_role | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| aws_profile | AWS Profile | string |
"lab-admin" |
no |
| aws_region | region | string |
"us-east-1" |
no |
No outputs.