SlideShare a Scribd company logo
1 of 16
Cost Efficiency
at Scale
Cristian Măgherușan-Stanciu @magheru_san
Principal SRE at HERE Technologies
AWS Pop-up Loft, Oct 2018
We are making
sense of the world
through the lens
of location
HERE Technologies
through the lens
of location
© 2018 HERE Technologies2
On Demand Economy
9.5 B ARRobotics Quantum Computing
Megacities Artificial Intelligence Sustainability
Neural
Networks
Data Analytics
Location
Location
Location
Location
Location
Location
Location
Location
Location
Location
Location
Location
© 2018 HERE Technologies3
HERE Technologies in Numbers
© 2018 HERE Technologies4 We are HERE | November 20174
200
Countries mapped
4of5
In-car navigation
systems in Europe
and North America
use HERE maps
30+
Years of
experience
transforming
location
technology
8,000+Employees in 56 countries
focused on delivering the world’s best
map and location technologies
HERE Maps on board of
100Mvehicles and counting
3D data points
per second per car
700,000
collecting
data for
our
maps
400
HERE cars
28TB map data
collected
perday
Powered
through the lens
of location
HERE Technologies
© 2018 HERE Technologies5
by AWS
HERE Technologies and AWS
We run all our backends in the AWS cloud
• 100s of teams maintaining 450+ AWS accounts
• Mainly EC2, S3 & RDS
• 10000s of EC2 instances in 1000s of AutoScaling groups
• 10s of PB of data in S3
© 2018 HERE Technologies6
Photo by unknown author, licensed under CC BY-SA
Our AWS spending
is significant,
even small savings
matter a lot
HERE Technologies and AWS
© 2018 HERE Technologies7
Cost control measures
Multiple layers implemented over time
• Enterprise Discount Program
• Centralized Reserved Instance purchases
• Scheduled terminations and AutoScaling based on load
• Spot market automation
© 2018 HERE Technologies8
Image source https://www.bakingo.com/p/party-cake/3-tier-vanilla-cake-
part0157vani
Enterprise Discount Program
Fixed percentage applied on the final bills
• Long-term contract with AWS
• Applies as long as our spending is more than X yearly
• ‘Hands-free’ for the product teams
© 2018 HERE Technologies9
Photo by unknown author licensed under CC BY
Reserved Instances
We purchase RIs periodically
• Trying to maximize coverage while reducing waste
• Allocating RIs on the fly to whoever needs them
• Savings in the 40-50% range
• ‘Hands-free’ for the product teams
• Started with EC2, now expanding to other services
© 2018 HERE Technologies10
Scheduled terminations and AutoScaling based on load
Shut down development environments when not in use
And use AutoScaling policies for those that should run 24/7
• Each team defines its on/off schedules as tags set on their EC2 instances
• Lambda functions take action based on these tags
© 2018 HERE Technologies11
Shut down
over the
week-end
Shut down in the evening
Turn on in the morning
This saves about 70%
Spot Market Automation
We automatically switch our AutoScaling Groups to spot instances using the AutoSpotting tool
• Controlled by tags set on AutoScaling groups, such as ‘spot-enabled=true’
• Lambda function that continuously replaces nodes in enabled groups with identical spot instances
• AutoScaling will revert to on-demand (often covered by RIs) on spot terminations or when scaling out
© 2018 HERE Technologies12
Lessons learned
Keep it simple and painless to the product teams
They always have something of higher priority than cost savings
• Try to create ‘hands-free’, opt-out or trivial to use solutions
• Provide examples and clear documentation if they need to take any action
• Try not to cause significant impact on their work
© 2018 HERE Technologies13
Future Plans
Extend the RI purchasing program
• Purchase RIs for other services: RDS, ElastiCache, CloudFront, etc.
Expand the AutoSpotting rollout
• Switch it to opt-out mode on all Development AWS accounts
• Work with selected product teams to set it up on Production
© 2018 HERE Technologies14
AutoSpotting Demo
© 2018 HERE Technologies15
Thank you
Contact
cristian.maherusan-stanciu@here.com

