Migrating Microservice Workloads to Graviton Architecture
Discover how to use ARM architecture to your microservice workloads' advantage to reduce costs and boost performance. Find out how we can optimise your cloud infrastructure with our planned move to AWS Graviton processors.
Client Overview
Humanoo operating in the healthcare industry, has developed an innovative platform that caters to employee retention and corporate wellness. The platform is designed to provide comprehensive wellness solutions to insurance companies and employers.
By implementing these wellness programs, companies can improve employee satisfaction, reduce absenteeism, and enhance productivity. By leveraging cutting-edge technology and customised wellness programs, the start-up helps companies create a healthier and more supportive work environment that benefits both employees and employers.
Challenge
Cost Efficiency
The client needed to reduce the operational costs of running ECS workloads.
Performance Optimisation
Enhancing the performance of their microservice workloads was critical for maintaining service quality and user satisfaction.
Solution
To tackle these challenges, we embarked on a strategic migration of the microservice workloads to the Graviton architecture. The solution involved several key steps:
Docker Images Update
We updated Dockerfiles and CI/CD pipelines to build the Docker images to support the ARM64 architecture, ensuring they were compatible with Graviton processors. These updated images were then uploaded to Amazon Elastic Container Registry (ECR).
ECS Task Definitions
We modified the ECS task definitions to utilize the new Graviton-specific images. This encompassed both the core container and any sidecar containers, ensuring a seamless integration with the existing infrastructure.
Deployment and Testing
The Graviton workloads were initially deployed in a staging environment to conduct thorough testing. This approach allowed us to identify and address any potential issues before transitioning the workloads to the production environment, ensuring a smooth and risk-free migration.
Results
Cost Reduction
The client experienced a significant 35% reduction in operational costs, confirmed through thorough monitoring and analysis using AWS Cost Explorer and Billing tools.
Performance Maximisation
The performance of the microservices saw significant improvements, which were corroborated by developers, third-party monitoring tools, and AWS CloudWatch metrics.
Enhanced Compatibility
The migration also led to improved compatibility with ARM-optimised technologies, opening up new possibilities for further optimisation and integration.
Technology Stack
To achieve these results, the following technologies and tools were utilised:
- Cloud Computing: Amazon ECS, ECR, Parameter Store, Secrets Manager, VPC, RDS
- Infrastructure as Code: Terraform, Terragrunt
- CI/CD: CircleCI, Log Management, Monitoring, and Alerting: AWS CloudWatch, New Relic, Slack, AWS Lambda, SNS, Freshping
- Team Collaboration: Jira, Confluence, Slack
- Source Control: GitHub, Git