SlideShare une entreprise Scribd logo
1  sur  50
Télécharger pour lire hors ligne
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Running Amazon Elastic Compute Cloud
(Amazon EC2) workloads at scale
Chad Schmutzer
Principal developer advocate
Amazon EC2 Spot
C M P 2 0 2
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
About me
Chad Schmutzer / schmutze@amazon.com / @schmutze
• Principal developer advocate – Amazon EC2 Spot
• Pasadena, CA
• Maintain Jenkins Amazon EC2 Spot Fleet plugin and Amazon EC2 Spot labs on
GitHub
• Previously
• Specialist solutions architect – Amazon EC2 Spot (~2.5 years)
• Solutions architect – World Wide Public Sector (~3 years)
• Associate director for Academic Research Computing at the California Institute of Technology in
Pasadena, CA (~15 years)
• Little league coach
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Learning objectives
• 300 level
• Answer questions such as:
• “How can I scale my compute cost effectively?”
• “How can I reduce my compute spend?”
• “What are Amazon EC2 Spot Instances?”
• ”How can I mix On-Demand and Spot Instances?”
• “How can I mix multiple Amazon EC2 instance types in a single Amazon EC2 Auto Scaling group?”
• This deck will be available on SlideShare 48–72 hours after the summit
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
You after this session
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Agenda
• Intro
• Amazon EC2 launch templates / Demo
• Amazon EC2 Fleet / Demo
• Amazon EC2 Auto Scaling groups / Demo
• Q&A
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
At first, there was Amazon EC2
m1.small
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Then we added some new instance types
m1.largem1.small m1.medium
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Then we added a lot more instance types
Recent launches:
Compute-optimized: c5{d,n}
General purpose: m5{d,a}, t3, a1
Accelerated computing: g3s, g4
Memory-optimized: z1d, r5{d,a}
3
5
7
11 12 13
23
42
52
60
70
0
10
20
30
40
50
60
70
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
On-Demand
Pay for compute capacity
by the second with no
long-term commitments
Spiky workloads,
to define needs
Amazon EC2 purchasing options
Spot Instances
Spare Amazon EC2 capacity at
savings of up to 90%
off On-Demand prices
Fault-tolerant, flexible, stateless
workloads
Reserved Instances
Make a 1- or 3-year commitment
and receive a significant discount off On-
Demand prices
Committed &
steady-state usage
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
0
2
4
6
8
10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Combine purchase options to optimize at scale
Use RIs for known/steady-state
workloads
Scale using Spot
On-Demand capacity reservations for your reservation needs
On-Demand, or both
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Why combine instances and purchase models?
To turbo boost an application using
Spot Instances
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Why combine instances and purchase models?
To scale on vCPUs, memory, or
containers
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Why combine instances and purchase models?
To scale 1,000x
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Containers + Spot = Match made in heaven
✓ Containers are often stateless, fault-tolerant, and a great fit for Spot Instances
✓ Deploy containerized workloads and easily manage clusters at any scale at a fraction of
the cost with Spot Instances
✓ Spot Instances can be used with Amazon Elastic Container Service (Amazon ECS) or Amazon Elastic
Container Service for Kubernetes (Amazon EKS) to run any
containerized workload
Skyscanner is a travel fare aggregator
website and travel metasearch engine based
in Edinburgh, Scotland
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Workload example: Big Data
✓ Spot Instances provide acceleration, scale, and cost savings to run hyperscale
workloads for data analysis
✓ Scale to large numbers of parallel nodes via Fleet
✓ Use Spot Instances with Amazon EMR, Hadoop, or Spark to process massive
amounts of data
Amazon EMR
A job that took weeks in our data center, due to limited resources, took hours on Spot thanks to
the great parallelism, in a very cost-efficient price.”
- Shay Asoolin, sr. director development infrastructure, Mobileye
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Workload example: CI/CD
✓ Configure Jenkins with the Amazon EC2 spot plugin to automatically
scale a fleet of Spot Instances based on the number CI/CD jobs
✓ Increase cost savings by leveraging older generation instances
for CI, as these processes do not require a lot of power for testing
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Workload example: Web services
✓ Scale, throughput, and deep cost savings for large-scale web operations
✓ Launch and manage a collection of diversified Spot Instances across pools via
Amazon EC2 Fleet and Amazon EC2 Auto Scaling group
✓ NEW! Include Spot with RIs and On-Demand in a single Amazon EC2 Auto
Scaling group
Quantcast Scales Ad Services Saves 60% Using Amazon EC2 Spot Instances
“As we roll out more infrastructure to AWS, Amazon EC2 Spot Instances are
helping us control costs and scale our systems to meet demand.“
—Leah Blank, senior systems engineer, Quantcast
Amazon EC2 Auto Scaling Amazon EC2 Fleet
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Workload example: HPC
✓ Accelerate HPC workloads such as genomic sequencing, CFD, and
algorithmic trading by running massively parallel jobs
✓ Run multiple projects simultaneously; launch & decommission 1,000s of
nodes
✓ Spot Auto Scaling groups; F1(FPGA), eg1 (Elastic GPUs), Cluster GPU
instances to accelerate processing
“We are able to offer our customers a lower cost, high-performance genomic-analysis platform,
which can help them speed their time to answers.“
—Andy Nelson, associate director, Informatics & Cloud Operations, Illumina
Amazon
EC2 Fleet
AWS
CloudFormation
AWS Batch
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Actual customer action shot
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Automate cost optimization & capacity management
. . . Let’s see how this all works together to automatically optimize scale, performance,
and cost behind the scenes
Amazon EC2
Auto Scaling
Amazon EC2 Fleet
Amazon EC2
launch templates
1
2
3
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Consistent
experience
Simplified
permissions
Use launch templates to achieve . . .
Governance &
best practices
Increased
productivity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Increased productivity: Automated updates
For example, push a patched AMI to Amazon EC2 Auto Scaling groups
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Increased productivity: Eliminate repetitive tasks
For example, save tags in a launch template
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Use launch templates as an auth vehicle
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:RunInstances"
],
"Resource": [
"arn:aws:ec2:us-east-1::image/*",
"arn:aws:ec2:us-east-1:1234567890:subnet/*",
"arn:aws:ec2:us-east-1:1234567890:network-interface/*",
"arn:aws:ec2:us-east-1:1234567890:security-group/*",
"arn:aws:ec2:us-east-1:1234567890:key-pair/*",
"arn:aws:ec2:us-east-1:1234567890:instance/*",
"arn:ec2:ec2:us-east-1:1234567890:snapshot",
"arn:ec2:ec2:us-east-1:1234567890:elastic-gpu/*"
]
},
{
"Effect": "Allow",
"Action": [
"ec2:RunInstances"
],
"Resource": [
"arn:aws:ec2:us-east-1:1234567890:volume/*",
],
"Condition": {
"NumericLessThan": {
"ec2:VolumeSize" : "X"
}
}
},
{
"Effect": "Allow",
"Action": [
"ec2:CreateTags"
],
"Resource": "arn:aws:ec2:us-east-1:1234567890:*/*",
"Condition": {
"StringEquals": {
"ec2:CreateAction" : "RunInstances"
}
}
}
]
}
{
"Version":"2012-10-17",
"Statement":[
{
"Effect":"Allow",
"Action":"ec2:RunInstances",
"Resource":"*",
"Condition":{
"ArnLike":{
"ec2:LaunchTemplate":"arn:aws:ec2:region:ac
count:launch-template/(* or actual template
id)"
}
}
}
]
}
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon EC2 Fleet
Benefits
Simplifies provisioning of Amazon EC2 capacity across different
instance types, AZs, and purchase models with a single API
Reduce costs
Increase operational efficiency
Key features
Flexible capacity allocation
Massive scale
Simplified provisioning
Spot
Instances
On-Demand InstancesOn-Demand Instances
Spot
Instances
Reserved
Instances
Reserved
Instances
AZ1 AZ2
Use all three purchase models to optimize costs
Automatic optimization behind the scenes with software
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon EC2 Fleet and allocation strategies
Amazon EC2 Fleet
Provisions capacity across multiple instance types according to allocation strategies
Allocation strategies
On-Demand prioritized list of instance types
Spot Instances across the N lowest priced instance pools
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2 Fleet API details (target capacity)
--target-capacity-specification
{
"TotalTargetCapacity": integer,
"OnDemandTargetCapacity": integer,
"SpotTargetCapacity": integer,
"DefaultTargetCapacityType": "spot"|"on-demand”
}
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon EC2 Fleet API details (type)
--type
request
places an asynchronous one-time request without maintaining capacity or submitting requests in
alternative capacity pools if capacity is unavailable
maintain (default)
places an asynchronous request for your desired capacity, and maintains it by replenishing interrupted
Spot Instances
instant (new-ish!)
places a synchronous one-time request, and returns errors for any instances that could not be launched
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Before: Multiple Auto Scaling groups to use Spot,
On-Demand, and RIs together
m4.large Spot Auto Scaling group
m5.large Spot Auto Scaling group
c4.large On-Demand Auto Scaling
group
Availability
Zone 1
Availability
Zone 2
Availability
Zone 3
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
After: Include Spot, On-Demand, and RIs in a single Auto
Scaling group
m4.large Spot
m5.large Spot
c4.large On-Demand
Availability
Zone 1
Availability
Zone 2
Availability
Zone 3
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Save up to 90% using Amazon EC2 Auto Scaling and
Amazon EC2 Fleet
Automatically provision and scale instances across instance families and purchase
models in a single Auto Scaling group
Lowest cost
Specify what percentage of your Auto Scaling group capacity should be fulfilled by On-
Demand Instances and Spot Instances to optimize cost
Prioritized list
Use a prioritized list for On-Demand Instance types to scale capacity during an urgent,
unpredictable event to optimize performance
Reduce operational overhead
Reduce cost Optimize performance Reduce operational overhead
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
API parameters
"MixedInstancesPolicy": {
"LaunchTemplate": {
"LaunchTemplateSpecification": {
"LaunchTemplateName": ”MyLaunchTemplate"
},
"Overrides": [
{ "InstanceType": "c5.large" },
{ "InstanceType": "c4.large" }
]
},
"InstancesDistribution": {
"OnDemandAllocationStrategy": "prioritized",
"OnDemandBaseCapacity": 10,
"OnDemandPercentageAboveBaseCapacity": 50,
"SpotAllocationStrategy": "lowest-price",
"SpotInstancePools": 2
}
}
AZ1 and AZ2
Desired
Min
Max
On-Demand Base
50% On-Demand
50% Spot
Minimum On-Demand (10)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Instances distribution
Auto Scaling group scales up and down according to the instances distribution
• Amazon EC2 Auto Scaling fills base capacity with On-Demand Instances
• Capacity beyond base capacity is fulfilled with Spot or On-Demand Instances according to percentage split
Example:
OnDemandBaseCapacity: 10
OnDemandPercentageAboveBaseCapacity: 50
Desired Capacity On-Demand Instances Spot Instances
Desired < Base 5 5 0
Desired = Base 10 10 0
Desired > Base 20 10 + 5 5
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Recommendations on mixed instances policy
Choose at least 2 instance type overrides
Improves availability for On-Demand and Spot Instances
Diversify across at least N = 2 Spot Instance pools
Reduces risk from fluctuations in Spot capacity and prices
Choose instance types of same size across families
Maintains stability as dynamically scale up and down
Use default spot max price
Leverages spot cost savings while defaulting to On-Demand price as maximum price to pay
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
On-Demand and Spot Instance pools
Instances Distribution
Distribute instances evenly between Availability Zones for On-Demand and Spot separately
Launch Failures
Launch instances in another Availability Zone when launches fail for On-Demand and Spot separately
Allows On-Demand capacity to be balanced while Spot capacity is migrated to another Availability Zone due to
low capacity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
On-Demand and Spot Instance pools
Balanced capacity across Spot Instances
Balanced capacity across On-Demand Instances
Availability
Zone 1
Availability
Zone 2
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
On-Demand and Spot Instance pools
Spot Instances are unavailable in AZ1
Balanced capacity across On-Demand Instances
Availability
Zone 1
Availability
Zone 2
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
On-Demand and Spot Instance pools
Spot Instances are retargeted to AZ2
Balanced capacity across On-Demand Instances
Availability
Zone 1
Availability
Zone 2
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
On-Demand and Spot Instance pools
Balanced capacity across Spot Instances
Balanced capacity across On-Demand Instances
Availability
Zone 1
Availability
Zone 2
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
In conclusion
• Be aggressive with your cost optimization strategies for compute. Spot can save
you a ton, and it is quite easy to use
• Be flexible and diversify across instance types and purchase models
• Adopt Amazon EC2 launch templates
• Use Amazon EC2 Auto Scaling groups
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
In conclusion
• All examples and demos are published in GitHub:
• https://github.com/awslabs/ec2-spot-labs/tree/master/ec2-fleet
• Try out some self-paced workshops yourself:
• https://ec2spotworkshops.com/
• If you still have questions, drop me a note:
• schmutze@amazon.com / @schmutze
Thank you!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Chad Schmutzer
@schmutze

