O'Reilly logo

Scalable Cloud Ops with Fugue by Josha Stella

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Vars as a Lock Service

Now that we know how to use Vars to securely store our passwords and have our application instances automatically configure themselves when these changes occur, the Refuge team has found a new optimization it would like to make. Not all of the requests for Refuge services require connecting to RDS. Continuing from our last example, if we had many application instances behind a load balancer and then updated our password pointer key, all of our application instances would restart at the same time. This would cause unnecessary downtime of our application. All application instances will need to restart the Refuge application at some point and, because not all requests require connecting to the RDS instance, there is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required