More Related Content

What's hot

Spotinst 'AWS Cost Optimization' Webinar - Jan 20th, 2016
Spotinst 'AWS Cost Optimization' Webinar - Jan 20th, 2016Spotinst 'AWS Cost Optimization' Webinar - Jan 20th, 2016
Spotinst 'AWS Cost Optimization' Webinar - Jan 20th, 2016Spotinst
 
Airbus Goes Serverless with AWS to Improve Fleet Operations (MFG315) - AWS re...
Airbus Goes Serverless with AWS to Improve Fleet Operations (MFG315) - AWS re...Airbus Goes Serverless with AWS to Improve Fleet Operations (MFG315) - AWS re...
Airbus Goes Serverless with AWS to Improve Fleet Operations (MFG315) - AWS re...Amazon Web Services
 
Introducing the OpsRamp Winter Release, January 2019
Introducing the OpsRamp Winter Release, January 2019Introducing the OpsRamp Winter Release, January 2019
Introducing the OpsRamp Winter Release, January 2019OpsRamp
 
Amazon RDS on AWS Outposts now supports exporting database logs to Amazon Clo...
Amazon RDS on AWS Outposts now supports exporting database logs to Amazon Clo...Amazon RDS on AWS Outposts now supports exporting database logs to Amazon Clo...
Amazon RDS on AWS Outposts now supports exporting database logs to Amazon Clo...Dhaval Soni
 
High Performance Computing Grid on AWS
High Performance Computing Grid on AWSHigh Performance Computing Grid on AWS
High Performance Computing Grid on AWSAmazon Web Services
 
All About Angular and ArcGIS - Developers Forum - AC18
All About Angular and ArcGIS - Developers Forum - AC18All About Angular and ArcGIS - Developers Forum - AC18
All About Angular and ArcGIS - Developers Forum - AC18Esri UK
 
Kabisa AWS Terraform Webinar April 2020
Kabisa AWS Terraform Webinar April 2020Kabisa AWS Terraform Webinar April 2020
Kabisa AWS Terraform Webinar April 2020Joost Saanen
 
How datadog was born in and grew with the cloud
How datadog was born in and grew with the cloud How datadog was born in and grew with the cloud
How datadog was born in and grew with the cloud Yoko Uchio
 
Go for Real Time Streaming Architectures - DotGo 2017
Go for Real Time Streaming Architectures - DotGo 2017Go for Real Time Streaming Architectures - DotGo 2017
Go for Real Time Streaming Architectures - DotGo 2017Mickaël Rémond
 
5 Ways to Control your AWS Spending (or, How to Make Your CFO Happy)
5 Ways to Control your AWS Spending (or, How to Make Your CFO Happy)5 Ways to Control your AWS Spending (or, How to Make Your CFO Happy)
5 Ways to Control your AWS Spending (or, How to Make Your CFO Happy)parkmycloud
 
dropit-presentation
dropit-presentationdropit-presentation
dropit-presentationArthur Silva
 
OpsRamp Platform Fall Release
OpsRamp Platform Fall ReleaseOpsRamp Platform Fall Release
OpsRamp Platform Fall ReleaseOpsRamp
 
Cut AWS Costs: Using Spot Instances for More Than Batch
Cut AWS Costs: Using Spot Instances for More Than BatchCut AWS Costs: Using Spot Instances for More Than Batch
Cut AWS Costs: Using Spot Instances for More Than BatchRightScale
 
Scheduling big data workloads on serverless infrastructure
Scheduling big data workloads on serverless infrastructureScheduling big data workloads on serverless infrastructure
Scheduling big data workloads on serverless infrastructureItai Yaffe
 

What's hot (19)

Spotinst 'AWS Cost Optimization' Webinar - Jan 20th, 2016
Spotinst 'AWS Cost Optimization' Webinar - Jan 20th, 2016Spotinst 'AWS Cost Optimization' Webinar - Jan 20th, 2016
Spotinst 'AWS Cost Optimization' Webinar - Jan 20th, 2016
 
