Home icon

Containerize legacy Spring Boot application using Amazon Q Developer CLI and MCP server

Machine Learning Blog



This article demonstrates how to use Amazon Q Developer CLI with Model Context Protocol (MCP) servers to modernize a legacy Java Spring Boot application and migrate it to Amazon EKS. The process involves several key steps:

  • Create a legacy Java 8 Spring Boot 2.3.x bookstore microservice application
  • Upgrade the application to Java 21 and Spring Boot 3.5.0
  • Containerize the application for x86_64 and ARM64 architectures
  • Deploy the containerized application on Amazon EKS using Helm chart
  • Introduce chaos by simulating an out-of-memory error
  • Troubleshoot and fix the application using Amazon Q Developer CLI

The key highlight is using natural language prompts with Amazon Q Developer CLI to automate migration, modernization, deployment, and troubleshooting tasks without writing manual code. The solution leverages MCP servers to extend AI capabilities and interact with external tools and services.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jul 28
2025
Build modern serverless solutions following best practices using Amazon Q Developer CLI and MCP
Aug 1
2025
Building AIOps with Amazon Q Developer CLI and MCP Server
Apr 29
2025
Extend the Amazon Q Developer CLI with Model Context Protocol (MCP) for Richer Context
Apr 8
2025
Using Amazon Q Developer CLI for custom Java application transformations

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.