Success Story

A sports tech startup from Mexico decoupled its monolith and migrated to Kubernetes on AWS

Entertainment / Sports Tech
ModernizationMigration

At a glance

A sports tech startup from Mexico builds an amateur football application. Craftech modernized its platform on AWS: it decoupled the monolith and moved it to a container architecture on Amazon EKS, with deployments standardized with Helm and monitoring with Grafana, Prometheus + Thanos and Alertmanager. The application no longer had scalability problems and the team could focus on the product.

The company is a sports tech startup from Mexico that builds an amateur football application. Its application was starting to hit its own technical limits and, to modernize it, the company worked with Craftech, an AWS partner.

Solution implemented

  • Review of the existing architecture to plan the monolith decoupling
  • Dockerized project and local environment to speed up team onboarding
  • Kubernetes clusters (Amazon EKS) segmented by environment
  • Per-service helm charts from a single chart, to standardize manifests
  • Monitoring with Grafana, Prometheus + Thanos and Alertmanager
  • Deployment in parallel to production, load tests and migration through a DNS switch
  • Infrastructure and deployments written as code

Business Challenge

The application did not scale and had performance problems. Much of it came from a jobs- and cronjobs-based architecture that did not take advantage of parallelism where feasible. Before changing anything, the architecture had to be understood, so the monolith could then be decoupled, deployments standardized and environments segmented. The goal was to solve scalability and give the team a predictable way of working.

Solution

Craftech started by dockerizing the project and setting up a local environment, which sped up onboarding for new team members. On AWS, it deployed Kubernetes clusters with Amazon EKS, segmented by environment, and configured monitoring with Grafana, Prometheus combined with Thanos and Alertmanager for alerts. To standardize deployments, it built per-service helm charts from a single base chart. Services were deployed in parallel to the production environment, load tests were run and, after a period of active monitoring, the migration was completed with a DNS switch. Infrastructure and deployments were written as code.

Outcomes

  • Application free of the scalability problems it had before the modernization
  • Faster onboarding for new team members thanks to the dockerized local environment
  • Working standard with automated deployments and automated tests
  • Visibility into services, with alerts for anomalies
  • Infrastructure and deployments as code, consistent across environments

Technologies used

Amazon EKS as the container foundation, Docker to package the services, Helm from a base chart for deployments and Grafana, Prometheus + Thanos and Alertmanager for monitoring.

Stack & technologies

AWSAmazon EKSKubernetesHelmDockerLaravelAmazon ECRGrafanaPrometheusThanosCI/CD

Facing a similar challenge?

Get a free AWS cost & architecture assessment.

The future of your company
takes off with Craftech

Leverage our AWS expertise to propel your company into the cloud.

Get your free assessment