Contenu connexe

Tendances

[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...
[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...
[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...Amazon Web Services
 
Resiliency-and-Availability-Design-Patterns-for-the-Cloud
Resiliency-and-Availability-Design-Patterns-for-the-CloudResiliency-and-Availability-Design-Patterns-for-the-Cloud
Resiliency-and-Availability-Design-Patterns-for-the-CloudAmazon Web Services
 
AWS storage solutions for business-critical applications - STG301 - Chicago A...
AWS storage solutions for business-critical applications - STG301 - Chicago A...AWS storage solutions for business-critical applications - STG301 - Chicago A...
AWS storage solutions for business-critical applications - STG301 - Chicago A...Amazon Web Services
 
Best-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSBest-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSAmazon Web Services
 
Optimize your workloads with Amazon EC2 and AMD EPYC - DEM03-SR - New York AW...
Optimize your workloads with Amazon EC2 and AMD EPYC - DEM03-SR - New York AW...Optimize your workloads with Amazon EC2 and AMD EPYC - DEM03-SR - New York AW...
Optimize your workloads with Amazon EC2 and AMD EPYC - DEM03-SR - New York AW...Amazon Web Services
 
Building well architected .NET applications - SVC209 - Atlanta AWS Summit
Building well architected .NET applications - SVC209 - Atlanta AWS SummitBuilding well architected .NET applications - SVC209 - Atlanta AWS Summit
Building well architected .NET applications - SVC209 - Atlanta AWS SummitAmazon Web Services
 
High-Performance-Computing-on-AWS-and-Industry-Simulation
High-Performance-Computing-on-AWS-and-Industry-SimulationHigh-Performance-Computing-on-AWS-and-Industry-Simulation
High-Performance-Computing-on-AWS-and-Industry-SimulationAmazon Web Services
 
What's new in Amazon Aurora - ADB207 - New York AWS Summit
What's new in Amazon Aurora - ADB207 - New York AWS SummitWhat's new in Amazon Aurora - ADB207 - New York AWS Summit
What's new in Amazon Aurora - ADB207 - New York AWS SummitAmazon Web Services
 
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...Amazon Web Services
 
Best practices for Running Spark jobs on Amazon EMR with Spot Instances | AWS...
Best practices for Running Spark jobs on Amazon EMR with Spot Instances | AWS...Best practices for Running Spark jobs on Amazon EMR with Spot Instances | AWS...
Best practices for Running Spark jobs on Amazon EMR with Spot Instances | AWS...Amazon Web Services
 
How SAP customers are benefiting from machine learning and IoT with AWS - MAD...
How SAP customers are benefiting from machine learning and IoT with AWS - MAD...How SAP customers are benefiting from machine learning and IoT with AWS - MAD...
How SAP customers are benefiting from machine learning and IoT with AWS - MAD...Amazon Web Services
 
Drive innovation in Financial Services with Amazon EC2 - CMP204 - New York AW...
Drive innovation in Financial Services with Amazon EC2 - CMP204 - New York AW...Drive innovation in Financial Services with Amazon EC2 - CMP204 - New York AW...
Drive innovation in Financial Services with Amazon EC2 - CMP204 - New York AW...Amazon Web Services
 
“Lift and shift” storage for business-critical applications - STG203 - New Yo...
“Lift and shift” storage for business-critical applications - STG203 - New Yo...“Lift and shift” storage for business-critical applications - STG203 - New Yo...
“Lift and shift” storage for business-critical applications - STG203 - New Yo...Amazon Web Services
 
Building with AWS Databases: Match Your Workload to the Right Database | AWS ...
Building with AWS Databases: Match Your Workload to the Right Database | AWS ...Building with AWS Databases: Match Your Workload to the Right Database | AWS ...
Building with AWS Databases: Match Your Workload to the Right Database | AWS ...AWS Summits
 
CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...Amazon Web Services
 
How customers are using AR/VR with AWS - SVC223 - New York AWS Summit
How customers are using AR/VR with AWS - SVC223 - New York AWS SummitHow customers are using AR/VR with AWS - SVC223 - New York AWS Summit
How customers are using AR/VR with AWS - SVC223 - New York AWS SummitAmazon Web Services
 
Grid computing in the cloud for Financial Services industry - CMP205-I - New ...
Grid computing in the cloud for Financial Services industry - CMP205-I - New ...Grid computing in the cloud for Financial Services industry - CMP205-I - New ...
Grid computing in the cloud for Financial Services industry - CMP205-I - New ...Amazon Web Services
 
Amazon EC2 Spot- AWS Container Day 2019 Barcelona
Amazon EC2 Spot- AWS Container Day 2019 BarcelonaAmazon EC2 Spot- AWS Container Day 2019 Barcelona
Amazon EC2 Spot- AWS Container Day 2019 BarcelonaAmazon Web Services
 
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Amazon Web Services
 

Tendances (20)

Pro-Tips-for-Builders-on-AWS
Pro-Tips-for-Builders-on-AWSPro-Tips-for-Builders-on-AWS
Pro-Tips-for-Builders-on-AWS
 
[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...
[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...
[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...
 
Resiliency-and-Availability-Design-Patterns-for-the-Cloud
Resiliency-and-Availability-Design-Patterns-for-the-CloudResiliency-and-Availability-Design-Patterns-for-the-Cloud
Resiliency-and-Availability-Design-Patterns-for-the-Cloud
 
AWS storage solutions for business-critical applications - STG301 - Chicago A...
AWS storage solutions for business-critical applications - STG301 - Chicago A...AWS storage solutions for business-critical applications - STG301 - Chicago A...
AWS storage solutions for business-critical applications - STG301 - Chicago A...
 
Best-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSBest-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWS
 
Optimize your workloads with Amazon EC2 and AMD EPYC - DEM03-SR - New York AW...
Optimize your workloads with Amazon EC2 and AMD EPYC - DEM03-SR - New York AW...Optimize your workloads with Amazon EC2 and AMD EPYC - DEM03-SR - New York AW...
Optimize your workloads with Amazon EC2 and AMD EPYC - DEM03-SR - New York AW...
 
Building well architected .NET applications - SVC209 - Atlanta AWS Summit
Building well architected .NET applications - SVC209 - Atlanta AWS SummitBuilding well architected .NET applications - SVC209 - Atlanta AWS Summit
Building well architected .NET applications - SVC209 - Atlanta AWS Summit
 
High-Performance-Computing-on-AWS-and-Industry-Simulation
High-Performance-Computing-on-AWS-and-Industry-SimulationHigh-Performance-Computing-on-AWS-and-Industry-Simulation
High-Performance-Computing-on-AWS-and-Industry-Simulation
 
What's new in Amazon Aurora - ADB207 - New York AWS Summit
What's new in Amazon Aurora - ADB207 - New York AWS SummitWhat's new in Amazon Aurora - ADB207 - New York AWS Summit
What's new in Amazon Aurora - ADB207 - New York AWS Summit
 
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
 
Best practices for Running Spark jobs on Amazon EMR with Spot Instances | AWS...
Best practices for Running Spark jobs on Amazon EMR with Spot Instances | AWS...Best practices for Running Spark jobs on Amazon EMR with Spot Instances | AWS...
Best practices for Running Spark jobs on Amazon EMR with Spot Instances | AWS...
 
How SAP customers are benefiting from machine learning and IoT with AWS - MAD...
How SAP customers are benefiting from machine learning and IoT with AWS - MAD...How SAP customers are benefiting from machine learning and IoT with AWS - MAD...
How SAP customers are benefiting from machine learning and IoT with AWS - MAD...
 
Drive innovation in Financial Services with Amazon EC2 - CMP204 - New York AW...
Drive innovation in Financial Services with Amazon EC2 - CMP204 - New York AW...Drive innovation in Financial Services with Amazon EC2 - CMP204 - New York AW...
Drive innovation in Financial Services with Amazon EC2 - CMP204 - New York AW...
 
“Lift and shift” storage for business-critical applications - STG203 - New Yo...
“Lift and shift” storage for business-critical applications - STG203 - New Yo...“Lift and shift” storage for business-critical applications - STG203 - New Yo...
“Lift and shift” storage for business-critical applications - STG203 - New Yo...
 
Building with AWS Databases: Match Your Workload to the Right Database | AWS ...
Building with AWS Databases: Match Your Workload to the Right Database | AWS ...Building with AWS Databases: Match Your Workload to the Right Database | AWS ...
Building with AWS Databases: Match Your Workload to the Right Database | AWS ...
 
CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...
 
How customers are using AR/VR with AWS - SVC223 - New York AWS Summit
How customers are using AR/VR with AWS - SVC223 - New York AWS SummitHow customers are using AR/VR with AWS - SVC223 - New York AWS Summit
How customers are using AR/VR with AWS - SVC223 - New York AWS Summit
 
Grid computing in the cloud for Financial Services industry - CMP205-I - New ...
Grid computing in the cloud for Financial Services industry - CMP205-I - New ...Grid computing in the cloud for Financial Services industry - CMP205-I - New ...
Grid computing in the cloud for Financial Services industry - CMP205-I - New ...
 
Amazon EC2 Spot- AWS Container Day 2019 Barcelona
Amazon EC2 Spot- AWS Container Day 2019 BarcelonaAmazon EC2 Spot- AWS Container Day 2019 Barcelona
Amazon EC2 Spot- AWS Container Day 2019 Barcelona
 
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
 

Similaire à Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale - CMP202 - Chicago AWS Summit

Optimizing Cost and Capacity for Compute - CMP302 - Santa Clara AWS Summit
Optimizing Cost and Capacity for Compute - CMP302 - Santa Clara AWS SummitOptimizing Cost and Capacity for Compute - CMP302 - Santa Clara AWS Summit
Optimizing Cost and Capacity for Compute - CMP302 - Santa Clara AWS SummitAmazon Web Services
 
Well Archictecture Framework dotNET.pdf
Well Archictecture Framework dotNET.pdfWell Archictecture Framework dotNET.pdf
Well Archictecture Framework dotNET.pdfConradoDeBiasi
 
EC2 Foundations Autoscaling - The tip of the cost optimisation iceberg
EC2 Foundations Autoscaling - The tip of the cost optimisation icebergEC2 Foundations Autoscaling - The tip of the cost optimisation iceberg
EC2 Foundations Autoscaling - The tip of the cost optimisation icebergAmazon Web Services
 
Amazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costiAmazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costiAmazon Web Services
 
Running Amazon EC2 Workloads at Scale (CMP402-R1) - AWS re:Invent 2018
Running Amazon EC2 Workloads at Scale (CMP402-R1) - AWS re:Invent 2018Running Amazon EC2 Workloads at Scale (CMP402-R1) - AWS re:Invent 2018
Running Amazon EC2 Workloads at Scale (CMP402-R1) - AWS re:Invent 2018Amazon Web Services
 
Accelerating product development with high performance computing - CMP301 - S...
Accelerating product development with high performance computing - CMP301 - S...Accelerating product development with high performance computing - CMP301 - S...
Accelerating product development with high performance computing - CMP301 - S...Amazon Web Services
 
Running Enterprise Test/Dev on Amazon EC2 Spot Instances (CMP407-R1) - AWS re...
Running Enterprise Test/Dev on Amazon EC2 Spot Instances (CMP407-R1) - AWS re...Running Enterprise Test/Dev on Amazon EC2 Spot Instances (CMP407-R1) - AWS re...
Running Enterprise Test/Dev on Amazon EC2 Spot Instances (CMP407-R1) - AWS re...Amazon Web Services
 
Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...
Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...
Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...Amazon Web Services
 
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS Summit
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS SummitGetting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS Summit
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS SummitAmazon Web Services
 
Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...
Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...
Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...Amazon Web Services
 
Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...
Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...
Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...Amazon Web Services
 
Serverless data prep with AWS Glue - ADB306 - New York AWS Summit
Serverless data prep with AWS Glue - ADB306 - New York AWS SummitServerless data prep with AWS Glue - ADB306 - New York AWS Summit
Serverless data prep with AWS Glue - ADB306 - New York AWS SummitAmazon Web Services
 
Running Lean Performant Yet Cost Optimised - AWS Summit Sydney
Running Lean Performant Yet Cost Optimised - AWS Summit SydneyRunning Lean Performant Yet Cost Optimised - AWS Summit Sydney
Running Lean Performant Yet Cost Optimised - AWS Summit SydneyAmazon Web Services
 
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...Mani Chandrasekaran
 
Modern-Application-Design-with-Amazon-ECS
Modern-Application-Design-with-Amazon-ECSModern-Application-Design-with-Amazon-ECS
Modern-Application-Design-with-Amazon-ECSAmazon Web Services
 
Developing with .NET Core on AWS - What's new - MAD306 - Santa Clara AWS Summit
Developing with .NET Core on AWS - What's new - MAD306 - Santa Clara AWS SummitDeveloping with .NET Core on AWS - What's new - MAD306 - Santa Clara AWS Summit
Developing with .NET Core on AWS - What's new - MAD306 - Santa Clara AWS SummitAmazon Web Services
 
Optimize Amazon EC2 for Fun and Profit
Optimize Amazon EC2 for Fun and Profit Optimize Amazon EC2 for Fun and Profit
Optimize Amazon EC2 for Fun and Profit Amazon Web Services
 
Deploy and scale your first cloud application with Amazon Lightsail - CMP208 ...
Deploy and scale your first cloud application with Amazon Lightsail - CMP208 ...Deploy and scale your first cloud application with Amazon Lightsail - CMP208 ...
Deploy and scale your first cloud application with Amazon Lightsail - CMP208 ...Amazon Web Services
 
Run Production Workloads on Spot, Save up to 90%
Run Production Workloads on Spot, Save up to 90%Run Production Workloads on Spot, Save up to 90%
Run Production Workloads on Spot, Save up to 90%Amazon Web Services
 
利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統Amazon Web Services
 

Similaire à Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale - CMP202 - Chicago AWS Summit (20)

Optimizing Cost and Capacity for Compute - CMP302 - Santa Clara AWS Summit
Optimizing Cost and Capacity for Compute - CMP302 - Santa Clara AWS SummitOptimizing Cost and Capacity for Compute - CMP302 - Santa Clara AWS Summit
Optimizing Cost and Capacity for Compute - CMP302 - Santa Clara AWS Summit
 
Well Archictecture Framework dotNET.pdf
Well Archictecture Framework dotNET.pdfWell Archictecture Framework dotNET.pdf
Well Archictecture Framework dotNET.pdf
 
EC2 Foundations Autoscaling - The tip of the cost optimisation iceberg
EC2 Foundations Autoscaling - The tip of the cost optimisation icebergEC2 Foundations Autoscaling - The tip of the cost optimisation iceberg
EC2 Foundations Autoscaling - The tip of the cost optimisation iceberg
 
Amazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costiAmazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costi
 
Running Amazon EC2 Workloads at Scale (CMP402-R1) - AWS re:Invent 2018
Running Amazon EC2 Workloads at Scale (CMP402-R1) - AWS re:Invent 2018Running Amazon EC2 Workloads at Scale (CMP402-R1) - AWS re:Invent 2018
Running Amazon EC2 Workloads at Scale (CMP402-R1) - AWS re:Invent 2018
 
Accelerating product development with high performance computing - CMP301 - S...
Accelerating product development with high performance computing - CMP301 - S...Accelerating product development with high performance computing - CMP301 - S...
Accelerating product development with high performance computing - CMP301 - S...
 
Running Enterprise Test/Dev on Amazon EC2 Spot Instances (CMP407-R1) - AWS re...
Running Enterprise Test/Dev on Amazon EC2 Spot Instances (CMP407-R1) - AWS re...Running Enterprise Test/Dev on Amazon EC2 Spot Instances (CMP407-R1) - AWS re...
Running Enterprise Test/Dev on Amazon EC2 Spot Instances (CMP407-R1) - AWS re...
 
Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...
Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...
Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...
 
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS Summit
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS SummitGetting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS Summit
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS Summit
 
Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...
Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...
Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...
 
Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...
Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...
Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...
 
Serverless data prep with AWS Glue - ADB306 - New York AWS Summit
Serverless data prep with AWS Glue - ADB306 - New York AWS SummitServerless data prep with AWS Glue - ADB306 - New York AWS Summit
Serverless data prep with AWS Glue - ADB306 - New York AWS Summit
 
Running Lean Performant Yet Cost Optimised - AWS Summit Sydney
Running Lean Performant Yet Cost Optimised - AWS Summit SydneyRunning Lean Performant Yet Cost Optimised - AWS Summit Sydney
Running Lean Performant Yet Cost Optimised - AWS Summit Sydney
 
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...
 
Modern-Application-Design-with-Amazon-ECS
Modern-Application-Design-with-Amazon-ECSModern-Application-Design-with-Amazon-ECS
Modern-Application-Design-with-Amazon-ECS
 
Developing with .NET Core on AWS - What's new - MAD306 - Santa Clara AWS Summit
Developing with .NET Core on AWS - What's new - MAD306 - Santa Clara AWS SummitDeveloping with .NET Core on AWS - What's new - MAD306 - Santa Clara AWS Summit
Developing with .NET Core on AWS - What's new - MAD306 - Santa Clara AWS Summit
 
Optimize Amazon EC2 for Fun and Profit
Optimize Amazon EC2 for Fun and Profit Optimize Amazon EC2 for Fun and Profit
Optimize Amazon EC2 for Fun and Profit
 
Deploy and scale your first cloud application with Amazon Lightsail - CMP208 ...
Deploy and scale your first cloud application with Amazon Lightsail - CMP208 ...Deploy and scale your first cloud application with Amazon Lightsail - CMP208 ...
Deploy and scale your first cloud application with Amazon Lightsail - CMP208 ...
 
Run Production Workloads on Spot, Save up to 90%
Run Production Workloads on Spot, Save up to 90%Run Production Workloads on Spot, Save up to 90%
Run Production Workloads on Spot, Save up to 90%
 
利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統
 

Plus de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Plus de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale - CMP202 - Chicago AWS Summit

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale Chad Schmutzer Principal developer advocate Amazon EC2 Spot C M P 2 0 2
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T About me Chad Schmutzer / schmutze@amazon.com / @schmutze • Principal developer advocate – Amazon EC2 Spot • Pasadena, CA • Maintain Jenkins Amazon EC2 Spot Fleet plugin and Amazon EC2 Spot labs on GitHub • Previously • Specialist solutions architect – Amazon EC2 Spot (~2.5 years) • Solutions architect – World Wide Public Sector (~3 years) • Associate director for Academic Research Computing at the California Institute of Technology in Pasadena, CA (~15 years) • Little league coach
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Learning objectives • 300 level • Answer questions such as: • “How can I scale my compute cost effectively?” • “How can I reduce my compute spend?” • “What are Amazon EC2 Spot Instances?” • ”How can I mix On-Demand and Spot Instances?” • “How can I mix multiple Amazon EC2 instance types in a single Amazon EC2 Auto Scaling group?” • This deck will be available on SlideShare 48–72 hours after the summit
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T You after this session
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Agenda • Intro • Amazon EC2 launch templates / Demo • Amazon EC2 Fleet / Demo • Amazon EC2 Auto Scaling groups / Demo • Q&A
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T At first, there was Amazon EC2 m1.small
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Then we added some new instance types m1.largem1.small m1.medium
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Then we added a lot more instance types Recent launches: Compute-optimized: c5{d,n} General purpose: m5{d,a}, t3, a1 Accelerated computing: g3s, g4 Memory-optimized: z1d, r5{d,a} 3 5 7 11 12 13 23 42 52 60 70 0 10 20 30 40 50 60 70 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T On-Demand Pay for compute capacity by the second with no long-term commitments Spiky workloads, to define needs Amazon EC2 purchasing options Spot Instances Spare Amazon EC2 capacity at savings of up to 90% off On-Demand prices Fault-tolerant, flexible, stateless workloads Reserved Instances Make a 1- or 3-year commitment and receive a significant discount off On- Demand prices Committed & steady-state usage
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 0 2 4 6 8 10 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Combine purchase options to optimize at scale Use RIs for known/steady-state workloads Scale using Spot On-Demand capacity reservations for your reservation needs On-Demand, or both
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Why combine instances and purchase models? To turbo boost an application using Spot Instances
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Why combine instances and purchase models? To scale on vCPUs, memory, or containers
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Why combine instances and purchase models? To scale 1,000x
  • 14. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Containers + Spot = Match made in heaven ✓ Containers are often stateless, fault-tolerant, and a great fit for Spot Instances ✓ Deploy containerized workloads and easily manage clusters at any scale at a fraction of the cost with Spot Instances ✓ Spot Instances can be used with Amazon Elastic Container Service (Amazon ECS) or Amazon Elastic Container Service for Kubernetes (Amazon EKS) to run any containerized workload Skyscanner is a travel fare aggregator website and travel metasearch engine based in Edinburgh, Scotland
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Workload example: Big Data ✓ Spot Instances provide acceleration, scale, and cost savings to run hyperscale workloads for data analysis ✓ Scale to large numbers of parallel nodes via Fleet ✓ Use Spot Instances with Amazon EMR, Hadoop, or Spark to process massive amounts of data Amazon EMR A job that took weeks in our data center, due to limited resources, took hours on Spot thanks to the great parallelism, in a very cost-efficient price.” - Shay Asoolin, sr. director development infrastructure, Mobileye
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Workload example: CI/CD ✓ Configure Jenkins with the Amazon EC2 spot plugin to automatically scale a fleet of Spot Instances based on the number CI/CD jobs ✓ Increase cost savings by leveraging older generation instances for CI, as these processes do not require a lot of power for testing
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Workload example: Web services ✓ Scale, throughput, and deep cost savings for large-scale web operations ✓ Launch and manage a collection of diversified Spot Instances across pools via Amazon EC2 Fleet and Amazon EC2 Auto Scaling group ✓ NEW! Include Spot with RIs and On-Demand in a single Amazon EC2 Auto Scaling group Quantcast Scales Ad Services Saves 60% Using Amazon EC2 Spot Instances “As we roll out more infrastructure to AWS, Amazon EC2 Spot Instances are helping us control costs and scale our systems to meet demand.“ —Leah Blank, senior systems engineer, Quantcast Amazon EC2 Auto Scaling Amazon EC2 Fleet
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Workload example: HPC ✓ Accelerate HPC workloads such as genomic sequencing, CFD, and algorithmic trading by running massively parallel jobs ✓ Run multiple projects simultaneously; launch & decommission 1,000s of nodes ✓ Spot Auto Scaling groups; F1(FPGA), eg1 (Elastic GPUs), Cluster GPU instances to accelerate processing “We are able to offer our customers a lower cost, high-performance genomic-analysis platform, which can help them speed their time to answers.“ —Andy Nelson, associate director, Informatics & Cloud Operations, Illumina Amazon EC2 Fleet AWS CloudFormation AWS Batch
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Actual customer action shot
  • 21. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Automate cost optimization & capacity management . . . Let’s see how this all works together to automatically optimize scale, performance, and cost behind the scenes Amazon EC2 Auto Scaling Amazon EC2 Fleet Amazon EC2 launch templates 1 2 3
  • 23. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Consistent experience Simplified permissions Use launch templates to achieve . . . Governance & best practices Increased productivity
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Increased productivity: Automated updates For example, push a patched AMI to Amazon EC2 Auto Scaling groups
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Increased productivity: Eliminate repetitive tasks For example, save tags in a launch template
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Use launch templates as an auth vehicle { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ec2:RunInstances" ], "Resource": [ "arn:aws:ec2:us-east-1::image/*", "arn:aws:ec2:us-east-1:1234567890:subnet/*", "arn:aws:ec2:us-east-1:1234567890:network-interface/*", "arn:aws:ec2:us-east-1:1234567890:security-group/*", "arn:aws:ec2:us-east-1:1234567890:key-pair/*", "arn:aws:ec2:us-east-1:1234567890:instance/*", "arn:ec2:ec2:us-east-1:1234567890:snapshot", "arn:ec2:ec2:us-east-1:1234567890:elastic-gpu/*" ] }, { "Effect": "Allow", "Action": [ "ec2:RunInstances" ], "Resource": [ "arn:aws:ec2:us-east-1:1234567890:volume/*", ], "Condition": { "NumericLessThan": { "ec2:VolumeSize" : "X" } } }, { "Effect": "Allow", "Action": [ "ec2:CreateTags" ], "Resource": "arn:aws:ec2:us-east-1:1234567890:*/*", "Condition": { "StringEquals": { "ec2:CreateAction" : "RunInstances" } } } ] } { "Version":"2012-10-17", "Statement":[ { "Effect":"Allow", "Action":"ec2:RunInstances", "Resource":"*", "Condition":{ "ArnLike":{ "ec2:LaunchTemplate":"arn:aws:ec2:region:ac count:launch-template/(* or actual template id)" } } } ] }
  • 28. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 29. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Amazon EC2 Fleet Benefits Simplifies provisioning of Amazon EC2 capacity across different instance types, AZs, and purchase models with a single API Reduce costs Increase operational efficiency Key features Flexible capacity allocation Massive scale Simplified provisioning Spot Instances On-Demand InstancesOn-Demand Instances Spot Instances Reserved Instances Reserved Instances AZ1 AZ2 Use all three purchase models to optimize costs Automatic optimization behind the scenes with software
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Amazon EC2 Fleet and allocation strategies Amazon EC2 Fleet Provisions capacity across multiple instance types according to allocation strategies Allocation strategies On-Demand prioritized list of instance types Spot Instances across the N lowest priced instance pools
  • 32. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2 Fleet API details (target capacity) --target-capacity-specification { "TotalTargetCapacity": integer, "OnDemandTargetCapacity": integer, "SpotTargetCapacity": integer, "DefaultTargetCapacityType": "spot"|"on-demand” }
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Amazon EC2 Fleet API details (type) --type request places an asynchronous one-time request without maintaining capacity or submitting requests in alternative capacity pools if capacity is unavailable maintain (default) places an asynchronous request for your desired capacity, and maintains it by replenishing interrupted Spot Instances instant (new-ish!) places a synchronous one-time request, and returns errors for any instances that could not be launched
  • 34. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 35. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Before: Multiple Auto Scaling groups to use Spot, On-Demand, and RIs together m4.large Spot Auto Scaling group m5.large Spot Auto Scaling group c4.large On-Demand Auto Scaling group Availability Zone 1 Availability Zone 2 Availability Zone 3
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T After: Include Spot, On-Demand, and RIs in a single Auto Scaling group m4.large Spot m5.large Spot c4.large On-Demand Availability Zone 1 Availability Zone 2 Availability Zone 3
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Save up to 90% using Amazon EC2 Auto Scaling and Amazon EC2 Fleet Automatically provision and scale instances across instance families and purchase models in a single Auto Scaling group Lowest cost Specify what percentage of your Auto Scaling group capacity should be fulfilled by On- Demand Instances and Spot Instances to optimize cost Prioritized list Use a prioritized list for On-Demand Instance types to scale capacity during an urgent, unpredictable event to optimize performance Reduce operational overhead Reduce cost Optimize performance Reduce operational overhead
  • 39. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. API parameters "MixedInstancesPolicy": { "LaunchTemplate": { "LaunchTemplateSpecification": { "LaunchTemplateName": ”MyLaunchTemplate" }, "Overrides": [ { "InstanceType": "c5.large" }, { "InstanceType": "c4.large" } ] }, "InstancesDistribution": { "OnDemandAllocationStrategy": "prioritized", "OnDemandBaseCapacity": 10, "OnDemandPercentageAboveBaseCapacity": 50, "SpotAllocationStrategy": "lowest-price", "SpotInstancePools": 2 } } AZ1 and AZ2 Desired Min Max On-Demand Base 50% On-Demand 50% Spot Minimum On-Demand (10)
  • 40. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Instances distribution Auto Scaling group scales up and down according to the instances distribution • Amazon EC2 Auto Scaling fills base capacity with On-Demand Instances • Capacity beyond base capacity is fulfilled with Spot or On-Demand Instances according to percentage split Example: OnDemandBaseCapacity: 10 OnDemandPercentageAboveBaseCapacity: 50 Desired Capacity On-Demand Instances Spot Instances Desired < Base 5 5 0 Desired = Base 10 10 0 Desired > Base 20 10 + 5 5
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Recommendations on mixed instances policy Choose at least 2 instance type overrides Improves availability for On-Demand and Spot Instances Diversify across at least N = 2 Spot Instance pools Reduces risk from fluctuations in Spot capacity and prices Choose instance types of same size across families Maintains stability as dynamically scale up and down Use default spot max price Leverages spot cost savings while defaulting to On-Demand price as maximum price to pay
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T On-Demand and Spot Instance pools Instances Distribution Distribute instances evenly between Availability Zones for On-Demand and Spot separately Launch Failures Launch instances in another Availability Zone when launches fail for On-Demand and Spot separately Allows On-Demand capacity to be balanced while Spot capacity is migrated to another Availability Zone due to low capacity
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T On-Demand and Spot Instance pools Balanced capacity across Spot Instances Balanced capacity across On-Demand Instances Availability Zone 1 Availability Zone 2
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T On-Demand and Spot Instance pools Spot Instances are unavailable in AZ1 Balanced capacity across On-Demand Instances Availability Zone 1 Availability Zone 2
  • 45. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T On-Demand and Spot Instance pools Spot Instances are retargeted to AZ2 Balanced capacity across On-Demand Instances Availability Zone 1 Availability Zone 2
  • 46. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T On-Demand and Spot Instance pools Balanced capacity across Spot Instances Balanced capacity across On-Demand Instances Availability Zone 1 Availability Zone 2
  • 47. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 48. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T In conclusion • Be aggressive with your cost optimization strategies for compute. Spot can save you a ton, and it is quite easy to use • Be flexible and diversify across instance types and purchase models • Adopt Amazon EC2 launch templates • Use Amazon EC2 Auto Scaling groups
  • 49. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T In conclusion • All examples and demos are published in GitHub: • https://github.com/awslabs/ec2-spot-labs/tree/master/ec2-fleet • Try out some self-paced workshops yourself: • https://ec2spotworkshops.com/ • If you still have questions, drop me a note: • schmutze@amazon.com / @schmutze
  • 50. Thank you! S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Chad Schmutzer @schmutze