Skip to content
CloudVenture

Cloud & Kubernetes

Cloud infrastructure modernization: moving a SaaS platform from AWS to an EU provider

Migration of a production SaaS workload from AWS to dedicated infrastructure at an EU provider — without an application rewrite — including database replication, infrastructure as code, and a rebuilt delivery pipeline.

Client
SaaS company (confidential)
Year
2025

Challenge and context

A software company running its production SaaS platform on AWS wanted to move to European infrastructure. Their drivers were rising monthly spend, recurring data-residency questions from enterprise customers, and a single-region architecture. The application itself was not to be rewritten, and the move had to be planned around their customers’ expectations for availability.

Environment and technical scope

  • Compute, managed database, object storage, CDN, DNS, email delivery, serverless functions, scheduled events, secrets management, and monitoring on AWS.
  • A PostgreSQL database that needed to move with minimal interruption.
  • An existing CI/CD process tied to the AWS environment.

Our involvement

CloudVenture planned and carried out the migration end to end — from the service inventory and target design through implementation, cutover, and continued operation of the new platform under a managed DevOps engagement.

Technical approach

  • Service inventory. Each AWS service in use was mapped to an open-source or EU-provider equivalent.
  • Target platform. Dedicated servers with KVM virtualization at an EU provider, a lightweight Kubernetes distribution (k3s), PostgreSQL with point-in-time recovery, and S3-compatible object storage in the same region. An edge provider handles DNS, CDN, and web application firewall.
  • Infrastructure as code. The new environment was defined in Terraform/OpenTofu and Ansible, and remaining components were containerized.
  • Pipeline rebuild. GitLab CI was adapted to deploy to the new platform.
  • Database migration. Logical replication kept a replica on the new provider in sync until cutover.
  • Planned cutover. DNS was switched during a low-traffic window, with a rollback path kept available afterwards.

Engineering decisions

  • Replicate, don’t dump-and-restore. Logical replication allowed validation against live data before cutover and kept the interruption short.
  • Equivalent services, not equivalent products. Choosing well-understood open-source components over provider-specific services reduced lock-in for the future.
  • Rollback first. The cutover plan was designed around a tested way back.

Technologies

Terraform / OpenTofu · Ansible · Docker · Kubernetes (k3s) · PostgreSQL with PITR · S3-compatible object storage · Prometheus · Grafana · Loki · GitLab CI · Cloudflare

Discuss a Similar Project

Share a short description of your environment and goals. We'll get back to you to discuss a sensible next step.