© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Practical Fargate
Ric Harvey,Technical Developer Evangelist
@ric__harvey
Ric Harvey, Technical Developer Evangelist
@ric__Harvey
https://gitlab.com/ric_harvey/bl_practical_fargate
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
No instances
to manage
Task
native API
Resource
based pricing
Simple, easy to use,
powerful – and new
consumption model
=
CHANGING COMPUTE CONSUMPTION
MODEL
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
HOW DO I RUN
CONTAINERS
ON FARGATE?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 Instance
TaskTask
Task Task
EC2 Instance
TaskTask
Task Task
EC2 Instance
TaskTask
Task Task
EC2 Instance
TaskTask
Task Task
EC2 Instance
TaskTask
Task Task
RUNNING CONTAINERS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ECS
AMI
Docker
agent
ECS
agent
ECSTaskECSTask
ECSTaskECSTask
EC2 Instance
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scheduling and Orchestration
Cluster Manager Placement Engine
ECS
AMI
Docker
agent
ECS
agent
EC2 Instance
ECS
AMI
Docker
agent
ECS
agent
EC2 Instance
ECS
AMI
Docker
agent
ECS
agent
EC2 Instance
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DEMO
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONFIGURATIONS & PRICING
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TASK CPU & MEMORY
CONFIGURATIONSFlexible configuration options –
50 CPU/memory configurations
CPU Memory
256 (.25 vCPU) 512MB*, 1GB, 2GB
512 (.5 vCPU) 1GB to 4GB (1GB increments)
1024 (1 vCPU) 2GB to 8GB (1GB increments)
2048 (2 vCPU) 4GB to 16GB (1GB increments)
4096 (4 vCPU) 8GB to 30GB (1GB increments)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AVAILABLE NOW!
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
One more thing
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Ok another thing!
awsdevelopers.slack.com
@ric__harvey
DM me and send me your email address
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!
Ric Harvey,Technical Developer Evangelist
@ric__harvey
Ric Harvey, Technical Developer Evangelist
@ric__Harvey
https://gitlab.com/ric_harvey/bl_practical_fargate

Practical AWS Fargate

  • 1.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Practical Fargate Ric Harvey,Technical Developer Evangelist @ric__harvey Ric Harvey, Technical Developer Evangelist @ric__Harvey https://gitlab.com/ric_harvey/bl_practical_fargate
  • 2.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. No instances to manage Task native API Resource based pricing Simple, easy to use, powerful – and new consumption model = CHANGING COMPUTE CONSUMPTION MODEL
  • 3.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. HOW DO I RUN CONTAINERS ON FARGATE?
  • 4.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EC2 Instance TaskTask Task Task EC2 Instance TaskTask Task Task EC2 Instance TaskTask Task Task EC2 Instance TaskTask Task Task EC2 Instance TaskTask Task Task RUNNING CONTAINERS
  • 5.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ECS AMI Docker agent ECS agent ECSTaskECSTask ECSTaskECSTask EC2 Instance
  • 6.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scheduling and Orchestration Cluster Manager Placement Engine ECS AMI Docker agent ECS agent EC2 Instance ECS AMI Docker agent ECS agent EC2 Instance ECS AMI Docker agent ECS agent EC2 Instance
  • 7.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DEMO
  • 8.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONFIGURATIONS & PRICING
  • 9.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TASK CPU & MEMORY CONFIGURATIONSFlexible configuration options – 50 CPU/memory configurations CPU Memory 256 (.25 vCPU) 512MB*, 1GB, 2GB 512 (.5 vCPU) 1GB to 4GB (1GB increments) 1024 (1 vCPU) 2GB to 8GB (1GB increments) 2048 (2 vCPU) 4GB to 16GB (1GB increments) 4096 (4 vCPU) 8GB to 30GB (1GB increments)
  • 10.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AVAILABLE NOW!
  • 11.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. One more thing
  • 12.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 13.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Ok another thing! awsdevelopers.slack.com @ric__harvey DM me and send me your email address
  • 14.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Thank you! Ric Harvey,Technical Developer Evangelist @ric__harvey Ric Harvey, Technical Developer Evangelist @ric__Harvey https://gitlab.com/ric_harvey/bl_practical_fargate

Editor's Notes

  • #3 With Fargate: You have no instances to manage: no more patching OS or runtimes With the new Task Native API, you don’t need to worry about clusters (they are their as an organizational and security boundary), but you don’t need tow think about cluster utilization or Auto Scaling of compute resources within the cluster. With the resource based pricing model you only pay for the resources you provision for each task. We think Fargate fundamentally changes how you think about consumption; how you will run and deploy your applications with containers.
  • #4 Anthony discussed earlier about our thinking behind building Fargate and how it eliminates undifferentiated heavy lifting of infrastructure management when it comes to running containerized workloads. We now want to discuss how Fargate can be used in action. As mentioned earlier, today we have launched Fargate with support for ECS with plans to have EKS take advantage of the Fargate technology as well. We will dive deeper into the experience we launched today with ECS and see it in action!
  • #5 Or if you want to run containers in the cloud, you spin up some EC2 instances, launch containers on them and get going in minutes. This would work even if you are using dozens of containers. But as you think about scaling this, managing hundreds of such instances, monitoring their health, scaling them and launching your containers on them and the whole lifecycle around them…how do you scale for that?
  • #6 If you double click on the instances it reveals that there is additional supporting software that you need to run, maintain and patch on ALL your virtual machines to support your containers like the Docker daemon and ECS Agent.
  • #7 So the real picture looked something like this. There are these additional layers of management you need to be aware of when all you wanted to do was run containers! [CLICK] Fargate support for ECS enables you to do just that – fully managed orchestration as well as data plane experience bringing your focus to only containers.
  • #8 Let’s take a look how we can run containers on ECS using Fargate
  • #9 Let’s look at how the pricing and configuration works for Fargate.
  • #10 Here are the various configurations supported today with Fargate. As you can see, you can have from 2GB per vCPU to generally up to 8GB per vCPU for various configurations. Match your workload requirements closely whether they are general purpose, compute or memory optimized. You can look at the Fargate website for exact pricing levels Per second billing at the container level with the minimum of 1 min
  • #11 Fargate works for ECS today – you now have to launch types when you chose to run a task on Amazon ECS.
  • #13 Its coming!