Modernizing Travel Platform Applications by Migrating PHP Applications from EC2 to EKS - Eastern Enterprise

Modernizing Travel Platform Applications by Migrating PHP Applications from EC2 to EKS

Modernizing Travel Platform Applications by Migrating PHP Applications from EC2 to EKS

About the
Client

The client is a leading travel brand focused on reliable, pre-booked ground transfers. As demand grew, so did the need for a platform that is resilient, consistent across environments, and easier to evolve. The company engaged Eastern Enterprise to modernize a set of legacy PHP applications and prepare the foundation for sustained product velocity. 

The
Challenge

Several PHP applications were running on individual EC2 instances that were created from AMIs rather than through autoscaling groups. Deployments were coordinated by Jenkins and Ansible against instances selected by name tags. In production, each application used two EC2 instances; in staging, one. This setup worked, but it made releases slower, environment drift more likely, and scaling and recovery more manual than the team wanted. The goal was clear: move to containers and Kubernetes while keeping the day-to-day experience for developers simple and dependable.

Our
Solution

We started by understanding each application as it ran in the wild, what it depended on, what it configured at startup, and how it behaved under load. That meant mapping external services (databases, caches, storage, search, and shared filesystems), collecting environment configuration from EC2, and translating the existing Ansible setup into container-friendly conventions.

Each application received a Docker file and a lightweight startup script that mirrored the original Ansible tasks. Within Kubernetes, PHP ran together with Nginx in the same pod to preserve the serving model teams were accustomed to, while gaining the consistency of container images across staging and production. We introduced a standard Helm chart to keep application configuration clear and repeatable and to capture things like environment variables, resource boundaries, and persistent mounts.

Releases moved to a continuous model: GitHub Actions now builds and pushes images; Argo CD deploys to EKS in a controlled, auditable way. Staging environments gave developers a straightforward place to validate end-to-end behaviour before promoting changes. Finally, DNS updates through Route 53 completed the cutover with minimal disruption.

Technology
Stack

Eastern Enterprise proposed the following technology to easily reach the requested functions
Platform Amazon EKS

(Kubernetes)

Containers & Runtime

Docker, Nginx + PHP-FPM in a shared pod

*Packaging & Delivery

Helm for application charts, GitHub Actions for CI, Argo CD for continuous delivery

Data & Integrations

Amazon RDS, Amazon ElastiCache (Redis), Amazon S3, Amazon OpenSearch, Amazon EFS

Networking & Access

Route 53 for DNS; IAM roles for secure access to services

Key Benefits

Consistency across environments: The same container image runs in staging and production, reducing release surprises.

Faster, safer releases: CI/CD pipelines make build, test, and deploy routine and auditable.

Operational resilience: Kubernetes improves self-healing and recovery, replacing manual instance management.

Security by default: Immutable images, scoped IAM access, and managed secrets strengthen the baseline.

Developer focus: Teams validate end-to-end behaviour in stable staging before promotion.

Affordable & cost-effective: Pods share node resources for higher utilization; right-sized requests/limits and HPA reduce over-provisioning and EC2 sprawl.

Scalability on demand: Applications scale out and in quickly to match traffic without service disruption.

Robust health checks: Readiness and liveness probes support safe rollouts, rapid detection of issues, and automated recovery.

End Result

The client’s PHP applications now run on a modern, containerized platform with clear, repeatable paths from development to production. Deployments are streamlined, environments are aligned, and the platform is set up for steady iteration as the business grows. The approach follows Eastern Enterprise’s proven way of modernizing complex systems without losing sight of day-to-day usability for teams, an approach we’ve applied successfully in prior client work as well.