System Architecture

System Architecture Overview — The Skeleton You Decide First

System Architecture Overview — The Skeleton You Decide First

About this article

This article is the entry point of the “System Architecture” category in the Architecture Crash Course for the Generative-AI Era series. It surveys the entire skeleton — hardware, software, network — together. In construction terms it corresponds to the foundation and the structural framing, and across all architectural layers it is the one where redo-ing is the hardest.

This article surveys what gets decided here, why it must be decided first, and the AI-driven-development selection criteria.

A full list of all articles in this category, with summaries and learning points, is available at the following page.

System Architecture — Article Indexen.senkohome.com/arch-intro-index-system/

Before you read this

This article uses a good deal of infrastructure vocabulary — servers, networks and so on. If that is unfamiliar, reading the primers "Servers and the Cloud" and "How a Web Service Works" first makes it far easier to follow. You can also look anything up in the glossary as you read.

What is system architecture in the first place

Imagine a house’s foundation work. If you say “actually, I want a basement” after the foundation is poured, redoing the foundation costs almost as much as rebuilding the house. You can change the floor plan and wallpaper later, but the foundation and structural framing must be decided correctly from the start.

System architecture is the domain that decides the overall skeleton encompassing hardware, software, and network. Cloud or your own data center, OS, DB, container platform, network design — of all architectural layers, this is the one where redo is hardest.

If you neglect system architecture, situations like switching cloud vendors mid-project = effectively “rebuilding” arise, and every other design decision is reduced to nothing.

Knowledge Structure and Section Dependencies of System Architecture Group 1: Foundation Selection Application Type Web / Native / Hybrid Deployment Model On-prem / Cloud / Hybrid Cloud Vendor AWS / Azure / GCP Runtime Environment VM / Container / Serverless OS Selection Linux / Windows / UNIX Reverse order = rework guaranteed Group 2: Data & Network Data Store Placement RDBMS / NoSQL / Cache Network Design VPC / Subnet / CIDR Security Infrastructure Defense in Depth / Least Privilege Monitoring & Operations Design Observability 3 Pillars Extremely difficult to retrofit Group 3: BCP & Cost BCP / DR Design RPO, RTO, 3-2-1 Rule Cost Management (FinOps) Designed in, polished in operation After configuration is set, design recovery and costs Group 1 upstream decisions → Group 2 designs facilities on the foundation → Group 3 designs recovery & costs

Why it is decided first

This domain is a concentration of One-way Doors (Bezos’s term for “decisions hard to reverse”). Downstream judgments are bound by what’s settled here. Changing the skeleton later means tasks like:

  • Switching cloud vendor mid-project is essentially “rebuild from scratch.”
  • Switching between on-prem and cloud later is also major construction work.
  • OS and DB product changes propagate widely.

Even on small projects, deciding the broad strokes up front is the rule. “We’ll think about that later” becomes more fatal the smaller the project — by the time code and operations have grown into the skeleton, peeling them apart is the work.

The mindset of “MVP, so just wing it” turns into the most expensive choice in retrospect. System architecture should be sketched out in week 1 of the project; deferral is most fatal at smaller scale.

What gets decided — three groups

For each of the following, articulate your project’s answer in 1-2 sentences. Leaving them ambiguous now will always come back as “why did we decide that?” later.

The decisions in this domain split into three groups:

Three Groups of Decisions in System Architecture Group 1: Foundation Selection The base decided first Decide top-down; reverse order causes rework Application Type Deployment Model Cloud Vendor Runtime Environment OS Selection Data Persistence Method Up Down Group 2: NW, Security & Monitoring Facilities built on top of the foundation Domain extremely difficult to retrofit Data Store Placement DB Vendor & Batch Processing Method Network Design IP ranges, subnets, communication protocols Security Infrastructure WAF, IDS/IPS, Zero Trust Monitoring & Alert Design CloudWatch & Datadog Retrofitting causes major accidents Group 3: BCP, Cost & Automation Domain designed after configuration is set Recovery when broken and cost management Storage & Backup S3, Blob, Archive Strategy External Connections NAT, VPN, Dedicated Lines BCP / DR Measures Multi-AZ & Multi-Region CI/CD Infrastructure GitHub Actions & GitLab CI IaC (Infrastructure as Code) Terraform & CloudFormation Constrains Once confirmed Group 1 (Foundation) decisions constrain Group 2 & 3 options. Deciding upstream-first is the iron rule

The first group is the platform itself.

ItemExamples
Application formNative app / Web app / Hybrid app
Deployment modelOn-prem / Cloud / Hybrid
Cloud vendorAWS / GCP / Azure
RuntimeVM / Container / Serverless
OSLinux / Windows / UNIX
Data persistenceRDBMS / NoSQL / Filesystem

This layer is covered in articles 01-06 below. The substrate of all later decisions — get this wrong and everything downstream goes off the rails.

The second is network, security and operations.

ItemExamples
DB vendorOracle / PostgreSQL / DynamoDB
Batch processingLong-running / Scheduled / Event-driven
NetworkIP range design, subnet partitioning
Communication protocolsHTTPS / gRPC / WebSocket
Security foundationWAF, IDS/IPS, Zero Trust (re-authenticating every request, no implicit internal trust)
Monitoring / alertingCloudWatch / Datadog / PagerDuty

