-
Notifications
You must be signed in to change notification settings - Fork 52
Should retire old stacker_blueprints/postgres.py in favor if stacker_blueprints/rds #5
Comments
stacker_blueprints/postgres.py
in favor if stacker_blueprints/rds
Hi @phobologic I had need to provide a MySQL RDS backing-service for apps. I created a mysql.py derived from postgres.py including creating a SG that permits minions instead of controllers however, I can see that it's a fugly move as the MySQL Db now becomes 'required' across all envs and is 99% code duplication anyway. Do the directions (below) in the base class still apply and are you thinking of something different yourself? Or perhaps a backing-service should be a standalone stack (but it will then need vpc-id, sg etc)
|
Hey @awaddell:
That said, I tend to include all of my stacks in the same stacker config, that includes the minions and all the other services (like a database) that they will interact with. I also, in the case of stateful services, tend to set Hope that helps! |
Hi @phobologic , |
Yeah - you don't actually need the Slave Database parameter if you aren't going to use it, was just giving an example of how you could handle mutliple SecurityGroup changes, etc. Let me know if you run into any issues. |
It's just confusing at this point. Need to think about existing examples (
empire
) that use the old rds.The text was updated successfully, but these errors were encountered: