I want to restore an RDS instance from a snapshot and have it replace an instance in a cloudformation.
Let's say I have one EC2 instance connected to one RDS instance in a cloud formation and I want to restore the RDS instance from a snapshot.
Since an RDS snapshot can only be restored into a new RDS instance, and that new RDS instance needs the domain name of the old instance for my EC2 to reach it, I have to let go of the old RDS instance by renaming or deleting before creating the new restore, but then the new RDS is not in my cloud formation stack anymore and does not have the proper tags. Instead the tags are in my old throw away instance.
Anyone know how to put the new restored instance into my cloudformation again?
Aucun commentaire:
Enregistrer un commentaire