SlideShare une entreprise Scribd logo
1  sur  49
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 EC2 workloads at scale
Derek Felska
Senior Solutions Architect, EC2 Spot
AWS
C M P 3 0 1
© 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 expenditure?”
• “What are EC2 Spot Instances?”
• ”How can I mix On-Demand Instances and Spot Instances?”
• “How can I mix multiple EC2 instance types in a single 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
• Introduction
• EC2 launch templates, demo
• EC2 Fleet, demo
• EC2 Auto Scaling groups, demo
• Q&A
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
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 many 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 Instances
Pay for compute capacity
by the second with no
long-term commitments
Spiky workloads,
to define needs
Amazon EC2 purchasing options
Spot Instances
Spare 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 purchasing options to optimize at scale
Use Reserved Instances for known
and 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 purchasing options?
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 purchasing options?
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 purchasing options?
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 ECS or Kubernetes 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 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 EC2
Fleet and Auto Scaling group
✓ NEW! Include Spot with Reserved and On-Demand Instances in a single
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
costs behind the scenes
EC2 Auto ScalingEC2 FleetEC2 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 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 EC2 capacity across different
instance types, Availability Zones, and purchasing options 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 purchasing options 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 Reserved Instances 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 Reserved Instances
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 EC2 Auto Scaling and
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 costs 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
• 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 two 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 the same size across families
Maintains stability as dynamically scale up and down
Use default Spot maximum price
Leverages Spot cost savings while defaulting to the On-Demand Instance price as the 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 Instances and Spot Instances
separately
Launch failures
Launch instances in another Availability Zone when launches fail for On-Demand Instances and Spot
Instances separately
Allows On-Demand Instance capacity to be balanced while Spot Instance 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 Instance 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 Instance and Spot Instance pools
Spot Instances are unavailable in Availability Zone 1
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 Instance and Spot Instance pools
Spot Instances are retargeted to Availability Zone 2
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 Instance 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 lot, and it’s easy to use.
• Be flexible and diversify across instance types and purchase models .
• Adopt EC2 launch templates.
• Use EC2 Auto Scaling groups.
Saving with Spot
is so easy,
even
kids can do it.
© 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, contact me:
• felskad@amazon.com
Thank you!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Derek Felska
felskad@amazon.com

Contenu connexe

Tendances

Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...
Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...
Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...Amazon Web Services
 
Why AWS for running Microsoft workloads - CMP202-I - New York AWS Summit
Why AWS for running Microsoft workloads - CMP202-I - New York AWS SummitWhy AWS for running Microsoft workloads - CMP202-I - New York AWS Summit
Why AWS for running Microsoft workloads - CMP202-I - New York AWS SummitAmazon Web Services
 
What's new in Amazon Aurora - ADB203 - Atlanta AWS Summit
What's new in Amazon Aurora - ADB203 - Atlanta AWS SummitWhat's new in Amazon Aurora - ADB203 - Atlanta AWS Summit
What's new in Amazon Aurora - ADB203 - Atlanta AWS SummitAmazon Web Services
 
What’s new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What’s new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...What’s new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What’s new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...Amazon Web Services
 
Databases on AWS - The right tool for the right job - ADB203 - Santa Clara AW...
Databases on AWS - The right tool for the right job - ADB203 - Santa Clara AW...Databases on AWS - The right tool for the right job - ADB203 - Santa Clara AW...
Databases on AWS - The right tool for the right job - ADB203 - Santa Clara AW...Amazon Web Services
 
Developing serverless applications with .NET using AWS SDK and tools - MAD308...
Developing serverless applications with .NET using AWS SDK and tools - MAD308...Developing serverless applications with .NET using AWS SDK and tools - MAD308...
Developing serverless applications with .NET using AWS SDK and tools - MAD308...Amazon Web Services
 
Modernize your data warehouse with Amazon Redshift - ADB305 - New York AWS Su...
Modernize your data warehouse with Amazon Redshift - ADB305 - New York AWS Su...Modernize your data warehouse with Amazon Redshift - ADB305 - New York AWS Su...
Modernize your data warehouse with Amazon Redshift - ADB305 - New York AWS Su...Amazon Web Services
 
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS SummitConnecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS SummitAmazon Web Services
 
利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統Amazon Web Services
 
