Chapter 7: Deploying Your Virtual Machines
- We use automated deployment to save time, to get a reproducible environment quickly up and running, and to avoid manual errors.
- Besides the answer to the previous question, a standardized working environment makes team-based application development possible.
- Scripting is very flexible. Scripts are easier to create and can be invoked manually anytime. The automation process can be triggered by events such as adding code to Git using
git push
or the stopping/starting of your virtual machines. - Azure Resource Manager is the most important one. In addition, you can use Terraform, Ansible, and PowerShell.
- Vagrant deploys a workload in Azure; Packer creates a custom image that you can deploy.
- For multiple reasons, the most important ones are the following:
Security, to harden the image using CIS standards
When customization is needed for a standard image
Not dependent on the offerings of a third party
Capture an existing virtual...