jambonz / jambonz-infrastructure

packer and cloudformation templates for creating EC2-based jambonz deployments
23 stars 29 forks source link

jambonz-scalable-medium: redeploy a new WebMonitoringServer instance resets the database #65

Open eravelo opened 1 year ago

eravelo commented 1 year ago

After rebuilding a new jambonz web+monitoring server instance, and updating the Cloudformation stack, all the data in the RDS database is reset to default when the new instance is launched.

This is very annoying on a production cluster since it wipes all the cpaas configuration.

In the jambonz-scalable-medium.yaml template, there should be a condition before running the "seeding database.." code block.

davehorton commented 11 months ago

@ajukes trying to recall how we handled this problem earlier. I think we had to create a new CF that did not include the database (?). I'm not sure if that is the best way though..