Amazon EC2 A1 instances, powered by the AWS Graviton processor - CMP303 - San...
Amazon EC2 A1 instances, powered by the AWS Graviton processor - CMP303 - San...Amazon EC2 A1 instances, powered by the AWS Graviton processor - CMP303 - San...
Amazon EC2 A1 instances, powered by the AWS Graviton processor - CMP303 - San...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
 
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...Amazon Web Services
 
Deep dive on Amazon S3 Glacier Deep Archive - STG301 - Santa Clara AWS Summit
Deep dive on Amazon S3 Glacier Deep Archive - STG301 - Santa Clara AWS SummitDeep dive on Amazon S3 Glacier Deep Archive - STG301 - Santa Clara AWS Summit
Deep dive on Amazon S3 Glacier Deep Archive - STG301 - Santa Clara AWS SummitAmazon Web Services
 
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...Amazon Web Services
 
AWS CloudFormation macros: Coding best practices - MAD201 - New York AWS Summit
AWS CloudFormation macros: Coding best practices - MAD201 - New York AWS SummitAWS CloudFormation macros: Coding best practices - MAD201 - New York AWS Summit
AWS CloudFormation macros: Coding best practices - MAD201 - New York AWS SummitAmazon 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
 
Introducing-AWS-Hong-Kong-Region
Introducing-AWS-Hong-Kong-RegionIntroducing-AWS-Hong-Kong-Region
Introducing-AWS-Hong-Kong-RegionAmazon Web Services
 
Fulfilling_a_Billion_Requests_from_a_Global_SaaS_Company_Insights_into_AfterS...
Fulfilling_a_Billion_Requests_from_a_Global_SaaS_Company_Insights_into_AfterS...Fulfilling_a_Billion_Requests_from_a_Global_SaaS_Company_Insights_into_AfterS...
Fulfilling_a_Billion_Requests_from_a_Global_SaaS_Company_Insights_into_AfterS...Amazon Web Services
 
Driving Overall Equipment Effectiveness with AWS IoT SiteWise - SVC213 - Chic...
Driving Overall Equipment Effectiveness with AWS IoT SiteWise - SVC213 - Chic...Driving Overall Equipment Effectiveness with AWS IoT SiteWise - SVC213 - Chic...
Driving Overall Equipment Effectiveness with AWS IoT SiteWise - SVC213 - Chic...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
 

Tendances (20)

Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...
Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...
Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...
 
Why AWS for running Microsoft workloads - CMP202-I - New York AWS Summit
Why AWS for running Microsoft workloads - CMP202-I - New York AWS SummitWhy AWS for running Microsoft workloads - CMP202-I - New York AWS Summit
Why AWS for running Microsoft workloads - CMP202-I - New York AWS Summit
 
What's new in Amazon Aurora - ADB203 - Atlanta AWS Summit
What's new in Amazon Aurora - ADB203 - Atlanta AWS SummitWhat's new in Amazon Aurora - ADB203 - Atlanta AWS Summit
What's new in Amazon Aurora - ADB203 - Atlanta AWS Summit
 
What’s new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What’s new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...What’s new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What’s new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
 
Databases on AWS - The right tool for the right job - ADB203 - Santa Clara AW...
Databases on AWS - The right tool for the right job - ADB203 - Santa Clara AW...Databases on AWS - The right tool for the right job - ADB203 - Santa Clara AW...
Databases on AWS - The right tool for the right job - ADB203 - Santa Clara AW...
 
Developing serverless applications with .NET using AWS SDK and tools - MAD308...
Developing serverless applications with .NET using AWS SDK and tools - MAD308...Developing serverless applications with .NET using AWS SDK and tools - MAD308...
Developing serverless applications with .NET using AWS SDK and tools - MAD308...
 
Modernize your data warehouse with Amazon Redshift - ADB305 - New York AWS Su...
Modernize your data warehouse with Amazon Redshift - ADB305 - New York AWS Su...Modernize your data warehouse with Amazon Redshift - ADB305 - New York AWS Su...
Modernize your data warehouse with Amazon Redshift - ADB305 - New York AWS Su...
 
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS SummitConnecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
Connecting your devices at scale, ft. Discovery - SVC205 - New York AWS Summit
 
利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統
 
Amazon EC2 A1 instances, powered by the AWS Graviton processor - CMP303 - San...
Amazon EC2 A1 instances, powered by the AWS Graviton processor - CMP303 - San...Amazon EC2 A1 instances, powered by the AWS Graviton processor - CMP303 - San...
Amazon EC2 A1 instances, powered by the AWS Graviton processor - CMP303 - San...
 
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...
 
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
What's new with Amazon S3, Amazon EFS, and other AWS storage services - STG20...
 
