Bluemesh
Language: EnglishEN
Menu

Home / Selected work

Java EE point-of-sale platforms rebuilt as microservices on AWS

Point-of-sale platforms ran on premises as Java EE monoliths, single large applications. Bluemesh's lead architect led their modernization to Spring Boot microservices on Amazon ECS, with traffic and monitoring designed with the services.

At a glance

Service
App Modernization, Cloud Infrastructure
Cloud
AWS
When
Between 2016 and 2022
Who
Bluemesh's lead architect, in an earlier role. Client not named.
Talk to Bluemesh

The story

The situation

Point-of-sale platforms ran on premises as Java EE monoliths on IBM infrastructure. A point-of-sale system cannot stop: when it is down, the business cannot sell.

What was decided, and why

  • Monoliths split into services. Refactored into Spring Boot microservices, so each part can change and scale on its own.
  • Containers on AWS. Images in Amazon ECR, running on Amazon ECS.
  • One entry point for traffic. Amazon API Gateway and load balancing in front of the services.
  • Monitoring built in. Amazon CloudWatch and Grafana.

Who did what

Bluemesh's lead architect led the modernization end to end.

How the parts fit

The parts used in this project, in the order a request moves through them.

  1. Stores and terminalsevery sale
  2. Amazon API Gatewayone entry point
  3. Load balancingspreads traffic
  4. Spring Boot serviceson Amazon ECS
  5. Amazon ECRcontainer images
  6. CloudWatch and Grafanamonitoring

Technology used in this project

  • Java EE to Spring Boot
  • Microservices
  • Amazon ECS
  • Amazon ECR
  • Amazon API Gateway
  • Load balancing
  • Amazon CloudWatch
  • Grafana

How Bluemesh builds it today

A reference architecture for a new project, based on current Azure and AWS guidance. It describes what Bluemesh would build now, not what was built in the project above.

Landing zone

  • AWS Control Tower and AWS Organizations, service control policies and IAM Identity Center.

Compute and traffic

  • Amazon ECS on AWS Fargate across three Availability Zones, an Application Load Balancer with AWS WAF, and Amazon API Gateway.

Data and events

  • Amazon Aurora PostgreSQL or Amazon RDS with Multi-AZ, and an Aurora global database or cross-region backups when the recovery target requires it.
  • Amazon EventBridge, SQS and SNS, with the outbox pattern, so no sale is lost between services.

Delivery

  • Terraform or AWS CDK, GitHub Actions or AWS CodePipeline with OIDC, and blue-green deployments.

Observability

  • OpenTelemetry through the AWS Distro for OpenTelemetry into CloudWatch Application Signals and X-Ray, with Amazon Managed Grafana.

Security and recovery

  • Secrets Manager, KMS and least-privilege IAM.
  • Validated point-to-point encryption (P2PE) terminals and processor tokenization keep most services out of PCI DSS scope.
  • Disaster recovery chosen by the downtime and data loss the business accepts: backup and restore, pilot light, warm standby, or multi-site active-active. Reviewed against the AWS Well-Architected Framework.

Questions

How does Bluemesh modernize a point-of-sale system without stopping sales?

One capability at a time behind a gateway, with old and new running side by side, and traffic switched only when the new service is proven.

ECS or EKS for Spring Boot microservices?

ECS on Fargate is simpler to run for most teams. EKS fits when you need Kubernetes tooling or run on more than one cloud.

Which AWS disaster recovery strategy should we use?

The one that matches the downtime and data loss you can accept. Backup and restore costs the least and recovers the slowest; multi-site active-active recovers the fastest and costs the most.