Use case
Seamless Java 17 Upgrade Using a Controlled Lab Environment
- Mihir Mandviwala
About the Customer
BrightPay revolutionizes online payment card management with its card-on-file solution, enabling users to effortlessly save and update their payment cards across various online accounts and subscriptions. By centralizing card updates, users can conveniently manage their payment information without leaving their preferred platforms. This seamless integration benefits merchants and banks by providing them enhanced control over the card-on-file process, driving increased card usage, spending, and transaction volume from the outset.
Customer Challenge
With the release of Java 17, BrightPay needed to upgrade its backend applications from Java 11 to Java 17. The upgrade was essential to stay compatible with modern tools and libraries, enhance application performance, and address critical security concerns. However, this migration required careful planning to avoid service disruptions, especially in production environments.
Challenges included:
- Ensuring the upgrade was seamless without affecting existing operations.
- Validating all changes in a controlled environment to minimize risks.
- Updating dependent infrastructure and CI/CD pipelines to support Java 17.
Solution
IAMOPS developed and executed a strategic migration plan leveraging a dedicated lab environment for rigorous testing before production deployment. The solution was implemented in several key steps:
1) Codebase Update:
- Updated the backend application code to ensure compatibility with Java 17.
- The updated code was pushed to the master branch and tested extensively in the lab environment to validate functionality.
2) Docker Image Update:
- Modified the Dockerfile to use JDK 17 and rebuilt Docker images.
- Pushed updated images to Amazon Elastic Container Registry (ECR) for future deployments.
3) Jenkins AMI Update and Reboot:
- Created a new Amazon Machine Image (AMI) with Java 17 and updated the Auto Scaling Group (ASG) launch template.
- Rebooted Jenkins servers to apply updated configurations and validated these changes in the lab environment.
4) Jenkins Build Process Update:
- Updated Jenkins build jobs to pull Java 17-compatible Docker images from ECR.
- Revised build scripts to align with Java 17, ensuring seamless integration with the CI/CD pipeline.
Results & Benefits
- Improved Performance: Applications now run 15% faster due to enhanced garbage collection and resource management in Java 17.
- Increased Build Success Rate: A 15% increase in Jenkins build success rate was observed post-migration.
- Reduced Memory Usage: Memory usage decreased by 10-15% for backend applications and the Jenkins server.
- Seamless Migration: Service continuity was maintained with no significant downtime during the migration process.
- Cost Efficiency: Leveraged existing infrastructure, avoiding expensive upgrades or overhauls.
About IAMOPS
IAMOPS is a full DevOps suite company that supports technology companies to achieve intense production readiness.
Our mission is to ensure that our clients’ infrastructure and CI/CD pipelines are scalable, mitigate failure points, optimize performance, ensure uptime, and minimize costs.
Our DevOps suite includes DevOps Core, NOC 24/7, FinOps Services, QA Automation, and DevSecOps to accelerate overall exponential growth.
As an AWS Advanced Tier Partner and Reseller, we focus on two key pillars: Professionalism by adhering to best practices and utilizing advanced technologies, Customer Experience with responsiveness, availability, clear project management, and transparency to provide an exceptional experience for our clients.