Application modernisation with Containers on aws

Application Modernization with Containers

MavenVista Technologies Pvt Ltd (An ISO 27001:2013 and 9001:2015 certified company) is a group of highly passionate and competent procurement & technology professionals committed in delivering intuitive digitization solutions to optimize your direct and indirect spend.

The Future of procurement : Transform procurement through Digitization


To increase the pace of innovation and build new customer experiences, modernizing how you develop and operate applications is key. Find new revenue streams and optimize costs with modern applications that evolve with customer needs, data volumes, and regulatory changes.

Below are the main leavers for Application Modernization for Mavenvista

  1. Agility: Current release cycles take weeks to implement new features, hindering the organization’s ability to respond quickly to market demands and customer feedback. There’s a need to introduce new features immediately, reducing release cycles from weeks to days, to stay competitive in the market.
  1. Security and Compliance: Current systems lack built-in security measures, leaving the organization vulnerable to cyber threats and non-compliance with industry regulations. There’s a critical need to implement comprehensive security measures across all aspects of application development, deployment, and management while ensuring compliance with relevant regulations.
  1. Microservices Design and Management: Existing monolithic architectures make it challenging to design, deploy, manage, and update services efficiently. There’s a requirement to transition to a microservices architecture to enable easier development, deployment, maintenance, and updates of services while ensuring security and speed.
  1. Scalability: Current infrastructure struggles to handle sudden spikes in traffic and workload, impacting performance and user experience. There’s a need to implement scalable solutions, such as containerization, to efficiently handle varying levels of demand and ensure consistent performance even during peak usage.
  1. DevOps Pipeline: The current development process lacks efficiency and automation, leading to delays in code deployment and maintenance. There’s a necessity to establish an efficient DevOps pipeline that streamlines the management of source code, automates build and deployment processes, and facilitates seamless updates and maintenance of microservices.
  • Current application release cycles need downtime of approx 3 hours.
  • In case rollback is required it will again take 1 hour downtime.
  1. Cost Efficiency: Existing infrastructure and development practices are not optimized for cost savings, resulting in unnecessary expenses. There’s a goal to achieve the best cost savings by transitioning to a microservices architecture, which offers greater resource utilization, scalability, and efficiency compared to traditional monolithic systems.

Addressing these problem statements through application modernization, particularly by adopting microservices architecture, can help organizations unlock various benefits such as improved agility, enhanced security, scalability, cost savings, and overall operational efficiency.

Solution to meet challenges

Electromech achieved the solution developed,  based on micro services architecture with containers. It is addressed using application modernization with containers:

  1. Agility: By containerizing applications, each feature or service can be packaged into separate containers, allowing for independent development and deployment. With container orchestration tools like ECS, new features can be introduced immediately through automated deployment pipelines, reducing release cycles from weeks to days.
  2. Security and Compliance: Containers provide isolation for applications, ensuring that each service operates independently with its own runtime environment. Security measures, such as access controls, encryption, and vulnerability scanning, can be built into container images and managed consistently across the deployment pipeline, ensuring compliance with industry regulations.
  3. Microservices Design and Management: Containers are well-suited for microservices architectures, enabling developers to modularize applications into smaller, manageable components. With containers, services can be easily deployed, scaled, and updated independently, streamlining the design, deployment, and management of microservices.
  4. Scalability: Containers are lightweight and portable, making them ideal for scaling applications horizontally. ECS, combined with container orchestration, provides automated scaling capabilities based on demand, ensuring that applications can handle spikes in traffic efficiently without impacting performance.
  5. DevOps Pipeline: Containerization simplifies the development process by providing consistent environments for development, testing, and production. With container registries and CI/CD tools, developers can automate the build, testing, and deployment of containerized applications, speeding up the delivery pipeline and enabling continuous integration and delivery practices.
  6. Cost Efficiency: Containers optimize resource utilization by allowing applications to run on shared infrastructure with minimal overhead. With container orchestration platforms, organizations can optimize resource allocation, scale applications dynamically, and leverage cost-effective cloud services, leading to significant cost savings compared to traditional infrastructure.
  7. Elastic Container Services is chosen for container management because of its straightforward and easily understandable technology landscape.

In summary, leveraging containers as part of the application modernization process enables organizations to address key challenges such as agility, security, microservices management, scalability, DevOps automation, and cost efficiency effectively. By adopting containerization with platforms like ECS, organizations can modernize their applications while realizing the benefits of cloud-native architectures.

The technology stack used are :

  1. Frontend React
  2. PHP-Laravel
  3. Node.js
  4. MySQL databases

The AWS serverless track is selected for the Cloudkida platform

  • Elastic Container Services
  • Elastic Container Registry
  • CodeBuild
  • CodeDeploy
  • CodePipeline
  • Application Load balancer
  • S3 to host static content
  • Cloudfront to cache content
  • SQS for queuing
  • SES for email

Third party services used



Architecture Diagram ECS

WhatsApp Image 2024-05-07 at 10.22.43

AWS CodePipeline for ECS Fargate

WhatsApp Image 2024-05-07 at 10.22.43(1)


The result from addressing the mentioned problem statements:

  1. Agility: By reducing release cycles from hours to minutes, the organization can respond promptly to market demands and customer feedback, staying competitive and innovative in the market.
  2. Security and Compliance: Implementing comprehensive security measures ensures protection against cyber threats and compliance with industry regulations, safeguarding sensitive data and preserving the organization’s reputation.
  3. Microservices Design and Management: Transitioning to a microservices architecture enables easier development, deployment, and maintenance of services while ensuring scalability, security, and speed, fostering agility and innovation.
  4. Scalability: Implementing scalable solutions like containerization ensures consistent performance even during peak usage, enhancing user experience and accommodating growing demands without disruption.
  5. DevOps Pipeline: Establishing an efficient DevOps pipeline automates and streamlines code deployment and maintenance, improving efficiency, collaboration, and the speed of delivering new features and updates.
  6. Cost Efficiency: Transitioning to a microservices architecture optimizes resource utilization, scalability, and efficiency, leading to significant cost savings compared to traditional monolithic systems, enhancing the organization’s financial health and competitiveness.
  7. Ease of overall application lifecycle management with reduced downtime and increase reliability, performance with optimised cost.


  • Based on customer feedback,frequent updates have now started pushing
  • 15 microservices successfully created
  • Application release cycle downtime almost zero
  • Rollback now does not require any downtime.

In conclusion, Electromech achieved, by addressing key challenges such as agility, security, microservices design and management, scalability, DevOps pipeline efficiency, and cost efficiency through initiatives like reducing release cycles, implementing comprehensive security measures, transitioning to microservices architecture, leveraging scalable solutions like containerization, establishing efficient DevOps pipelines, and optimizing resource utilization, organizations can enhance their ability to respond to market demands, safeguard against cyber threats, streamline development and deployment processes, improve scalability and performance, foster collaboration and innovation, and achieve significant cost savings, ultimately ensuring their competitiveness and sustainability in today’s dynamic business landscape.