Airbus Goes Serverless with AWS to Improve Fleet Operations (MFG315) - AWS re...
Airbus Goes Serverless with AWS to Improve Fleet Operations (MFG315) - AWS re...Airbus Goes Serverless with AWS to Improve Fleet Operations (MFG315) - AWS re...
Airbus Goes Serverless with AWS to Improve Fleet Operations (MFG315) - AWS re...
 
Introducing the OpsRamp Winter Release, January 2019
Introducing the OpsRamp Winter Release, January 2019Introducing the OpsRamp Winter Release, January 2019
Introducing the OpsRamp Winter Release, January 2019
 
Cloud ERP For Logistics
Cloud ERP For LogisticsCloud ERP For Logistics
Cloud ERP For Logistics
 
Amazon RDS on AWS Outposts now supports exporting database logs to Amazon Clo...
Amazon RDS on AWS Outposts now supports exporting database logs to Amazon Clo...Amazon RDS on AWS Outposts now supports exporting database logs to Amazon Clo...
Amazon RDS on AWS Outposts now supports exporting database logs to Amazon Clo...
 
High Performance Computing Grid on AWS
High Performance Computing Grid on AWSHigh Performance Computing Grid on AWS
High Performance Computing Grid on AWS
 
All About Angular and ArcGIS - Developers Forum - AC18
All About Angular and ArcGIS - Developers Forum - AC18All About Angular and ArcGIS - Developers Forum - AC18
All About Angular and ArcGIS - Developers Forum - AC18
 
Gib azure sap
Gib   azure sapGib   azure sap
Gib azure sap
 
Using EC2
Using EC2Using EC2
Using EC2
 
Kabisa AWS Terraform Webinar April 2020
Kabisa AWS Terraform Webinar April 2020Kabisa AWS Terraform Webinar April 2020
Kabisa AWS Terraform Webinar April 2020
 
How datadog was born in and grew with the cloud
How datadog was born in and grew with the cloud How datadog was born in and grew with the cloud
How datadog was born in and grew with the cloud
 
Go for Real Time Streaming Architectures - DotGo 2017
Go for Real Time Streaming Architectures - DotGo 2017Go for Real Time Streaming Architectures - DotGo 2017
Go for Real Time Streaming Architectures - DotGo 2017
 
Application Portfolio
Application PortfolioApplication Portfolio
Application Portfolio
 
5 Ways to Control your AWS Spending (or, How to Make Your CFO Happy)
5 Ways to Control your AWS Spending (or, How to Make Your CFO Happy)5 Ways to Control your AWS Spending (or, How to Make Your CFO Happy)
5 Ways to Control your AWS Spending (or, How to Make Your CFO Happy)
 
dropit-presentation
dropit-presentationdropit-presentation
dropit-presentation
 
OpsRamp Platform Fall Release
OpsRamp Platform Fall ReleaseOpsRamp Platform Fall Release
OpsRamp Platform Fall Release
 
Cut AWS Costs: Using Spot Instances for More Than Batch
Cut AWS Costs: Using Spot Instances for More Than BatchCut AWS Costs: Using Spot Instances for More Than Batch
Cut AWS Costs: Using Spot Instances for More Than Batch
 
AWS Cost Optimization in 5 Perspective
AWS Cost Optimization in 5 PerspectiveAWS Cost Optimization in 5 Perspective
AWS Cost Optimization in 5 Perspective
 
Scheduling big data workloads on serverless infrastructure
Scheduling big data workloads on serverless infrastructureScheduling big data workloads on serverless infrastructure
Scheduling big data workloads on serverless infrastructure
 

Similar to Savings on scale - Spot Instances with Autospotter

CloudOps with OpsRamp: From Discovery to Resolution
CloudOps with OpsRamp: From Discovery to ResolutionCloudOps with OpsRamp: From Discovery to Resolution
CloudOps with OpsRamp: From Discovery to ResolutionOpsRamp
 
The Three Pillars of Agile Integration: Connector, Container & API
The Three Pillars of Agile Integration: Connector, Container & APIThe Three Pillars of Agile Integration: Connector, Container & API
The Three Pillars of Agile Integration: Connector, Container & APIJudy Breedlove
 
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...SnapLogic
 
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...Amazon Web Services
 
Achieving Target State Architecture in NetApp IT
Achieving Target State Architecture in NetApp ITAchieving Target State Architecture in NetApp IT
Achieving Target State Architecture in NetApp ITNetApp
 
Achieving a Target State Architecture
Achieving a Target State ArchitectureAchieving a Target State Architecture
Achieving a Target State ArchitectureRuben Klein Haneveld
 
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...Amazon Web Services
 
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...Amazon Web Services
 
Why customers run SAP on AWS for Industry 4.0::Douglas Bellin::제조업 이노베이션 데이 S...
Why customers run SAP on AWS for Industry 4.0::Douglas Bellin::제조업 이노베이션 데이 S...Why customers run SAP on AWS for Industry 4.0::Douglas Bellin::제조업 이노베이션 데이 S...
Why customers run SAP on AWS for Industry 4.0::Douglas Bellin::제조업 이노베이션 데이 S...Amazon Web Services Korea
 
Applying Machine learning to IOT: End to End Distributed Distributed Pipeline...
Applying Machine learning to IOT: End to End Distributed Distributed Pipeline...Applying Machine learning to IOT: End to End Distributed Distributed Pipeline...
Applying Machine learning to IOT: End to End Distributed Distributed Pipeline...Carol McDonald
 
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...Ed Sattar
 
Automated DevOps for your Digital Transformation Journey!
Automated DevOps for your Digital Transformation Journey!Automated DevOps for your Digital Transformation Journey!
Automated DevOps for your Digital Transformation Journey!David Milano
 
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...AWS Germany
 
OpsRamp Spring Release Webinar | May 2021
OpsRamp Spring Release Webinar | May 2021OpsRamp Spring Release Webinar | May 2021
OpsRamp Spring Release Webinar | May 2021OpsRamp
 
Building Modern Applications on AWS.pptx
Building Modern Applications on AWS.pptxBuilding Modern Applications on AWS.pptx
Building Modern Applications on AWS.pptxNelson Kimathi
 
Racing for the Flexibility Integrating Aras into the IT Landscape
Racing for the Flexibility Integrating Aras into the IT LandscapeRacing for the Flexibility Integrating Aras into the IT Landscape
Racing for the Flexibility Integrating Aras into the IT LandscapeAras
 
Making Cloud Deployment A Reality For End-To-End Policy Administration
Making Cloud Deployment A Reality For End-To-End Policy AdministrationMaking Cloud Deployment A Reality For End-To-End Policy Administration
Making Cloud Deployment A Reality For End-To-End Policy AdministrationAccenture Insurance
 
Red Hat: Three Pillars of Integration
Red Hat:  Three Pillars of IntegrationRed Hat:  Three Pillars of Integration
Red Hat: Three Pillars of IntegrationJudy Breedlove
 
Demystifying Cloud Economics – Think Big: How to Build an Investment Case for...
Demystifying Cloud Economics – Think Big: How to Build an Investment Case for...Demystifying Cloud Economics – Think Big: How to Build an Investment Case for...
Demystifying Cloud Economics – Think Big: How to Build an Investment Case for...Amazon Web Services
 

Similar to Savings on scale - Spot Instances with Autospotter (20)

CloudOps with OpsRamp: From Discovery to Resolution
CloudOps with OpsRamp: From Discovery to ResolutionCloudOps with OpsRamp: From Discovery to Resolution
CloudOps with OpsRamp: From Discovery to Resolution
 
The Three Pillars of Agile Integration: Connector, Container & API
The Three Pillars of Agile Integration: Connector, Container & APIThe Three Pillars of Agile Integration: Connector, Container & API
The Three Pillars of Agile Integration: Connector, Container & API
 
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
 
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
 
Achieving Target State Architecture in NetApp IT
Achieving Target State Architecture in NetApp ITAchieving Target State Architecture in NetApp IT
Achieving Target State Architecture in NetApp IT
 
Achieving a Target State Architecture
Achieving a Target State ArchitectureAchieving a Target State Architecture
Achieving a Target State Architecture
 
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...
 
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
 
Why customers run SAP on AWS for Industry 4.0::Douglas Bellin::제조업 이노베이션 데이 S...
Why customers run SAP on AWS for Industry 4.0::Douglas Bellin::제조업 이노베이션 데이 S...Why customers run SAP on AWS for Industry 4.0::Douglas Bellin::제조업 이노베이션 데이 S...
Why customers run SAP on AWS for Industry 4.0::Douglas Bellin::제조업 이노베이션 데이 S...
 
Applying Machine learning to IOT: End to End Distributed Distributed Pipeline...
Applying Machine learning to IOT: End to End Distributed Distributed Pipeline...Applying Machine learning to IOT: End to End Distributed Distributed Pipeline...
Applying Machine learning to IOT: End to End Distributed Distributed Pipeline...
 
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...
 
Automated DevOps for your Digital Transformation Journey!
Automated DevOps for your Digital Transformation Journey!Automated DevOps for your Digital Transformation Journey!
Automated DevOps for your Digital Transformation Journey!
 
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...
 
OpsRamp Spring Release Webinar | May 2021
OpsRamp Spring Release Webinar | May 2021OpsRamp Spring Release Webinar | May 2021
OpsRamp Spring Release Webinar | May 2021
 
Building Modern Applications on AWS.pptx
Building Modern Applications on AWS.pptxBuilding Modern Applications on AWS.pptx
Building Modern Applications on AWS.pptx
 
Racing for the Flexibility Integrating Aras into the IT Landscape
Racing for the Flexibility Integrating Aras into the IT LandscapeRacing for the Flexibility Integrating Aras into the IT Landscape
Racing for the Flexibility Integrating Aras into the IT Landscape
 
Making Cloud Deployment A Reality For End-To-End Policy Administration
Making Cloud Deployment A Reality For End-To-End Policy AdministrationMaking Cloud Deployment A Reality For End-To-End Policy Administration
Making Cloud Deployment A Reality For End-To-End Policy Administration
 
AWS 101
AWS 101AWS 101
AWS 101
 
Red Hat: Three Pillars of Integration
Red Hat:  Three Pillars of IntegrationRed Hat:  Three Pillars of Integration
Red Hat: Three Pillars of Integration
 
Demystifying Cloud Economics – Think Big: How to Build an Investment Case for...
Demystifying Cloud Economics – Think Big: How to Build an Investment Case for...Demystifying Cloud Economics – Think Big: How to Build an Investment Case for...
Demystifying Cloud Economics – Think Big: How to Build an Investment Case for...
 

More from AWS Germany

Analytics Web Day | From Theory to Practice: Big Data Stories from the Field
Analytics Web Day | From Theory to Practice: Big Data Stories from the FieldAnalytics Web Day | From Theory to Practice: Big Data Stories from the Field
Analytics Web Day | From Theory to Practice: Big Data Stories from the FieldAWS Germany
 
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...AWS Germany
 
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...AWS Germany
 
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...AWS Germany
 
Modern Applications Web Day | Container Workloads on AWS
Modern Applications Web Day | Container Workloads on AWSModern Applications Web Day | Container Workloads on AWS
Modern Applications Web Day | Container Workloads on AWSAWS Germany
 
Modern Applications Web Day | Continuous Delivery to Amazon EKS with Spinnaker
Modern Applications Web Day | Continuous Delivery to Amazon EKS with SpinnakerModern Applications Web Day | Continuous Delivery to Amazon EKS with Spinnaker
Modern Applications Web Day | Continuous Delivery to Amazon EKS with SpinnakerAWS Germany
 
