ubuntu - Azure: managing multiple VMs in the same availability set -


recently learned not advised use single vm run server applications because microsoft can take vm offline when updating causing services unavailable time.

instead microsoft advises use multiple vms , place these in same cloud service , availability set. microsoft ensure @ least 1 vm stay online while updating. (correct me if wrong far).

like said use 1 vm. use git deploy updates of applications , can use ssh check if on vm running expected. locally run db self contained easy manage. vm use simple ubuntu 14.10 server.

how work when have multiple vms? need log in using ssh every server make change? need push several git repositories in order update application? how work if 1 of vms offline (due scaling settings want use)?

so question more of "what's opinion on should do?" there number of ways can solve problem. going suggest take @ puppet or chef handle deployments. allows manage code , configuration way of "recipes".

if configuration changed outside of "recipe" rolled back. if server offline, when comes up, deployment server see there needs update , automatically catch server up. if deploy third (or fourth) server, configure new server master server configuration, , server made duplicate other servers.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -