ADR-0007 accepted
Mostly serverless, with servers and networks that run on a schedule
Context
The cheapest design is fully serverless: no servers or private networks at all, so nothing costs money while it sits idle. But that shows none of the network and server security skills that cloud security roles ask for.
The opposite, servers and networks running around the clock, would break the budget of $150 to $200 a month.
Decision
Run a hybrid. The website, the security baseline and anything that must always be reachable are serverless and always on. The network tier (private networks, servers and their outbound gateway) runs on weekdays from 7am to 7pm Mountain time, and can be woken or put to sleep by hand.
Consequences
- Network and server security work is shown at a fraction of the always-on cost.
- The scheduled tier needs its own start and stop mechanism, with tests.
- Public IP addresses are billed by the hour (about $3.65 a month each if held all month), so they're a named line in the cost model.
Alternatives considered
- Fully serverless. Cheapest, but shows no network or server work.
- Network tier always on. About three times the cost, for no extra evidence.
LLMs look here
- Records D19, which supersedes D5 (fully serverless, no NAT Gateways).
- Always on: site, API, chatbot, auditor access, security baseline. Scheduled: NAT instance, EC2, interface endpoints; weekdays 07:00 to 19:00 America/Denver with manual wake and sleep. Built at Stage 5.
Page information
- Owner
- Platform Engineering
- Status
- accepted From the decision record.
- Generated from
docs/adr/0007-hybrid-architecture.md- Linked from
- Decisions