Building Smart Home skills for Alexa
Building Smart Home skills for AlexaBuilding Smart Home skills for Alexa
Building Smart Home skills for AlexaAWS Germany
 
Hotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructure
Hotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructureHotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructure
Hotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructureAWS Germany
 
Wild Rydes with Big Data/Kinesis focus: AWS Serverless Workshop
Wild Rydes with Big Data/Kinesis focus: AWS Serverless WorkshopWild Rydes with Big Data/Kinesis focus: AWS Serverless Workshop
Wild Rydes with Big Data/Kinesis focus: AWS Serverless WorkshopAWS Germany
 
Log Analytics with AWS
Log Analytics with AWSLog Analytics with AWS
Log Analytics with AWSAWS Germany
 
Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS
Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS
Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS AWS Germany
 
AWS Programme für Nonprofits
AWS Programme für NonprofitsAWS Programme für Nonprofits
AWS Programme für NonprofitsAWS Germany
 
Microservices and Data Design
Microservices and Data DesignMicroservices and Data Design
Microservices and Data DesignAWS Germany
 
Serverless vs. Developers – the real crash
Serverless vs. Developers – the real crashServerless vs. Developers – the real crash
Serverless vs. Developers – the real crashAWS Germany
 
Query your data in S3 with SQL and optimize for cost and performance
Query your data in S3 with SQL and optimize for cost and performanceQuery your data in S3 with SQL and optimize for cost and performance
Query your data in S3 with SQL and optimize for cost and performanceAWS Germany
 
Secret Management with Hashicorp’s Vault
Secret Management with Hashicorp’s VaultSecret Management with Hashicorp’s Vault
Secret Management with Hashicorp’s VaultAWS Germany
 
Scale to Infinity with ECS
Scale to Infinity with ECSScale to Infinity with ECS
Scale to Infinity with ECSAWS Germany
 
Containers on AWS - State of the Union
Containers on AWS - State of the UnionContainers on AWS - State of the Union
Containers on AWS - State of the UnionAWS Germany
 
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon LightsailDeploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon LightsailAWS Germany
 

More from AWS Germany (20)

Analytics Web Day | From Theory to Practice: Big Data Stories from the Field
Analytics Web Day | From Theory to Practice: Big Data Stories from the FieldAnalytics Web Day | From Theory to Practice: Big Data Stories from the Field
Analytics Web Day | From Theory to Practice: Big Data Stories from the Field
 
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
 
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
 
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
 
Modern Applications Web Day | Container Workloads on AWS
Modern Applications Web Day | Container Workloads on AWSModern Applications Web Day | Container Workloads on AWS
Modern Applications Web Day | Container Workloads on AWS
 
Modern Applications Web Day | Continuous Delivery to Amazon EKS with Spinnaker
Modern Applications Web Day | Continuous Delivery to Amazon EKS with SpinnakerModern Applications Web Day | Continuous Delivery to Amazon EKS with Spinnaker
Modern Applications Web Day | Continuous Delivery to Amazon EKS with Spinnaker
 
Building Smart Home skills for Alexa
Building Smart Home skills for AlexaBuilding Smart Home skills for Alexa
Building Smart Home skills for Alexa
 
Hotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructure
Hotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructureHotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructure
Hotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructure
 
Wild Rydes with Big Data/Kinesis focus: AWS Serverless Workshop
Wild Rydes with Big Data/Kinesis focus: AWS Serverless WorkshopWild Rydes with Big Data/Kinesis focus: AWS Serverless Workshop
Wild Rydes with Big Data/Kinesis focus: AWS Serverless Workshop
 
Log Analytics with AWS
Log Analytics with AWSLog Analytics with AWS
Log Analytics with AWS
 
Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS
Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS
Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS
 
AWS Programme für Nonprofits
AWS Programme für NonprofitsAWS Programme für Nonprofits
AWS Programme für Nonprofits
 
Microservices and Data Design
Microservices and Data DesignMicroservices and Data Design
Microservices and Data Design
 
