skip to Main Content

Currently, we are mainly using DMS, RDS & IAM AWS services. Now, if we want to use those services in different region / account then how to take only configuration backup? Like –

  1. DMS – Replication instances, Endpoint, Event subscriptions.
  2. RDS – DB Instances, Subnet groups, Parameter groups, Event subscriptions.
  3. IAM – Users, Groups, Role, Policy

In all above services database backup is not required, just want configuration settings using which same infrastructure can be created in other region / account.

CloudFormation can be used when we have template ready but here infrastructure created by someone else so we need some AWS service using which infrastructure configuration can be backed up which later can be used in newer infra creation.

2

Answers


  1. Chosen as BEST ANSWER

    I think using AWS CLI describe command aws SERVICE_NAME describe-* is good option to copy all the service content in json file which later on use or refer for creation of same service in other region / account.


  2. Typically you would use an Infrastructure as Code (Iac) tool such as CloudFormation or Terraform to create your AWS resources. Then your configuration would be code, checked into source control (Git) such that you can see exactly what your infrastructure should be at any moment just by looking at the IaC templates, and you can see how it has changed over time by looking at the history of the templates in your source control tool.

    Then when you want to deploy the same configuration to another region, all you have to do is run your IaC tool again with a different region configured.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search