Scalable Cloud Ops with Fugue: Declare, Deploy, and Automate the Cloud by Josha Stella
Author:Josha Stella [Stella, Josha]
Language: eng
Format: azw3
Tags: Pragmatic Bookshelf
Publisher: Pragmatic Bookshelf
Published: 2017-07-11T04:00:00+00:00
Reducing Redundancy in Refuge ASGs and Beyond
Let’s apply more of what you’ve learned to our Refuge composition. Looking at the code, we can see that there are many similarities between the refuge-web-app, refuge-api, and refuge-notifiication-worker services. Namely, each is composed of the following resources:
AutoScalingGroup
LaunchConfiguration
SecurityGroup
InstanceProfile (and associated role and policy)
A few differences aside, all of these resources are configured in pretty much the same way. Let’s pull that common structure out to a function, both to reduce duplication and to allow us to focus on the interesting parts of our services, rather than the boilerplate they have in common. We’ll use an approach similar to the loadbalancer function we wrote earlier in Tightening Refuge Code with a Function, but this time our resources differ in more than just their names.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(26402)
Hello! Python by Anthony Briggs(25313)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(24554)
Kotlin in Action by Dmitry Jemerov(23638)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(22975)
Dependency Injection in .NET by Mark Seemann(22757)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(21513)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(20363)
Grails in Action by Glen Smith Peter Ledbrook(19423)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(17056)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(16422)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(14110)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(12293)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(11569)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10645)
Hit Refresh by Satya Nadella(9223)
The Kubernetes Operator Framework Book by Michael Dame(8579)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8432)
Robo-Advisor with Python by Aki Ranin(8376)