Technology

Cloud architecture: choose simplicity over complexity

For most SMEs, a well-structured monolith running on managed services costs less and fails less often than microservices on Kubernetes. Keep complexity for needs you have measured, review costs every month, document every choice and pick your hosting according to how sensitive your data is.

By the DIGITT teamPublished 7 min read

Cloud engineer monitoring infrastructure

A simple cloud architecture uses the smallest number of components that can deliver the service required. It hands to managed services everything you gain nothing by running yourself. For an SME, that is often a monolithic application split into clear modules, a managed database and automated deployment.

The cloud is now the norm. In 2023, 45.2% of businesses in the European Union used cloud services. The share was 41.7% among small businesses, according to Eurostat data cited by the European Commission. In France, 73% of companies using AI buy paid cloud services, against 33% of the others (INSEE). The question is no longer whether to move, but how to avoid piling up needless complexity.

Monolith or microservices: which should you choose?

A modular monolith, unless a measured need says otherwise. Microservices make sense when several teams must ship without blocking each other, or when one part of the system has load patterns very different from the rest.

On his website, Martin Fowler advises not to consider microservices unless a system is too complex to manage as a monolith (Microservice Premium). He calls the extra cost the “microservice premium”: automated deployment, monitoring, handling failure and eventual consistency between services.

He also observes that almost all successful microservice stories started with a monolith that grew too big and was broken up (Monolith First). Conversely, almost every system he had heard of that was built as microservices from scratch ended up in serious trouble.

CriterionModular monolithMicroservices
Team sizeOne or two teamsSeveral autonomous teams
DeploymentOne deliverable, one pipelineOne pipeline per service
OperationsOne application, one database, central logsNetwork between services, distributed tracing, API versions
DebuggingOne readable call stackOne request crosses several services
ScalingThe whole application scales as oneEach service scales on its own
Where it winsYoung product, changing scope, small teamStable organisation, well-bounded domains, very uneven loads

A monolith does not rule out change. If its modules have clear boundaries and talk through clean interfaces, one of them can become a service the day a measured need requires it.

Do you need Kubernetes?

Rarely, for an SME. Kubernetes orchestrates containers at scale, but it adds a fixed cost and an operations job that a managed platform takes on for you.

The fixed cost shows on the bill. On AWS, an EKS cluster costs $0.10 per hour under standard support, about $73 a month, before a single server (Amazon EKS pricing). Extended support rises to $0.60 per hour. The human cost appears on no bill at all: upgrades, cluster security, monitoring and on-call duty.

NeedSimple optionWhen to consider something more complex
Running a web applicationManaged application platform or serverless containersDozens of services, specific network needs
Storing relational dataManaged database with automatic backupsVolumes or constraints the managed offer cannot cover
Background jobsManaged message queue and a worker processContinuous, very high-throughput streams
Scheduled jobsThe platform’s scheduled tasksChains of interdependent jobs
Serving filesObject storage and a content delivery networkRarely

How do you keep the cloud bill under control?

Make costs visible by application and team, set budgets with alerts, and review unused resources every month. That is the core of FinOps, which the FinOps Foundation defines as “an operational framework and cultural practice” that maximises the business value of technology.

Its six principles come down to a few ideas. Teams collaborate, business value drives technology decisions and everyone takes ownership of their usage. Cost data is accessible, timely and accurate, FinOps is enabled centrally, and you take advantage of the cloud’s variable cost model.

In practice, seven habits cover most of it:

  1. Tag every resource by application, environment and team. Without tags, no cost can be attributed.
  2. Set a budget and alerts per account or project, from day one.
  3. Switch off what is idle: test environments at night and at weekends, orphaned resources, old snapshots.
  4. Right-size servers and databases to their real usage, measured over several weeks.
  5. Commit stable volumes, once usage is known, using the provider’s commitment options.
  6. Track a unit cost: cost per customer, per order or per document processed, not just the total bill.
  7. Review the bill every month with the person who makes architecture decisions.

Why does simplicity improve reliability?

Every component you add is another point of failure, another upgrade and another skill to maintain. Google’s book on site reliability engineering opens its chapter on simplicity with a line from C.A.R. Hoare: “The price of reliability is the pursuit of the utmost simplicity.”

The same chapter calls “boring” a positive attribute for software, and argues that, to some extent, every new line of code is a liability. A smaller project is easier to understand and to test, and frequently has fewer defects.

A few practices make an application robust and easy to hand over. Several come from The Twelve-Factor App method, written for software-as-a-service applications:

  • one codebase tracked in version control, many deploys;
  • configuration stored in the environment, never in the code;
  • stateless processes that can be restarted at any time;
  • development, staging and production kept as similar as possible;
  • logs treated as event streams;
  • automatic backups, with restores tested regularly;
  • automated deployment, with a one-command return to the previous version.

The same fallback principle applies to AI: see integrating AI into operations without breaking what works.

How do you document the architecture for handover?

With three short documents, kept up to date in the code repository: an architecture diagram, a decision log and an operations guide. An in-house team must be able to take over the system without the provider that built it.

The decision log follows the format Michael Nygard proposed in 2011 (Documenting Architecture Decisions). Each decision fits in a short file: a title, the context, the decision, its status and its consequences. The log stops a newcomer from blindly accepting, or blindly reversing, a past decision.

This work has a measured effect. The DORA research programme found a clear link between documentation quality and organisational performance. Documentation quality also amplifies the effect of technical practices such as continuous integration.

Item handed overWhat it must contain
Architecture diagramComponents, their links and the data flows, on one page
Decision logOne record per structural choice: context, decision, consequences
Operations guideDeploying, restoring a backup, responding to an alert
Infrastructure as codeEvery environment can be rebuilt from the repository
AccessCloud accounts, domain name and repositories in the client company’s name
SecretsA secrets vault, no passwords in the code

Ownership of the code and accounts is also a contract matter: see who owns your software’s code.

Where should a French company host its data?

It depends on how sensitive the data is and on what your customers require, not on a general principle. For personal data, hosting in the European Union makes compliance simpler. For sensitive data, ANSSI, France’s national cybersecurity agency, recommends a SecNumCloud-qualified offer.

SecNumCloud is the qualification ANSSI grants to cloud service providers, based on a requirements framework now at version 3.2. ANSSI publishes the list of qualified providers and of those undergoing qualification, for IaaS, PaaS and SaaS services.

In its guide on generative AI, ANSSI recommends that organisations “prioritise SecNumCloud hosting when deploying an AI system in a public cloud” (R14). It has sensitive data and business-critical systems particularly in mind.

DataExamplesSuitable hosting
Public or low sensitivityBrochure website, public documentationAny reliable cloud provider
Everyday personal dataCRM, HR tools, customer accountsEU hosting, data processing agreement, transfers covered
Sensitive or strategicTrade secrets, strategic data, business-critical AI systemSecNumCloud-qualified offer or dedicated infrastructure

If personal data is transferred outside the European Union, the transfer must be covered, for example by standard contractual clauses, as the CNIL reminds organisations. We explain how in GDPR and processors outside the EU. Finally, the EU Data Act aims to make switching between cloud providers “fast, free and technologically fluid”, according to the European Commission. Fewer proprietary services mean less work on the day you change provider.

Questions to ask before adding a component

Keep this grid for every new building block. A “no” does not block everything, but it calls for action before go-live.

QuestionIf the answer is no
Does a measured need justify this component?Wait until the need shows in the figures
Does a managed offer cover the need?Check who will run it, including at night
Does someone on the team know how to run it?Plan training, or drop it
Is its monthly cost known and tracked?Add tags and a budget before go-live
Has its failure been thought through?Define the fallback mode and the rollback
Is the choice recorded in the decision log?Write the record before go-live
Can you move away from it without a rewrite?Prefer an open standard or an exportable format

Sizing your architecture

For business software, DIGITT World turns your needs into an architecture at the “design” step of its method, before anything is built. The details are on our custom software development page.

A project?

Describe your need: a French- and English-speaking lead replies promptly.

Start a project

Frequently asked questions

How much does a Kubernetes cluster cost for an SME?

The control plane alone has a fixed price. On AWS, an EKS cluster costs $0.10 per hour under standard support, about $73 a month, before the servers, which are billed separately. Add monitoring and, above all, operations time, which appears on no bill. For a modest workload, compare that total with a managed platform, which includes operations.

When should you move from a monolith to microservices?

When a measured need demands it. Typical signs are several teams blocking each other to ship, or a part of the system whose load differs sharply from the rest. Another is a monolith that has become too complex to manage. Martin Fowler advises against considering microservices before that point. Then split one module at a time, along boundaries that are already clear.

What is the SecNumCloud qualification?

It is the qualification that France’s cybersecurity agency, ANSSI, grants to cloud service providers that meet its requirements framework, now at version 3.2. ANSSI publishes the list of qualified providers and of those undergoing qualification, for IaaS, PaaS and SaaS services. It recommends prioritising a SecNumCloud offer to host, in a public cloud, an AI system that processes sensitive data.

How can you cut your cloud bill without changing the architecture?

Start with visibility: tag every resource by application and environment, then set a budget with alerts. Next, switch off test environments outside working hours, delete orphaned resources and right-size servers to their real usage. Once consumption is stable, look at the commitment options your provider offers for predictable volumes.

What documentation should a provider hand over?

At least an architecture diagram, a decision log that explains the structural choices and an operations guide for deploying, restoring and responding to alerts. The infrastructure should be described as code. Cloud accounts, the domain name and repositories should be in your company’s name, so that an in-house team can take over the system.

Let’s talk about your next project.

Tell us about your context and goals. We will reply promptly with an initial view of your needs.