Understanding the architecture and workflow
Consider the following scenario:
We have a Maven-based Java application in a CodeCommit repository master branch (assume its the final, tested and latest code which is production ready). This application will get build by CodeBuild and then will be containerized. Once it will get containerized, it is then deployed on servers. The web servers are set up on AWS. As a part of the architecture, the servers are part of the ECS cluster and featured with Auto Scaling and serving under the load balancer. Every time a new feature is developed, we have to manually run the build and deploy the image in ECS. But don't you think that it will take more time to do this? We should automate it and leave the hurdles behind. Before that, let's see our web server infrastructure diagram.
How to do it...
The following is the architecture diagram of infrastructure that will server the web application:

Steps to achieve the preceding infrastructure is mentioned here:
- Set up...