The Benefits of Immutable Infrastructure

Mar 31, 2017 by Armory

Immutable Infrastructure: The practice of replacing your infrastructure with new instances each time you deploy new code to ensure mutated code does not carry forward.

  • How does this benefit my company?

Immutable infrastructure makes server maintenance as easy as installing fresh new copies of your servers into the cloud and deleting your old versions when it’s confirmed that the newer ones are up and running.

Below is a short list of benefits immutable infrastructure may provide you:

  • Your company is preparing to run cloud-native applications
  • You are trying to automate the scaling of your infrastructure in the cloud
  • You want simple and infinitely repeatable deployments
  • Continuous deployments safely and quickly (Netflix deploys 4000 times a day!)
  • The operations becomes more automated and responsibility falls on the developers
  • Server and node failures do not result in your service going down for long, if at all
  • When would my team use it?

Every time your team wants to deploy new code and upgrade your servers it should be good practice to install fresh copies of your infrastructure instead of simply injecting your code onto existing ones.

Think of your infrastructure like a house: over time things break and become dented as you bring in furniture and remodel things. You can paint over scratches and fix leaky faucets (updating existing infrastructure) but the age will eventually show in ways you don’t expect – such as creaking floorboards or carpet imprints – and users notice these things. Practicing immutable infrastructure is like building a brand new identical house each time you introduce an item, but without the cost and effort of building an actual house!

  • Do my services have to commit all-in?

No: just like how some companies are only hybrid-cloud, it is possible to use hybridized immutable infrastructure.

This post is part of a series of posts that describe features in Spinnaker. You can find
all of the related posts here.

Learn More

Recently Published Posts

3 Common Spinnaker Challenges (and Easy Ways to Solve Them)

Sep 27, 2022

Spinnaker is the most powerful continuous delivery tool on the market.  DevOps engineers and developers recognize this power and are looking to use Spinnaker as a foundational tool in their Continuous Integration and Continuous Delivery (CI/CD) process for hybrid and multi-cloud deployments. Such a powerful, expansive open source tool needs expertise within your organization to […]

Read more

Streamline Advanced Kubernetes Deployments from GitHub Actions with New Armory Service

Sep 23, 2022

Today, Armory is excited to announce the availability of the GitHub Action for Armory Continuous Deployment-as-a-Service. GitHub is where developers shape the future of software. After a developer writes and tests their code in GitHub, it must be deployed. Armory’s GitHub Action for Continuous Deployment-as-a-Service extends the best-in-class deployment capabilities to Kubernetes. CD-as-a-Service enables declarative […]

Read more

When everyone is facing the same headwind, go on the offensive

Sep 12, 2022

Call me Pollyanna, but what a great time to be a Platform or DevOps engineer. If you’re working in a public company, the S&P is off ~20% year over year, so the value of your RSUs has wilted. If you’re working in a private company, venture funding and M&A velocity are anemic, making expansion capital […]

Read more