Questions tagged [immutable-servers]

For questions about immutable servers, which are servers on which no changes can be made.

10 questions
29
votes
5 answers

What are immutable servers?

There are some questions about immutable servers, such as: How to implement the immutable server pattern without loosing the ability to do post-mortems? What role do Configuration Managment tools play in immutable infrastructure? It seems obvious…
Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
13
votes
1 answer

How to support releasing new versions of the code, running in parallel with the last stable release?

I have one service in production (on AWS), which follows the immutable server pattern. Its deployment looks like this: Create a new AMI with Packer. Create a new CloudFormation stack, starting with an auto-scaling group of size 1. When I see that…
13
votes
2 answers

What role do Configuration Managment tools play in immutable infrastructure?

If I'm using immutable servers/containers, do I need tools like Chef, Puppet, Ansible, or Salt? Those config management tools are designed to establish a configuration and then maintain it. If I'm deploying immutable servers, should I use…
Dave Swersky
  • 4,068
  • 2
  • 21
  • 33
12
votes
2 answers

How to implement the immutable server pattern without loosing the ability to do post-mortems?

The immutable server pattern is a deployment discipline favouring the reproducibility of deployments. It is characterised by the fact that “a server that once deployed, is never modified, merely replaced with a new updated instance” and…
Michaël Le Barbier
  • 2,670
  • 1
  • 16
  • 27
10
votes
3 answers

How should we automatically rebuild immutable infrastructure when new packages are available?

We're going to be using Terraform to automate our infrastructure deployment and Packer to create the machine images deployed by Terraform. By following immutable infrastructure design principles, we will implement patching by creating a new image…
8
votes
2 answers

A comparison of idempotence and immutability

Many in the DevOps apply the cattle-not-pets mentality by implementing immutable infrastructure and redeploying when changes are needed (instead of modifying). Configuration management has a similar principle of idempotence. What are the comparative…
7
votes
2 answers

Does Immutable Servers imply no source code updates on the servers?

So once an Immutable Server is in place, nothing should change at all. Or is it only configuration. Are source code updates acceptable on Immutable Servers?
3
votes
1 answer

Configuration Management Tools and Rollbacks / Approaching Immutable Infrastructure

I am interested in whether there are any configuration management tools out there that make it easy to roll back. So far it seems that with Ansible, Chef, and Puppet you have to write the roll back tasks/recipes/whatever to get back to your previous…
David West
  • 1,533
  • 3
  • 18
  • 25
2
votes
1 answer

Monitoring immutable infrastructure virtual machines

Currently I am using the HashiCorp stack (Packer, Terraform) and Ansible, to generate Immutable Infrastructure and Infrastructure as Code. This builds a Virtual Machine from a base image, provisions it and applies it to some VSphere servers. One of…
Rekovni
  • 933
  • 10
  • 24
1
vote
1 answer

Looking for good books on Immutable Infrastructure

I am looking for the best books on Immutable Infrastructure. I am interested in books on theory and application. Thank you.
David West
  • 1,533
  • 3
  • 18
  • 25