Network, security, and monitoring are extremely difficult to bolt on after the fact; they need to be built into the design. Articles 07-09 in this category.

The third is BCP, cost and operational automation.

ItemExamples
Storage / backupS3 / Blob / Archive strategy
External connectivityInternet GW / NAT / VPN / Dedicated lines
BCPMulti-AZ (multiple data centers within the same region) / Multi-region (geographically separated) / DR site
CI/CD platformGitHub Actions / GitLab CI / CodePipeline
IaCTerraform / CloudFormation / Pulumi

Business continuity and cost management appear in articles 10-11. CI/CD, IaC, and configuration management — the development-process layer — are consolidated in the separate “DevOps Architecture” category.

System configurations by scale and phase

Optimal system architecture changes with org scale. The conclusion up front: from individuals to mid-sized SaaS, single cloud + managed services + IaC is the default. Hybrid and multi-cloud should be limited to large enterprises in 2026.

PhaseMonthly infra costRecommended configBCP targetDedicated infra people
MVP / individualup to $30Single cloud, single region, managed99%0
Early startup$300-3kSingle cloud, multi-AZ, IaC mandatory99.9%0.5
Mid-sized SaaS$3k-30kSingle cloud + 2 regions for DR99.95%1-3
Enterprise$30k+Hybrid + dedicated lines + AWS Organizations99.99%5+
Finance / healthcare / publicIndustry-dependentPrivate cloud, compliance certificationsIndustry-required10+

The practical floor for multi-cloud or hybrid is 3+ dedicated infra engineers. Going below that just melts the team in operations.

The courage to lean on a single cloud is what reconciles operations with AI productivity. Startups copying enterprise topologies is a textbook failure pattern — they exhaust themselves in months and end up rolling back. An out-of-scale architecture is purely debt.

AI decision axes — Can it be expressed as code?

IaC-managed infrastructure is “readable code” for AI

Infrastructure defined in Terraform or CDK is treated as ordinary source code by AI. VPC configuration, security-group rules, and IAM policies all exist as text files, so AI can understand the topology and submit change proposals as PRs.

In contrast, infrastructure built through the management console GUI is invisible to AI. Configuration is only accessible via API, change history can’t be tracked, and it falls outside the scope of AI review and auto-remediation.

Difference Between IaC Infrastructure and GUI-Managed Infrastructure IaC Infrastructure (Code-based) Terraform / CDK / CloudFormation Infrastructure defined in text files 1 AI can read the configuration Understands VPC, SG, IAM as code 2 Can propose changes via PRs Can use code review and approval flow 3 Change history preserved in Git Who, when, why changed—all traceable 4 Can fully reproduce environments Generate dev / staging / prod from same code AI era standard = Infrastructure declared in code VS GUI-Managed Infrastructure Management console operations Build & change by clicking screens x Completely invisible to AI Configuration info only available via API x Can't be reviewed or approved Goes to production the moment someone clicks x Change history can't be tracked Can't answer "who changed it?" x Environment drift occurs Breeding ground for "only production is broken" The choice most certain to become debt in the AI era

Why a single cloud is structurally advantaged for AI adoption

AWS’s information volume is several times that of Azure and GCP, and AI training data follows suit. For instance, there are enormous public samples of AWS IAM policies and CloudFormation templates, so AI can generate accurate code. A multi-cloud configuration forces dual management of each vendor’s IaC, IAM, and network design, doubling the context load on AI as well.

Multi-cloud is justified only when there are regulatory requirements, M&A constraints, or a specific service’s exclusive advantage (e.g., BigQuery).

The judgments that “feel intuitively right” deserve the most scrutiny. The habit of always cross-checking against scale and assumptions levels you up by a tier within a year as a system architect.

Pitfalls and forbidden moves

Of the forbidden moves covered across the individual articles, here are the six that matter at chapter level.

Forbidden moveWhy it is bad → what to do instead
Deciding from downstream and working back upstreambreak the order of application form, then cloud, then runtime, and rework always follows
Adopting multi-cloud without the staff for itduplicating IAM, monitoring and IaC doubles the operational cost
No IaC, everything built by hand in a GUIenvironment drift appears, reproduction becomes impossible, and it turns into debt in the AI era
Adding security and monitoring afterwardsauthentication, encryption and audit logging assume design-time inclusion; retrofitting causes serious incidents
Writing a BCP document and never rehearsingas in the GitLab incident of 2017, the backups do not work when it matters
Copying a large company’s architecture as it standsthe assumptions about scale differ, and over-engineering makes it unmaintainable

Summary

This article served as the entry point of the “System Architecture” category, surveying the domain.

System architecture is the least reversible domain. Locking down scale, upstream-first ordering, IaC, and security as standard equipment at the start determines your operations cost and AI-era readiness for the next 5-10 years.

The next article begins the deep dive: how to choose the application form (Native / Web / Hybrid).

Back to series TOC -> ‘Architecture Crash Course for the Generative-AI Era’: How to Read This Book

I hope you’ll read the next article as well.

📚 Series: Architecture Crash Course for the Generative-AI Era (11/95)