This folder contains a Web Server Cluster module example of a Terraform file Terraform.
This Terraform file define a cluster of web servers module on AWS (Amazon Web Services) using EC2 and Auto Scaling, and a load balancer using ELB.
The cluster of web servers returns "Hello, World" for the URL /
. The load balancer listens on port 80.
- You must have Terraform installed on your computer.
- You must have an AWS (Amazon Web Services) account.
- It uses the Terraform AWS Provider that interacts with the many resources supported by AWS through its APIs.
- This code was written for Terraform 0.10.x.
Terraform modules are not meant to be deployed directly. Instead, you should be using them from other templates. See stage/services/webserver-cluster and prod/services/webserver-cluster for examples.