How to change passwords and keys in Azure resources with minimal or no downtime -
i need change password , access keys in several azure resources:
- sql database user password
- storage account access keys
- service bus namespace shared key
there 4 websites , 2 cloud services uses these password , keys access resources. password , keys accessed apps using cloudconfigurationmanager
class.
i can change password , regenerate keys in portal, go each website's 'configure' tab , update new values here's problem: moment change passwords , keys, apps stop working until finish update of them in proper setting pages.
how change them , minimizing downtime as possible?
service bus , storage account have concept of primary/secondary key. can change keys 0 downtime.what need do:
- reconfigure service, website use secondary key
- regenerate primary
sql database different story, can
- create new sql user
- reconfigure service, website use new connection string
- delete old user
Comments
Post a Comment