DevOps: A Practical Example

If you look at DevOps as a means of removing hurdles between coders and users, there's almost no better real-world, practical example than Amazon Elastic Beanstalk. If you're not familiar with EBS, look into it - it's kinda cool.

EBS isn't suitable for every situation, to be sure. It's mainly useful for Linux VMs, running Web sites, in fact, which isn't 100% of your workloads. But the idea is pretty awesome. Developers store their code in a source control repo - ideally, Git. Along with their code - and this is the cool bit - they include a configuration file. This file can list things like environment variables, packages (installed from repos using NPM, RHL, YUM, etc), and so on.

When you recycle the application, EBS spins up new VMs and configures them on the fly to match your configuration file. It then shuts down any currently running machines. 

So the deal is, the developer specifies the machine configuration - and they can do that in a test silo. All the code, including the configuration directives, live in Git. So when it's working in test, you just point the production silo at the same Git repo, and SHAZAM! application is up and running. Nobody manually configures anything. Change the app? No problem - just check in the code and recycle the application, and the new code - and its configuration - is live.

The "ops" portion of the scenario, in other words, is completely automated. Amazon has automated all the bits that sit between a developer and deployed code. Amazon's back end magic reads that configuration document and uses it to configure 1-to-infinity virtual machines as directed. Nobody has to do anything manual. The "server," in the form of a VM, just becomes another software element. "Infrastructure as code," if you will.

Gosh, what could Microsoft do to compete with that in Azure? What could you do, in your "private cloud," to provide similar capabilities?

Hmm... 🙂

About the Author

Don Jones

Profile photo of Don Jones

Don Jones is a Windows PowerShell MVP, author of several Windows PowerShell books (and other IT books), Co-founder and President/CEO of PowerShell.org, PowerShell columnist for Microsoft TechNet Magazine, PowerShell educator, and designer/author of several Windows PowerShell courses (including Microsoft's). Power to the shell!