rights reserved. What are containers? A container is an atomic, self-contained package of software that includes everything it needs to run (code, runtime, libraries, packages, etc.). A popular, widely-used container platform is Docker. More on that here: https://www.docker.com
rights reserved. Why not VM’s? Server Host OS Hypervisor Guest OS Guest OS Guest OS Bins/libs Bins/libs Bins/libs App A App A App B Server Host OS Docker Engine Bins/libs Bins/libs App A App A App B App B App B App B
rights reserved. Why are containers so popular? • Portable • Lightweight • Standardized • Easy to deploy • Along with containers, comes the “monolith to microservices” story: containers and microservices go hand in hand.
rights reserved. Containers made it easy to build and scale apps But management of thes systems where hard Amazon Elastic Container Service Cluster management as a hosted service
rights reserved. We removed the pain points and heavy lifting • Scheduling • Placement • Task management (health checks) • Management control plane updates
rights reserved. ECS Highl y sca l a bl e, high perf o rm a nce co nta iner m a na gem ent sy stem A managed platform ECS Cluster management Container orchestration Deep AWS integration
rights reserved. “By taking advantage of Amazon ECS, we have the power to understand, manipulate, and manage our environment easily.” Zaven Boni DevOps Engineering Lead, GoPro
rights reserved. What we did with ECS in 2018 Route 53 Auto Naming Service Discovery Daemon Scheduling CLI Supports Docker Compose V3 ECS Agent Signed for Security Faster Launch Times SSM Parameter Support Configure shm-size and tmpfs Docker Container Health Checks Task metric & metadata endpoint Docker17.09
rights reserved. EKS P l a t f o r m f o r e n t e r p r i s e s t o r u n p r o d u c t i o n - g r a d e K u b e r n e t e s - g r a d e i n s t a l l a t i o n s EKS Managed and upstream experience Seamless, native integration with AWS services Contributes back to open source community
rights reserved. AWS Fargate No cluster or infrastructure to manage or scale Everything is handled at the container level Scale seamlessly on demand Underlying technology for container management
rights reserved. What does Fargate mean? No worrying about scaling, service mesh, underlying infrastructure, cluster resources, capacity, setup. Just give it a task definition or pod (in 2019), set some resource limits, and away you go.
rights reserved. TASK CPU MEMORY CONFIGURATIONS 50 different CPU/Memory configurations to choose from CPU Memory 256 (.25 vCPU) 512MB, 1GB, 2GB 512 (.5 vCPU) 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) Between 8GB and 30GB in 1GB increments
rights reserved. ECS Highl y sca l a bl e, high perf o rm a nce co nta iner m a na gem ent sy stem A managed platform ECS Cluster management Container orchestration Deep AWS integration
rights reserved. EKS Managed Kubernetes on AWS Highly available Automated version upgrades Integration with other AWS services Etcd Master Managed Kubernetes control plane CloudTrail, CloudWatch, ELB, NLB, VPC, PrivateLink
rights reserved. Fargate Launch quickly Scale easily No infrastructure Resource based pricing Containers on demand Manage everything at container level
rights reserved. Need help choosing an option? https://medium.com/containers-on-aws/choosing-your- container-environment-on-aws-with-ecs-eks-and- fargate-cfbe416ab1a @nathanpeck
rights reserved. Getting started • To get started with EKS: https://aws.amazon.com/eks/ • To get started with Fargate: https://aws.amazon.com/fargate/ • Blogs: https://aws.amazon.com/blogs/aws/aws-fargate/ • https://aws.amazon.com/blogs/aws/amazon-elastic-container-service-for-kubernetes/ • Liz Rice from Aquasec on Fargate: https://blog.aquasec.com/securing-struts-in-aws-fargate • Nathan Peck from AWS: https://medium.com/containers-on-aws/choosing-your-container- environment-on-aws-with-ecs-eks-and-fargate-cfbe416ab1a • Deepak Singh (containers GM at AWS): https://www.slideshare.net/AmazonWebServices/containers-on-aws-state-of-the-union- con201-reinvent-2017