codete case study aws main fc655f550f
Codete Blog

Case Study: Migration to the AWS Cloud

codete logo 41a83d4d26

22/10/2021 |

2 min read

Codete Team

We were tasked with preparing a migration plan for a client which had previously operated on premise. 


Challenge:  Migration of 20+ applications from on-premise data center to the cloud

The company ran Kubernetes clusters in their own data center, and they have selected AWS as their target cloud provider. The goal was to migrate over 20 applications with different tech stacks to the selected cloud solution, while keeping the majority of the apps online – or, at the very least, minimizing downtime to avoid affecting SLA.

codete case study aws 1 8d61672924


Solution: Infrastructure-as-code approach & connectivity add-ons for EKS clusters

To spin up a new infrastructure, we decided to use Terragrunt, which assisted us in automating the creation of new environments for various groups of applications with minimal code duplication, combined with Terraform. We chose Jenkins and ArgoCD as CI/CD solutions. Applications have been relocated to EKS clusters. 

One of the most difficult challenges we faced was to maintain connectivity between the new and old infrastructure. After a thorough research, we decided to use VPN and CNI add-ons for EKS cluster to accomplish this. This way, we were able to gain control of the routes on both ends. As a result, our client’s 20+ applications have been successfully migrated to the AWS cloud. We managed to keep the majority of them online, only a small number of apps (4) had to be switched offline for a moment.

We applied the infrastructure-as-code approach throughout the process.

Results in numbers:

  • 14 EKS clusters moved from an on-premise data center to the AWS cloud
  • 20+ applications succesfully migrated (16 online at all times, 4 switched offline for a brief moment)
  • hundreds - instead of thousands - lines of code
  • few terabytes of data migrated from self hosted PostgreSQL (11) clusters to the AWS RDS service


Tech stack

codete case study aws tech stack 9e0268bbfb
  • AWS (EKS, VPC, RDS, Aurora, S3, Cognito)
  • docker images built in Jenkins
  • CI/CD managed as a code
  • ArgoCD for deployment orchestration
  • Prometheus, Grafana and ELK stack for managing logs and metrics
  • AWS VPN to establish connectivity between old and new infrastructure 

Tell us about your project

Can we offer you a hand in developing your product? Once you let us know about your requirements, our DevOps experts will prepare an initial estimation, schedule a call and discuss your project in detail. All information will be kept confidential. Let's get in touch >

Rated: 5.0 / 1 opinions
codete logo 41a83d4d26

Codete Team

Codete is an IT consulting and software development company. Since 2010, we’ve been supporting businesses worldwide in gaining competitive advantage by means of modern technology. We advise on digitalization, develop and implement high-quality solutions, and augment our clients’ teams with skilled software developers.

Our mission is to accelerate your growth through technology

Contact us

Codete Global
Spółka z ograniczoną odpowiedzialnością

Na Zjeździe 11
30-527 Kraków

NIP (VAT-ID): PL6762460401
REGON: 122745429
KRS: 0000983688

Get in Touch
  • icon facebook
  • icon linkedin
  • icon twitter
  • icon instagram
  • icon youtube
  • icon github
  • Kraków

    Na Zjeździe 11
    30-527 Kraków

  • Lublin

    Wojciechowska 7E
    20-704 Lublin

  • Berlin

    Bouchéstraße 12
    12435 Berlin