© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Orchestrating containers on AWS
Liron Dor
Solutions Architect Manager
Amazon Web Services
C O N 2 0 1
Dima Breydo
Solutions Architect
Amazon Web Services
Shimon Tolts
CTO & Co-Founder
Datree
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Microservices and containers
AWS container services
Datree story and live demo
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
When the impact of change is small,
release velocity can increase
Monolith
Does everything
Microservices
Does one thing
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Monolith development lifecycle
monitorreleasetestbuild
developers
delivery pipelines
services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Microservice development lifecycle
developers services
monitorreleasetestbuild
delivery pipelines
monitorreleasetestbuild
monitorreleasetestbuild
monitorreleasetestbuild
monitorreleasetestbuild
monitorreleasetestbuild
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Containers and Docker
A container is a standard unit of software that packages up code and all
its dependencies so the application runs quickly and reliably from one
computing environment to another.1
1 https://www.docker.com/resources/what-container
Server
Operating System
Docker Engine
AppA
AppB
AppC
AppD
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Docker Image
Used to launch container
Instructions documented in Dockerfile
Merge layers into single image
Read-only template
kernel
Base Image
Image layer
Image layer
Image layer
References
parent image
layer
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Containers and Microservices
• Do one thing, really well
• Any app, any language
• Isolated execution environment
• Test and deploy same artifact
• Faster startup
Container Container
Container Container
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Containers have become the standard for how to ship and run your
application in the cloud
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Manually downloading and launching containers by hand is
inefficient and error prone
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container orchestration
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Container Services landscape
MANAGEMENT
Deployment, scheduling, scaling &
management of containerized
applications
HOSTING
Where the containers run
IMAGE REGISTRY
Container image repository
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Gives you primitives
for building
modern applications
Helps you run
containers at scale
Open source container
management platform
Kubernetes
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EKS architecture
mycluster.eks.amazonaws.com
EKS workers
Kubectl
AZ 1 AZ 2 AZ 3
Your AWS account
VPC
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Kubernetes control plane
Highly available and single tenant
infrastructure
All “native AWS” components
Fronted by an NLB
VPC
API Server ASG
Etcd ASG
NLB
AZ-1 AZ-2 AZ-3
ELB
Instances
Instances
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EKS features
Certified conformant
Integration with Elastic Load Balancing
Managed updates
IAM authentication
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Container Service
Highly Scalable ,
Highly Performant Container
Management System
A managed platform
ECS
Cluster
Management
Container
Orchestration &
Placement
Deep AWS
Integration
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon ECS key components
Developmentcluster
Container instance Container instance
Container instance
Productioncluster
Container instance Container instance
Container instance
AmazonElasticContainer Service
(AmazonECS)
Container
Container
Volume
Taskdefinition
AmazonElasticContainer Registry
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon ECS features
Integration with Elastic Load Balancing
Service Discovery with AWS CloudMap
Task level IAM support
Blue/Green Deployments with AWS CodeDeploy
Windows Containers Compatibility
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ECS
Agent
Docker
AgentOS
EC2 InstanceEC2 hosting
Choose your instance type
Connect to the instance
Persistent EBS storage
Custom kernel modules
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“Just launch 10 copies of
my container distributed
across three availability
zones and connect them
to this load balancer”
X 10
www.datree.io
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Agenda
About me & datree.io
What is Fargate TCO?
How do we deploy (technical)
DEMO
Why did we choose to
use Fargate
1
2
3
4
5
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
About me
Shimon Tolts {
age: 30,
title: “CTO & Co-Founder @ datree.io”,
misc: [“AWS Community Hero”,“Gamer”]
}
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
0 EC2 instances @ datree.io
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
GitOps
Datree is a Policy Enforcement Platform
for confident and compliant code.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
GitOps is the new normal
Build
Test
Deploy
Test
Build
Deploy
Deploy
Code, build, test, package, release, configure, deploy
and rollback your application with Git almost instantly
Developers have access to production
DEVELOPMENT
PRODUCTION
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Datree connects with GitHub
Datree connects with GitHub to provide automatic
policy compliance checks and insights for every
code commit and pull request.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Datree connects with GitHub
Set Code Policies
Create custom policies or choose from recommended defaults,
and choose where they should be enforced.
Separate secret
credentials from
source code
Include .gitignore
in every project
Link pull request
title to a Jira ticket
Create custom
policies…
www.datree.io
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Apples and oranges
! = Amazon
EC2
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Ops benefits
AWS Monthly Fees
ECS-Fargate
AWS Monthly Fees
System Administration
Security & Compliance
Scaling
ECS-EC2
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
No more Amazon EC2 management
We no longer
configure AMIs
Monitoring &
logging is built in
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Operating system management
All of our code is packaged using Docker containers,
so we are ONLY responsible for what runs within our containers
No more:
Linux Patching Docker service updates ECS Agent updates
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Scaling
We no longer deal with
scaling EC2 fleets
Taking care of bin
packing our instance to
run cost-effectively
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Compliance & security
Compliance and security are our top priorities
Out-of-the-box security as a service
Fargate comes certified with
SOC 2 HIPAA PCI-DSS
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Building an icecream service
● http://icecream.datree.io
● A simple Node.js app
● A web service using Koa.js
● Serving icecream!
38
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Pipeline overview
● Source code in GitHub
● AWS Application Load Balancer
● AWS ECS Fargate cluster
● GitHub Actions workflow (CI/CD)
39
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
DEMO time
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
ECS on EC2 vs. Fargate
• 10 GB disk
space limit
• No instance type
selection
(GPU/CPU/MEM
optimized)
• Amazon EBS
attaching is not
available
• No Spot
Instances
support
• No Reserved
Instance pricing
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Open case study on AWS Fargate page
https://dtr.ee/fargate
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
www.datree.io www.datree.io
Resources
1. https://datree.io/blog/migrating-to-aws-ecs-fargate-in-production/
2. https://www.youtube.com/watch?v=rtk3rRdAZ6s&feature=youtu.be
&t=1239
3. https://github.com/silinternational/ecs-deploy
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Related breakouts
14:10 Deep Dive on Amazon Elastic Container Service (ECS)
Brent Langston
15:00 Mastering Amazon Elastic Container Service for Kubernetes
(Amazon EKS) Kobi Biton, Chen Fisher
15:50 From Code to a running container
Alexei Ledenev, Gal Marder
Thank you!
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
http://bit.ly/2SJ6Md2

