Build 3 tier architecture resources using Terraform
It is an application architecture that organizes applications into three logical and physical computing tiers:
-> Presentation tier(UI) -> Application tier (Processing) -> Data tier (Storage)
We will use 2 virtual machines and a SQL server and a DB inside to do this, presentation tier will be managed by the Web server and Application by the App servers, Web server will have Inbound access from internet and app server will be connected to the SQL service
All the resources will be connected to a single VNET with respective subnets and Network Security Groups will have the necessary rules to control traffic.
We can use simple TF code to spin up these VM machines, this can also be placed into modules and re-used as required.