Immutable infrastructure with containers
Immutable infrastructure is a paradigm shift in the way we manage and deploy applications. Instead of modifying existing systems, immutable infrastructure advocates for creating new, immutable instances whenever changes are required. This approach brings several benefits in terms of resiliency, consistency, and manageability. The core idea behind immutable infrastructure is to treat VMs and cloud infrastructure components as disposable entities.
Important note
On AWS, VMs are referred to as Elastic Compute Cloud service (EC2) instances or just instances for short. Instances are also referred to as servers. That said, a server is not always virtual, and AWS does propose bare metal (non-VMs) with various CPU architectures. Check the EC2 catalog for more information (https://aws.amazon.com/ec2/instance-types/).
To really grasp what immutable infrastructure means, let’s build up from traditional VMs and then show the advantages of...