More Related Content

PDF
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
PDF
Optimize your Machine Learning workloads | AWS Summit Tel Aviv 2019
PDF
Deep Dive on Amazon Elastic Container Service (ECS) | AWS Summit Tel Aviv 2019
PDF
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
PDF
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
PDF
Building a fully serverless application on AWS | AWS Summit Tel Aviv 2019
PDF
Frontend and Mobile with AWS Amplify | AWS Summit Tel Aviv 2019
PDF
From Code to a running container | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
Optimize your Machine Learning workloads | AWS Summit Tel Aviv 2019
Deep Dive on Amazon Elastic Container Service (ECS) | AWS Summit Tel Aviv 2019
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Building a fully serverless application on AWS | AWS Summit Tel Aviv 2019
Frontend and Mobile with AWS Amplify | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019

Similar to Orchestrating containers on AWS | AWS Summit Tel Aviv 2019 (20)

PPTX
Containers State of the Union I AWS Dev Day 2018
PDF
Containers on AWS - State of the Union
PDF
Modern Applications Web Day | Container Workloads on AWS
PDF
Aws container services overview
PDF
Securing Container-Based Applications at the Speed of DevOps
PDF
More Containers Less Operations
PPTX
AWS Summit London 2019 - Containers on AWS
PPT
Cloud & Native Cloud for Managers
PDF
Securing Container-Based Applications at the Speed of DevOps
PPTX
Introduction to AWS and Docker on ECS
PDF
AWS Black Belt Online Seminar 2018 re:Invent Recap: Compute, Container and Ne...
PDF
Microservices for Startups - Donnie Prakoso - AWS - CC18
PPTX
AWS SSA Webinar 12 - Getting started on AWS with Containers
PDF
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
PDF
Running containers in AWS
PPTX
Containers on AWS
PPTX
ECS and Docker at Okta
PDF
Running Docker Containers on AWS
PDF
Serverless and mixed container orchestration and request routing on AWS
PDF
Getting started with Amazon ECS
Containers State of the Union I AWS Dev Day 2018
Containers on AWS - State of the Union
Modern Applications Web Day | Container Workloads on AWS
Aws container services overview
Securing Container-Based Applications at the Speed of DevOps
More Containers Less Operations
AWS Summit London 2019 - Containers on AWS
Cloud & Native Cloud for Managers
Securing Container-Based Applications at the Speed of DevOps
Introduction to AWS and Docker on ECS
AWS Black Belt Online Seminar 2018 re:Invent Recap: Compute, Container and Ne...
Microservices for Startups - Donnie Prakoso - AWS - CC18
AWS SSA Webinar 12 - Getting started on AWS with Containers
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
Running containers in AWS
Containers on AWS
ECS and Docker at Okta
Running Docker Containers on AWS
Serverless and mixed container orchestration and request routing on AWS
Getting started with Amazon ECS
Ad

