Well done! We are at the end of this chapter, so let's summarize what we have covered.
We created two instances in two different Availability Zones in the default VPC. We installed Tomcat by accessing instances with the use of PuTTY. Using WinSCP, we transferred a sample application in the Tomcat installation directory for deployment. Then, we created a load balancer and configured target groups.
Once ELB and the target groups were configured properly, we accessed our sample application using the ELB DNS name rather than using it with the public DNS name of instances.
In the next chapter, we will look at auto-scaling in detail.