Creating Environments in Azure

In Figure 6.2, we defined four environments: Dev, QA, Staging, and Production. In this next section, we’ll discuss how to use automation and infrastructure to provision these environments in Azure.

Immutable Infrastructure

Before we discuss ways to create our infrastructure, let’s discuss two common ways to define your infrastructure and deployments. The first is the classic model, where a server is running for a relatively long time, with patches and updates applied regularly. Any breaking changes result in tweaks to the server configuration that must be rolled out and tested, resulting in regular maintenance and patching. The longer the server runs and the more deployments that happen against that environment, ...

Get Microservices with Docker on Microsoft Azure™ (includes Content Update Program) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.