More from AWS Summits (20)

PDF
AWS Summit Singapore 2019 | The Smart Way to Build an AI & ML Strategy for Yo...
PDF
AWS Summit Singapore 2019 | Bridging Start-ups and Enterprises
PDF
AWS Summit Singapore 2019 | Hiring a Global Rock Star Team: Tips and Tricks
PDF
AWS Summit Singapore 2019 | Five Common Technical Challenges for Startups
PDF
AWS Summit Singapore 2019 | A Founder's Journey to Exit
PDF
AWS Summit Singapore 2019 | Realising Business Value with AWS Analytics Services
PDF
AWS Summit Singapore 2019 | Snowflake: Your Data. No Limits
PDF
AWS Summit Singapore 2019 | Amazon Digital User Engagement Solutions
PDF
AWS Summit Singapore 2019 | Driving Business Outcomes with Data Lake on AWS
PDF
AWS Summit Singapore 2019 | Big Data Analytics Architectural Patterns and Bes...
PDF
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
PDF
AWS Summit Singapore 2019 | The Serverless Lifecycle: Development and Operati...
PDF
AWS Summit Singapore 2019 | Accelerating Enterprise Cloud Transformation by M...
PDF
AWS Summit Singapore 2019 | Operating Microservices at Hyperscale
PDF
AWS Summit Singapore 2019 | Autoscaling Your Kubernetes Workloads
PDF
AWS Summit Singapore 2019 | Realising Business Value
PDF
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
PDF
AWS Summit Singapore 2019 | Transformation Towards a Digital Native Enterprise
PDF
AWS Summit Singapore 2019 | Pragmatic Container Security
PDF
AWS Summit Singapore 2019 | Enterprise Migration Journey Roadmap
AWS Summit Singapore 2019 | The Smart Way to Build an AI & ML Strategy for Yo...
AWS Summit Singapore 2019 | Bridging Start-ups and Enterprises
AWS Summit Singapore 2019 | Hiring a Global Rock Star Team: Tips and Tricks
AWS Summit Singapore 2019 | Five Common Technical Challenges for Startups
AWS Summit Singapore 2019 | A Founder's Journey to Exit
AWS Summit Singapore 2019 | Realising Business Value with AWS Analytics Services
AWS Summit Singapore 2019 | Snowflake: Your Data. No Limits
AWS Summit Singapore 2019 | Amazon Digital User Engagement Solutions
AWS Summit Singapore 2019 | Driving Business Outcomes with Data Lake on AWS
AWS Summit Singapore 2019 | Big Data Analytics Architectural Patterns and Bes...
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
AWS Summit Singapore 2019 | The Serverless Lifecycle: Development and Operati...
AWS Summit Singapore 2019 | Accelerating Enterprise Cloud Transformation by M...
AWS Summit Singapore 2019 | Operating Microservices at Hyperscale
AWS Summit Singapore 2019 | Autoscaling Your Kubernetes Workloads
AWS Summit Singapore 2019 | Realising Business Value
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
AWS Summit Singapore 2019 | Transformation Towards a Digital Native Enterprise
AWS Summit Singapore 2019 | Pragmatic Container Security
AWS Summit Singapore 2019 | Enterprise Migration Journey Roadmap
Ad

