Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 932 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 932 Bytes

Problem Statement

Build 3 tier architecture resources using Terraform

What do we mean by three-tier architecture

It is an application architecture that organizes applications into three logical and physical computing tiers:

-> Presentation tier(UI) -> Application tier (Processing) -> Data tier (Storage)

How we can easily build it in Azure?

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.

How to use Terraform?

We can use simple TF code to spin up these VM machines, this can also be placed into modules and re-used as required.