Serverless vs. Developers – the real crash
Serverless vs. Developers – the real crashServerless vs. Developers – the real crash
Serverless vs. Developers – the real crash
 
Query your data in S3 with SQL and optimize for cost and performance
Query your data in S3 with SQL and optimize for cost and performanceQuery your data in S3 with SQL and optimize for cost and performance
Query your data in S3 with SQL and optimize for cost and performance
 
Secret Management with Hashicorp’s Vault
Secret Management with Hashicorp’s VaultSecret Management with Hashicorp’s Vault
Secret Management with Hashicorp’s Vault
 
EKS Workshop
 EKS Workshop EKS Workshop
EKS Workshop
 
Scale to Infinity with ECS
Scale to Infinity with ECSScale to Infinity with ECS
Scale to Infinity with ECS
 
Containers on AWS - State of the Union
Containers on AWS - State of the UnionContainers on AWS - State of the Union
Containers on AWS - State of the Union
 
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon LightsailDeploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
 

Recently uploaded

Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Recently uploaded (20)

Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Savings on scale - Spot Instances with Autospotter

  • 1. Cost Efficiency at Scale Cristian Măgherușan-Stanciu @magheru_san Principal SRE at HERE Technologies AWS Pop-up Loft, Oct 2018
  • 2. We are making sense of the world through the lens of location HERE Technologies through the lens of location © 2018 HERE Technologies2
  • 3. On Demand Economy 9.5 B ARRobotics Quantum Computing Megacities Artificial Intelligence Sustainability Neural Networks Data Analytics Location Location Location Location Location Location Location Location Location Location Location Location © 2018 HERE Technologies3
  • 4. HERE Technologies in Numbers © 2018 HERE Technologies4 We are HERE | November 20174 200 Countries mapped 4of5 In-car navigation systems in Europe and North America use HERE maps 30+ Years of experience transforming location technology 8,000+Employees in 56 countries focused on delivering the world’s best map and location technologies HERE Maps on board of 100Mvehicles and counting 3D data points per second per car 700,000 collecting data for our maps 400 HERE cars 28TB map data collected perday
  • 5. Powered through the lens of location HERE Technologies © 2018 HERE Technologies5 by AWS
  • 6. HERE Technologies and AWS We run all our backends in the AWS cloud • 100s of teams maintaining 450+ AWS accounts • Mainly EC2, S3 & RDS • 10000s of EC2 instances in 1000s of AutoScaling groups • 10s of PB of data in S3 © 2018 HERE Technologies6 Photo by unknown author, licensed under CC BY-SA
  • 7. Our AWS spending is significant, even small savings matter a lot HERE Technologies and AWS © 2018 HERE Technologies7
  • 8. Cost control measures Multiple layers implemented over time • Enterprise Discount Program • Centralized Reserved Instance purchases • Scheduled terminations and AutoScaling based on load • Spot market automation © 2018 HERE Technologies8 Image source https://www.bakingo.com/p/party-cake/3-tier-vanilla-cake- part0157vani
  • 9. Enterprise Discount Program Fixed percentage applied on the final bills • Long-term contract with AWS • Applies as long as our spending is more than X yearly • ‘Hands-free’ for the product teams © 2018 HERE Technologies9 Photo by unknown author licensed under CC BY
  • 10. Reserved Instances We purchase RIs periodically • Trying to maximize coverage while reducing waste • Allocating RIs on the fly to whoever needs them • Savings in the 40-50% range • ‘Hands-free’ for the product teams • Started with EC2, now expanding to other services © 2018 HERE Technologies10
  • 11. Scheduled terminations and AutoScaling based on load Shut down development environments when not in use And use AutoScaling policies for those that should run 24/7 • Each team defines its on/off schedules as tags set on their EC2 instances • Lambda functions take action based on these tags © 2018 HERE Technologies11 Shut down over the week-end Shut down in the evening Turn on in the morning This saves about 70%
  • 12. Spot Market Automation We automatically switch our AutoScaling Groups to spot instances using the AutoSpotting tool • Controlled by tags set on AutoScaling groups, such as ‘spot-enabled=true’ • Lambda function that continuously replaces nodes in enabled groups with identical spot instances • AutoScaling will revert to on-demand (often covered by RIs) on spot terminations or when scaling out © 2018 HERE Technologies12
  • 13. Lessons learned Keep it simple and painless to the product teams They always have something of higher priority than cost savings • Try to create ‘hands-free’, opt-out or trivial to use solutions • Provide examples and clear documentation if they need to take any action • Try not to cause significant impact on their work © 2018 HERE Technologies13
  • 14. Future Plans Extend the RI purchasing program • Purchase RIs for other services: RDS, ElastiCache, CloudFront, etc. Expand the AutoSpotting rollout • Switch it to opt-out mode on all Development AWS accounts • Work with selected product teams to set it up on Production © 2018 HERE Technologies14
  • 15. AutoSpotting Demo © 2018 HERE Technologies15

