AWS Elastic Beanstalk change RDS Endpoint

后端 未结 3 1764
时光取名叫无心
时光取名叫无心 2020-12-29 01:59

How do I change the configured RDS endpoint of an AWS Elastic Beanstalk environment? E.g. after the RDS database was deleted or should be replaced with a new RDS database.

3条回答
  •  情书的邮戳
    2020-12-29 02:35

    Hot-swapping out the data tier within an environment is discouraged because it breaks down the integrity of the environment. What you want to do is clone the environment, with a restored snapshot of the RDS instance. This means you'll have an identical environment with a different url 'host', and if everything went without a hitch, then you can swap environment urls in order to initiate a DNS swap.

    After the swap happens and everything is good to go, you can proceed to deflate the old environment

提交回复
热议问题