4 Deploying a multi-tiered web application in AWS

This chapter covers

  • Deploying a multi-tiered web application in AWS with Terraform
  • Setting project variables in variables definition files
  • Organizing code with nested modules
  • Using modules from the Terraform Registry
  • Passing data between modules using input variables and output values

Highly available, scalable web hosting has been a complex and expensive proposition until relatively recently. It wasn’t until AWS released its Elastic Compute Cloud (EC2) service in 2006 that things started changing for the better. EC2 was the first pay-as-you-go service that enabled customers to provision to nearly infinite capacity on demand. As great as EC2 was, a significant tooling gap existed that could ...

Get Terraform in Action 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.