Implementing Cloud Design Patterns for AWS(Second Edition)
上QQ阅读APP看书,第一时间看更新

Containers

AWS has two distinct container-based offerings. Amazon ECS offers a Docker orchestration service while EKS uses Kubernetes as its management plane. Both services share common runtime and packaging components, so you can develop for one and switch to the other painlessly. In both cases, the container image should contain just a minimal operating system and a single application. This practice helps to enforce separation of concerns, simplifies testing, encourages sharing, and allows for easy deployment. Throughout this book, we will use containers to reduce cost and enforce security.