Deep dive on Amazon S3 Glacier Deep Archive - STG301 - Santa Clara AWS Summit
Deep dive on Amazon S3 Glacier Deep Archive - STG301 - Santa Clara AWS SummitDeep dive on Amazon S3 Glacier Deep Archive - STG301 - Santa Clara AWS Summit
Deep dive on Amazon S3 Glacier Deep Archive - STG301 - Santa Clara AWS Summit
 
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...
 
AWS CloudFormation macros: Coding best practices - MAD201 - New York AWS Summit
AWS CloudFormation macros: Coding best practices - MAD201 - New York AWS SummitAWS CloudFormation macros: Coding best practices - MAD201 - New York AWS Summit
AWS CloudFormation macros: Coding best practices - MAD201 - New York AWS Summit
 
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...
 
Introducing-AWS-Hong-Kong-Region
Introducing-AWS-Hong-Kong-RegionIntroducing-AWS-Hong-Kong-Region
Introducing-AWS-Hong-Kong-Region
 
Fulfilling_a_Billion_Requests_from_a_Global_SaaS_Company_Insights_into_AfterS...
Fulfilling_a_Billion_Requests_from_a_Global_SaaS_Company_Insights_into_AfterS...Fulfilling_a_Billion_Requests_from_a_Global_SaaS_Company_Insights_into_AfterS...
Fulfilling_a_Billion_Requests_from_a_Global_SaaS_Company_Insights_into_AfterS...
 
Driving Overall Equipment Effectiveness with AWS IoT SiteWise - SVC213 - Chic...
Driving Overall Equipment Effectiveness with AWS IoT SiteWise - SVC213 - Chic...Driving Overall Equipment Effectiveness with AWS IoT SiteWise - SVC213 - Chic...
Driving Overall Equipment Effectiveness with AWS IoT SiteWise - SVC213 - Chic...
 
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
 

Similaire à Running Amazon EC2 workloads at scale - CMP301 - New York 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
 
Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale - CMP202...
Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale - CMP202...Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale - CMP202...
Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale - CMP202...Amazon Web Services
 
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
 
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
 
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
 
Well Archictecture Framework dotNET.pdf
Well Archictecture Framework dotNET.pdfWell Archictecture Framework dotNET.pdf
Well Archictecture Framework dotNET.pdfConradoDeBiasi
 
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
 
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
 
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
 
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 Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS SummitOptimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS SummitAmazon Web Services
 
SRV203 Optimizing Amazon EC2 for Fun and Profit
 SRV203 Optimizing Amazon EC2 for Fun and Profit SRV203 Optimizing Amazon EC2 for Fun and Profit
SRV203 Optimizing Amazon EC2 for Fun and ProfitAmazon Web Services
 
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...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
 
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
 
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
 
AWS Compute Evolved Week: Cost Optimize EC2 with Amazon EC2 Spot Instances
AWS Compute Evolved Week: Cost Optimize EC2 with Amazon EC2 Spot InstancesAWS Compute Evolved Week: Cost Optimize EC2 with Amazon EC2 Spot Instances
AWS Compute Evolved Week: Cost Optimize EC2 with Amazon EC2 Spot InstancesAmazon Web Services
 

Similaire à Running Amazon EC2 workloads at scale - CMP301 - New York 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
 
Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale - CMP202...
Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale - CMP202...Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale - CMP202...
Running Amazon Elastic Compute Cloud (Amazon EC2) workloads at scale - CMP202...
 
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
 
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...
 
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
 
Well Archictecture Framework dotNET.pdf
Well Archictecture Framework dotNET.pdfWell Archictecture Framework dotNET.pdf
Well Archictecture Framework dotNET.pdf
 
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
 
Modern-Application-Design-with-Amazon-ECS
Modern-Application-Design-with-Amazon-ECSModern-Application-Design-with-Amazon-ECS
Modern-Application-Design-with-Amazon-ECS
 
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
 
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 Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS SummitOptimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
 
SRV203 Optimizing Amazon EC2 for Fun and Profit
 SRV203 Optimizing Amazon EC2 for Fun and Profit SRV203 Optimizing Amazon EC2 for Fun and Profit
SRV203 Optimizing Amazon EC2 for Fun and Profit
 
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...
 
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
 
Amazon EC2 Spot Instances
Amazon EC2 Spot InstancesAmazon EC2 Spot Instances
Amazon EC2 Spot Instances
 
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...
 
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...
 
