Summary
In this chapter, we examined how containers provide a lightweight and efficient method for packaging and deploying applications, making them ideal for microservices architectures. We covered the advantages of containers over traditional EC2 instances, such as faster spin-up and tear-down times, immutability, and horizontal and vertical scalability. We saw the particularity of inter-service communication, scaling, and security for containers. This chapter helps builders understand the lifecycle of containers and AWS platforms that can help run them with great resiliency. In addition to Chapter 8, where we covered serverless, we can always combine serverless and containers to pick the best tool for the job.
In the next chapter, we will see how to leverage multiple AWS regions to achieve greater resilience.