Deploying Multi-Tier Architecture on AWS using Terraform
Terrafom is a infrastructure as a code tool that lets you define define both cloud and on-prem resources in human readable configuration files that you can version, reuse and share you can manage the lifeCycle of infra
IT typically consist of three layers.
- Presentation Layer.(Web Server)
- Application Layer.(App Server)
- Database Server.(DB Server)
Each layer has it own purpose and can be scaled independently, by provideing flexibility and efficiency.
install terraform
configure aws cli
configure aws IAM credentials
- Virtual Private Cloud
- Subnet and Route Table
- Security Group And N-ACL
- Load-Balancer
- Auto-Scaling Group
- RDS DB-Instance
- RDS DB-Instance
- RDS DB-Instance
- RDS DB-Instance
- RDS DB-Instance