Cloud architecture
Cloud architecture starts with what your product needs today and what it will plausibly need next year. We choose the provider and the managed services, design the network so that only one entry point is public, and estimate the cost before anything is created. We work on AWS, Google Cloud and plain virtual servers, and we say so when a simpler setup is enough.
Cloud architecture: an overview
Good cloud architecture is mostly a list of decisions you can explain: which provider, which managed services, what is public, what is private, and what each piece costs per month. We make those decisions with you, in writing, before any resource exists. The output is a diagram, a cost estimate and Terraform code, not a console full of hand-made resources.
The common problem is not too little infrastructure but too much, chosen early and never revisited: a managed Kubernetes cluster for a single API, three environments running at full size around the clock, a database tier sized for a launch that never came. The opposite happens too, with one server holding the application, the database and the only copy of the backups.
We lean toward managed services where they remove real operational work, such as a managed PostgreSQL with point-in-time recovery, and toward plain virtual servers where a managed service would only add cost.
What the service covers
Provider and service selection
We compare AWS, Google Cloud and plain virtual servers for your workload, component by component. The comparison covers monthly cost, the operational work each option leaves you and any rule on where data must be stored.
Network and access design
One public entry point, a private network for everything else, and access to internal machines through a logged bastion or the provider's identity-aware tunnel. Firewall rules and security groups are written as code so they can be reviewed.
Databases and storage
Each data store is placed according to what its data needs: a managed database, a database in a container, or object storage. Retention, encryption at rest and point-in-time recovery are decided store by store.
Cost estimate and tagging
Every resource in the design has an estimated monthly cost before it is created. Tags per environment and per service make the real invoice readable once it arrives.
Backup and restore plan
Backups are scheduled for each data store, with a copy kept outside the main account. The plan includes a restore that we actually run, with the steps written in a runbook.
Accounts and environments
Production, staging and test live in separate accounts or projects, so a mistake in one cannot delete resources in another. Access and billing alerts are set per account.
When it is the right call
- 01
You are about to launch a product and need to choose between AWS, Google Cloud and a simpler hosting option.
- 02
Your monthly cloud invoice has grown and nobody on the team can match each line to a service.
- 03
Your database, your application and your backups all live on the same machine.
- 04
An enterprise customer asks how your network is segmented and you have no diagram to send them.
What you get
Choice of provider and services on AWS, Google Cloud or virtual servers
Network design: one public entry point, internal services on a private network
Cost estimate before launch and cost tracking afterward
Backup, restore and failover plan
How we work on it
Step 1
Map the workload
We list the services, data stores, traffic patterns and constraints such as where data must be stored. This tells us what the architecture actually has to carry.
Step 2
Compare realistic options
We set two or three possible setups side by side, each with its monthly cost and the work it takes to operate. You choose with the trade-offs in front of you, and the decision goes into an ADR.
Step 3
Build it in code
The chosen setup is written in Terraform and created in a test account first. Nothing is clicked together in the console, so the test account and production come from the same files.
Step 4
Restore before launch
Backups are configured and a full restore into the test account is run before production takes traffic. Whatever fails in that restore is fixed while there is still no pressure.
Step 5
Track and resize
Budget alerts and tags show the cost per environment and per service. After launch we compare the bill with real traffic and shrink what is oversized.
Choosing between managed services and virtual servers
A managed database, queue or object store costs more per unit than running the same software yourself, and it is usually worth it: upgrades, replication and backups stop being your problem at three in the morning. For a stateless web application the case is weaker. A virtual server running Docker Compose behind Nginx is cheap, easy to understand and easy to move.
We decide component by component, from a few questions: how hard it is to run well, how much downtime an upgrade would cause, how predictable its load is and how much control you need over it. A database tends to land on the managed side, while a stateless API can reasonably go either way. Because everything runs as containers, moving a service from a virtual machine to a managed platform or to Kubernetes later does not mean rewriting it.
Planning backups, restores and failover in the cloud
A backup that has never been restored is a hope. Every data store gets scheduled backups, a copy is kept in a separate account or region, and a restore into a test environment is part of the setup, not a later task. The restore steps go into a runbook in your repository.
Failover is a cost decision. Keeping a second region ready to take over means paying for much of the infrastructure twice, and many products are better served by a restore that has been rehearsed. We write down how long the product could be unavailable and how much recent data it could afford to lose, then pick the setup that matches, so the choice is made on purpose.
Reading and controlling the cloud bill
Cloud invoices grow in predictable places: databases sized for a peak that rarely comes, staging environments running through nights and weekends, load balancers and IP addresses left behind by old experiments, logs and snapshots kept forever, and data moving between regions or out to the internet.
Every resource is tagged with its environment and service, each account gets budget alerts, and non-production environments scale down outside working hours where the product allows it. Commitments such as reserved instances or savings plans come last, once real usage is known, because committing to the wrong size locks the waste in.
Technologies
- Docker
- Kubernetes
- Helm
- Argo CD
- Terraform
- GitHub Actions
- AWS
- Google Cloud
- Grafana
How you can work with us
Fixed-scope project
The scope of the first version is written down, split into milestones and priced per milestone. It suits a product or a feature with a clear outline.
Dedicated team
A team works on your product over the long run, with its own planning and release cadence. It suits a product that keeps changing.
Team extension
One or more of our engineers join your team and work with your tools and routines. It suits a company that knows where it is going but lacks people or a specific skill.
Monthly support
A monthly retainer covers maintenance, updates and small changes, with an agreed response time. It suits a product in production that needs upkeep more than new features.
Questions about Cloud architecture
What drives the cost of cloud hosting?
Mostly the size and number of resources that run all the time: databases, virtual machines, clusters and every environment you keep up. Data transferred out of the cloud, services billed per request and logs kept for a long time come next. We estimate each of these before launch and tag resources so the invoice can be read service by service.
Should we choose AWS or Google Cloud?
For most products both work, and the deciding factors are practical: the services you need, what your team already knows, any credits you hold and rules on where data is stored. We work on both. Whichever you pick, the setup lives in Terraform files you can read and recreate.
Will the cloud accounts and infrastructure be in our name?
Yes. The cloud accounts, domains and billing belong to you, and we work in them with access you grant and can revoke at any time. The Terraform code and the runbooks live in your repository, so another team could take over without us.
How long does it take to design and build a cloud architecture?
It depends on the number of services and data stores, on whether a running system has to move, and on the constraints that come with it, such as where data must stay or a customer's security review. A new product is faster to set up than a live system that has to move without downtime. We split the work into milestones, each one usable in a test account, so you see progress before production changes.
Do we need several regions or several cloud providers?
Only when a concrete requirement calls for it, such as a customer contract, a regulator, or downtime that costs more than running a second copy. A second region or provider means more tooling, more expertise to keep and a larger part of the bill paid twice. For many products a rehearsed restore in one region is the sensible answer.
Can we move from a single server or another host without downtime?
Usually, if the move is done in steps. We rebuild the setup in the new account from Terraform, copy or replicate the data, test the application there on a separate address, then switch DNS after lowering its TTL in advance. The database is the delicate part, so we choose with you between a replicated cut-over and a short maintenance window.
In the same service area
Design, build and ship your project
Describe it in three lines. We reply with specific questions and a first take on how to proceed.