AWS Compute Evolved Week: Cost Optimize EC2 with Amazon EC2 Spot Instances
AWS Compute Evolved Week: Cost Optimize EC2 with Amazon EC2 Spot InstancesAWS Compute Evolved Week: Cost Optimize EC2 with Amazon EC2 Spot Instances
AWS Compute Evolved Week: Cost Optimize EC2 with Amazon EC2 Spot Instances
 

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 EC2 workloads at scale - CMP301 - New York AWS Summit

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Running Amazon EC2 workloads at scale Derek Felska Senior Solutions Architect, EC2 Spot AWS C M P 3 0 1
  • 2. © 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 expenditure?” • “What are EC2 Spot Instances?” • ”How can I mix On-Demand Instances and Spot Instances?” • “How can I mix multiple EC2 instance types in a single EC2 Auto Scaling group?” • This deck will be available on SlideShare 48–72 hours after the summit
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T You after this session
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Agenda • Introduction • EC2 launch templates, demo • EC2 Fleet, demo • EC2 Auto Scaling groups, demo • Q&A
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T First, there was Amazon EC2 m1.small
  • 6. © 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
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Then, we added many 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
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T On-Demand Instances Pay for compute capacity by the second with no long-term commitments Spiky workloads, to define needs Amazon EC2 purchasing options Spot Instances Spare 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
  • 9. © 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 purchasing options to optimize at scale Use Reserved Instances for known and steady-state workloads Scale using Spot On-Demand capacity reservations for your reservation needs On-Demand, or both
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Why combine instances and purchasing options? To turbo boost an application using Spot Instances
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Why combine instances and purchasing options? To scale on vCPUs, memory, or containers
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Why combine instances and purchasing options? To scale 1,000x
  • 13. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 14. © 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 ECS or Kubernetes to run any containerized workload Skyscanner is a travel fare aggregator website and travel metasearch engine based in Edinburgh, Scotland
  • 15. © 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
  • 16. © 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 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
  • 17. © 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 EC2 Fleet and Auto Scaling group ✓ NEW! Include Spot with Reserved and On-Demand Instances in a single 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
  • 18. © 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
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Actual customer action shot
  • 20. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 21. © 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 costs behind the scenes EC2 Auto ScalingEC2 FleetEC2 launch templates 1 2 3
  • 22. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 23. © 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
  • 24. © 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 EC2 Auto Scaling groups
  • 25. © 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
  • 26. © 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)" } } } ] }
  • 27. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 28. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Amazon EC2 Fleet Benefits Simplifies provisioning of EC2 capacity across different instance types, Availability Zones, and purchasing options 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 purchasing options to optimize costs Automatic optimization behind the scenes with software
  • 30. © 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
  • 31. 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” }
  • 32. © 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
  • 33. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 34. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 35. © 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 Reserved Instances 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
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T After: Include Spot, On-Demand, and Reserved Instances 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
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Save up to 90% using EC2 Auto Scaling and 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 costs Optimize performance Reduce operational overhead
  • 38. 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)
  • 39. © 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 • 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
  • 40. © 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 two 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 the same size across families Maintains stability as dynamically scale up and down Use default Spot maximum price Leverages Spot cost savings while defaulting to the On-Demand Instance price as the maximum price to pay
  • 41. © 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 Instances and Spot Instances separately Launch failures Launch instances in another Availability Zone when launches fail for On-Demand Instances and Spot Instances separately Allows On-Demand Instance capacity to be balanced while Spot Instance capacity is migrated to another Availability Zone due to low capacity
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T On-Demand Instance and Spot Instance pools Balanced capacity across Spot Instances Balanced capacity across On-Demand Instances Availability Zone 1 Availability Zone 2
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T On-Demand Instance and Spot Instance pools Spot Instances are unavailable in Availability Zone 1 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 Instance and Spot Instance pools Spot Instances are retargeted to Availability Zone 2 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 Instance and Spot Instance pools Balanced capacity across Spot Instances Balanced capacity across On-Demand Instances Availability Zone 1 Availability Zone 2
  • 46. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 47. © 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 lot, and it’s easy to use. • Be flexible and diversify across instance types and purchase models . • Adopt EC2 launch templates. • Use EC2 Auto Scaling groups. Saving with Spot is so easy, even kids can do it.
  • 48. © 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, contact me: • felskad@amazon.com
  • 49. Thank you! S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Derek Felska felskad@amazon.com