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 modernise 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, created from AMIs rather than through autoscaling groups. The setup worked, but it held the team back.
- Manual deployments. Jenkins and Ansible deployed to instances selected by name tags, so releases were slower than they needed to be.
- Fixed instances per environment. Each application used two EC2 instances in production and one in staging, which made scaling and recovery largely manual.
- Environment drift. Instances built from images over time made differences between staging and production more likely.
- A clear goal. 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 production: what it depended on, what it configured at start-up and how it behaved under load.
Mapping and containerising
- Dependencies mapped. External services such as databases, caches, storage, search and shared file systems were mapped, and environment configuration was collected from EC2.
- Ansible translated. The existing Ansible setup was turned into container-friendly conventions, with a Dockerfile and a lightweight start-up script per application that mirrored the original tasks.
- Familiar serving model. PHP runs together with Nginx in the same pod, so teams keep the model they know while gaining consistent container images across staging and production.
Releases and cutover
- One standard Helm chart. Application configuration, environment variables, resource boundaries and persistent mounts are captured in a clear, repeatable chart.
- Continuous delivery. GitHub Actions builds and pushes images, and Argo CD deploys to EKS in a controlled, auditable way.
- Staging that reflects production. Developers validate end-to-end behaviour in staging before promoting changes.
- Smooth cutover. DNS updates through Route 53 completed the move with minimal disruption.
The platform uses Amazon RDS, ElastiCache (Redis), S3, OpenSearch and EFS for data and integrations, with IAM roles for secure access to services.
Business impact
- 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 self-healing and recovery replace manual instance management.
- Security by default. Immutable images, scoped IAM access and managed secrets strengthen the baseline.
- Lower costs. Pods share node resources, and right-sized requests, limits and autoscaling reduce over-provisioning and EC2 sprawl.
- Scalability on demand. Applications scale out and in to match traffic without disruption, with readiness and liveness probes supporting safe rollouts and automated recovery.
Conclusion
The client's PHP applications now run on a modern, containerised platform with clear, repeatable paths from development to production. Deployments are streamlined, environments are aligned and the platform is ready for steady iteration as the business grows, following Eastern Enterprise's approach of modernising complex systems without losing sight of day-to-day usability for teams.