Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

Three-Tier Web App

A classic three-tier cloud architecture pattern using CloudBlocks.

Architecture Overview

Internet → Gateway (Application Gateway)
              ↓
         Public Subnet
              ↓
         Compute (VM / Container App)
              ↓
         Private Subnet
           ↓        ↓
     Database    Storage
     (Managed)  (Blob Storage)

Components

Layer Category Block Type Subnet Description
Frontend Edge Gateway Public Application Gateway / Load Balancer
Application Compute Compute Public VM or Container App instances
Data Data Database Private Managed database server
Data Data Storage Private Blob storage for static assets

How to Build in CloudBlocks

  1. Create a Region Plate (VNet)
  2. Add a Public Subnet Plate inside the Region Plate
  3. Add a Private Subnet Plate inside the Region Plate
  4. Place a Gateway block on the Public Subnet
  5. Place a Compute block on the Public Subnet
  6. Place a Database block on the Private Subnet
  7. Place a Storage block on the Private Subnet
  8. Connect: Internet → Gateway → Compute → Database
  9. Connect: Compute → Storage
  10. Run Validate to confirm the architecture is valid

Generate Infrastructure Code

After validation, click Generate to export Terraform (or Bicep/Pulumi) code for this architecture. The generated code will be committed to your connected GitHub repository.