Orchestrating containers on AWS | AWS Summit Tel Aviv 2019

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Orchestrating containers on AWS Liron Dor Solutions Architect Manager Amazon Web Services C O N 2 0 1 Dima Breydo Solutions Architect Amazon Web Services Shimon Tolts CTO & Co-Founder Datree
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Microservices and containers AWS container services Datree story and live demo
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. When the impact of change is small, release velocity can increase Monolith Does everything Microservices Does one thing
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Monolith development lifecycle monitorreleasetestbuild developers delivery pipelines services
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Microservice development lifecycle developers services monitorreleasetestbuild delivery pipelines monitorreleasetestbuild monitorreleasetestbuild monitorreleasetestbuild monitorreleasetestbuild monitorreleasetestbuild
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Containers and Docker A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another.1 1 https://www.docker.com/resources/what-container Server Operating System Docker Engine AppA AppB AppC AppD
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Docker Image Used to launch container Instructions documented in Dockerfile Merge layers into single image Read-only template kernel Base Image Image layer Image layer Image layer References parent image layer
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Containers and Microservices • Do one thing, really well • Any app, any language • Isolated execution environment • Test and deploy same artifact • Faster startup Container Container Container Container
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Containers have become the standard for how to ship and run your application in the cloud
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Manually downloading and launching containers by hand is inefficient and error prone
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Container orchestration
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Container Services landscape MANAGEMENT Deployment, scheduling, scaling & management of containerized applications HOSTING Where the containers run IMAGE REGISTRY Container image repository
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Gives you primitives for building modern applications Helps you run containers at scale Open source container management platform Kubernetes
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EKS architecture mycluster.eks.amazonaws.com EKS workers Kubectl AZ 1 AZ 2 AZ 3 Your AWS account VPC
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Kubernetes control plane Highly available and single tenant infrastructure All “native AWS” components Fronted by an NLB VPC API Server ASG Etcd ASG NLB AZ-1 AZ-2 AZ-3 ELB Instances Instances
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EKS features Certified conformant Integration with Elastic Load Balancing Managed updates IAM authentication
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Container Service Highly Scalable , Highly Performant Container Management System A managed platform ECS Cluster Management Container Orchestration & Placement Deep AWS Integration
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon ECS key components Developmentcluster Container instance Container instance Container instance Productioncluster Container instance Container instance Container instance AmazonElasticContainer Service (AmazonECS) Container Container Volume Taskdefinition AmazonElasticContainer Registry
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon ECS features Integration with Elastic Load Balancing Service Discovery with AWS CloudMap Task level IAM support Blue/Green Deployments with AWS CodeDeploy Windows Containers Compatibility
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. ECS Agent Docker AgentOS EC2 InstanceEC2 hosting Choose your instance type Connect to the instance Persistent EBS storage Custom kernel modules
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. “Just launch 10 copies of my container distributed across three availability zones and connect them to this load balancer” X 10
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Agenda About me & datree.io What is Fargate TCO? How do we deploy (technical) DEMO Why did we choose to use Fargate 1 2 3 4 5
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io About me Shimon Tolts { age: 30, title: “CTO & Co-Founder @ datree.io”, misc: [“AWS Community Hero”,“Gamer”] }
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io 0 EC2 instances @ datree.io
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io GitOps Datree is a Policy Enforcement Platform for confident and compliant code.
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io GitOps is the new normal Build Test Deploy Test Build Deploy Deploy Code, build, test, package, release, configure, deploy and rollback your application with Git almost instantly Developers have access to production DEVELOPMENT PRODUCTION
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Datree connects with GitHub Datree connects with GitHub to provide automatic policy compliance checks and insights for every code commit and pull request.
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Datree connects with GitHub Set Code Policies Create custom policies or choose from recommended defaults, and choose where they should be enforced. Separate secret credentials from source code Include .gitignore in every project Link pull request title to a Jira ticket Create custom policies…
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Apples and oranges ! = Amazon EC2
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Ops benefits AWS Monthly Fees ECS-Fargate AWS Monthly Fees System Administration Security & Compliance Scaling ECS-EC2
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io No more Amazon EC2 management We no longer configure AMIs Monitoring & logging is built in
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Operating system management All of our code is packaged using Docker containers, so we are ONLY responsible for what runs within our containers No more: Linux Patching Docker service updates ECS Agent updates
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Scaling We no longer deal with scaling EC2 fleets Taking care of bin packing our instance to run cost-effectively
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Compliance & security Compliance and security are our top priorities Out-of-the-box security as a service Fargate comes certified with SOC 2 HIPAA PCI-DSS
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Building an icecream service ● http://icecream.datree.io ● A simple Node.js app ● A web service using Koa.js ● Serving icecream! 38
  • 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Pipeline overview ● Source code in GitHub ● AWS Application Load Balancer ● AWS ECS Fargate cluster ● GitHub Actions workflow (CI/CD) 39
  • 40. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io DEMO time
  • 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io ECS on EC2 vs. Fargate • 10 GB disk space limit • No instance type selection (GPU/CPU/MEM optimized) • Amazon EBS attaching is not available • No Spot Instances support • No Reserved Instance pricing
  • 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Open case study on AWS Fargate page https://dtr.ee/fargate
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.datree.io www.datree.io Resources 1. https://datree.io/blog/migrating-to-aws-ecs-fargate-in-production/ 2. https://www.youtube.com/watch?v=rtk3rRdAZ6s&feature=youtu.be &t=1239 3. https://github.com/silinternational/ecs-deploy
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Related breakouts 14:10 Deep Dive on Amazon Elastic Container Service (ECS) Brent Langston 15:00 Mastering Amazon Elastic Container Service for Kubernetes (Amazon EKS) Kobi Biton, Chen Fisher 15:50 From Code to a running container Alexei Ledenev, Gal Marder
  • 45. Thank you! © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. http://bit.ly/2SJ6Md2