5

Deploying to Amazon Web Services

After deploying our WordPress infrastructure into Microsoft Azure, we are now ready to explore how to deploy the same infrastructure to Amazon Web Services (AWS). However, while the high-level design of the infrastructure remains the same, there are some key differences between Azure and AWS that will require us to approach the deployment differently.

In Chapter 4, Deploying to Microsoft Azure, we focused on using Terraform to deploy to Azure. In this chapter, we will be diving deeper into Ansible, another popular infrastructure-as-code tool, to deploy our workload to AWS. Ansible allows us to define the desired state of our infrastructure in a declarative manner and manage the configuration and orchestration ...

Get Infrastructure as Code for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.