A basic three-tier architecture built and provisioned by terraform on AWS
This repo provides a template for running a simple three-tier architecture on Amazon Web services. The premise is that you have stateless app servers running behind an ELB serving traffic.
After you run terraform apply
on this configuration, it will
automatically output:
Example:
app_server_address = http://54.169.122.73:5000
db_instance_address = mydb-rds.cddaja5olpcr.ap-southeast-1.rds.amazonaws.com
nginx_reverse_proxy_server = http://web-elb-360621382.ap-southeast-1.elb.amazonaws.com
git clone https://github.com/lijoyoung/cargildemo.git
cd cargildemo
terraform init
terraform plan
terraform apply