Provision EC2 Instances for a MongoDB Cluster with Terraform

Amazon Web Services EC2 instances provide a ubiquitous platform to quickly spin up Linux servers for any purpose, including a MongoDB cluster. The HashiCorp Terraform provisioning tool makes it easy to automate build and teardown of servers in a consistent and repeatable way. This blog entry will work through simple Terraform code to build servers…