Editor's Notes

  1. In summary, we are HERE and we are making sense of the world through the lens of location We help people achieve better outcomes – whether it’s: A driver moving to their destination safely A municipality managing its infrastructure smartly A business optimizing its fleet of assets
  2. We are deeply driven by how we can improve the future. And that future has many opportunities and challenges: By 2050 we will have close to 10 billion people on this planet At least 50 megacities (each with more than 10 million, some up to 40 million, inhabitants) ”Virtual roads” are needed so that drones can glide through the system Questions on how best sustain our resources “Aging population”. Machines will have to teach machines. Robotics will rise What technology to make sense of the enormous amounts of data that we collect every day? One thing is certain: Location is very important for tackling these problems
  3. Over the next few slides I’ll talk about how we are using AWS at HERE Technologies
  4. We have a significant footprint on AWS, maintained by our hundreds of product teams Each product team maintains its own AWS accounts (usually one for dev and another for prod.) We have a few teams that ensure compliance throughout the fleet (security, availability, cost control etc.) But ultimately each team is responsible for its own infrastructure, budget, priorities and can choose the AWS services it needs
  5. At our scale we spend a lot of money on AWS I can’t give exact numbers but the figure is in the millions monthly Even small percentages of cost reductions here and there can make a significant difference We often see that a few hours of optimization work could cover someone’s salary
  6. We implemented a number of measures over the years, I will go over them over the next slides We prefer to implement them centrally and make them available to the teams with minimal effort, sometimes the teams can just take advantage of them, but for some they need to take some action and configure them on their infrastructure.
  7. Basically our sourcing team contacted AWS and agreed on some discount if we keep paying as much as we do over the next few years Requires no work from the product teams
  8. We are continuously analyzing our usage and trying to cover as much as possible of the stable capacity We use AWS Organizations and we can purchase RIs in one account of the smallest instance types . They can apply for any product team that and are automatically merged to cover larger instance types Usually allocated to Production environments where the baseline capacity tends to be relatively steady In the diagram you can see how much coverage we got to one of our production environments over a period of two weeks
  9. That’s how a typical developer calendar looks like, not much happens before 9AM and after 6 PM Development environments see no traffic at night or over the week-end We can save some 70% of the total cost if we hibernate or shut them down when idle For AutoScaling you can also set time-based policies For EC2 we use a tool called CloudCustodian
  10. We use an open source project which I started in my spare time a couple of years ago, called AutoSpotting We have it installed in each of our accounts since June, the product teams just need to use it by tagging their ASGs That’s how it looked after enabling it in one of our Production environments, we also benefit from the RI coverage
  11. We noticed the adoption rate of the instance scheduling and AutSpotting is very low, even though it just takes minutes to set them up. So we will need to find ways to make them ‘hands-free’ or run them by default.
  12. AutoSpotting supports running in opt-out mode, in which it can perform the replacement action on all the groups from the AWS account, unless blacklisted by tagging or protected from termination/scale-in.