Week 3 of #10Weeksofcloudops
.jpg)
Implement a 2-tier architecture in AWS using Terraform. Terraform - Terraform is an open source service that allows us to build infrastructure as a code to provision resources from any infrastructure provider. Terraform creates and manages resources on cloud platforms and other services through their application programming interfaces (APIs). Providers enable terraform to work with virtually any platform or service with an accessible API. It lets us define resources and infrastructure in human-readable, declarative configuration files, rather than through a graphical user interface. Prerequisites - AWS Account AWS CLI Terraform AWS Access key and Security Key. Microsoft Visual Studio code. Creating providers.tf - This defines a web application, including a Provider block, VPC with its networking components, Security block, Instances block (EC2 instance for Compute & RDS instance for database), an Application Load Balancer block and an Outputs bloc...