In this module, you will deploy your node.js application as a set of interconnected services behind an Application Load Balancer (ALB). Then, you will use the ALB to seamlessly shift traffic from the monolith to the microservices. Start Building
This is the process that you will follow to deploy the microservices and safely transition the application's traffic away from the monolith.
- Switch the Traffic
This is the starting configuration. The monolithic node.js app running in a container on Amazon ECS.
- Start Microservices
Using the three container images you built and pushed to Amazon ECR in the previous module, you will start up three microservices on your existing Amazon ECS cluster.
- Configure the Target Groups
Like in Module 2, you will add a target group for each service and update the ALB Rules to connect the new microservices.
- Shut Down the Monolith
By changing one rule in the ALB, you will start routing traffic to the running microservices. After traffic reroute has been verified, shut down the monolith.