SlideShare a Scribd company logo
1 of 26
Cost Optimisation on AWS
ianmas@amazon.com
@IanMmmm
Ian Massingham — Technical Evangelist
LOWER COSTS WITH THE AWS CLOUD
2 31 4
Replace up-front
capital expense with
low variable cost
Save more money as
you grow bigger
Economies of scale
allow AWS to
continually lower costs
Pricing model choice
to support variable &
stable workloads
LOWER COSTS THAN ON-PREMISES
On-Premises
Traditional
Data Centre
On-Premises
Virtualised
Data Centre
AWS
CAPEX
CAPEX
OPEX
OPEX
OPEX
Cost savings from running
internal IT more efficiently
Cost savings from moving
to a cloud provider
AWS Scale
• Multiple new data centres built each year
• Volume purchasing, highly automated
supply chain optimisation
Utilisation fundamentally higher in the AWS
Cloud
• Aggregating non-correlated workloads,
scale, spot market
Amazon specific hardware designs
• OEM acquisition of custom servers and
networking equipment
• Direct purchasing of memory, disk & CPU
• AWS controlled hypervisor and network
protocol layers
AWS PRICING PHILOSOPHY
More AWS
Usage
More
Infrastructure
More
Customers
Lower
Infrastructure
Costs
Economies of
Scale
Reduced Prices
Ecosystem
Global Footprint
New Features
New Services
Infrastructure
Innovation
62PRICE
REDUCTIONS
We pass the savings along to our
customers in the form of low
prices and continuous reductions
£1.2M annual savings
By using Amazon Redshift, FT is
supporting the same business
functions with costs that are 80
percent lower than before.
Headcount has not increased,
and queries run much faster.
Reduced costs to operate the
systems supporting UK MoT
Testing by £100M over 10-
years
COST OPTIMISATION TIPS & TRICKS
1. CHOSE THE RIGHT INSTANCE TYPES
Choose an instance 

that best meets your basic
requirements
Start with memory & then
choose closest virtual cores
Assess peak IOPS storage
requirements
Run multiple instances 

in multiple Availability Zones
Change instance size up
or down based upon
monitoring
Use CloudWatch &
Trusted Advisor to assess
START DEPLOY & SCALETUNE
2. USE AUTO SCALING
LAUNCH
CONFIGURATION
Describes what Auto Scaling
will create when adding
Instances
Only one active launch
configuration at a time
as-create-launch-config
--image-id ami-54cf5c3d
--instance-type m4.medium
--key mykey
--group webservers
--launch-config 101-launch-config
AUTO SCALING GROUP
Auto Scaling managed grouping
of EC2 instances
Automatically scale the number
of instances by policy
as-create-auto-scaling-group 101-as-group
--availability-zones us-east-1a us-east-1b
--launch-configuration 101-launch-config
--load-balancers myELB
--max-size 5
--min-size 1
AUTO SCALING
POLICY
Parameters for performing an Auto
Scaling action
Scale Up/Down and by how much
as-put-scaling-policy 101ScaleUpPolicy
--auto-scaling-group 101-as-group
--adjustment=1
--type ChangeInCapacity
--cooldown 300
00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00
UTILISATION & AUTO SCALING GRANULARITY
00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00
UTILISATION & AUTO SCALING GRANULARITY
41 Instance Hours
m4.large @ $0.108/hr
= $4.428/day
00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00
UTILISATION & AUTO SCALING GRANULARITY
70 Instance Hours
t2.medium @ $0.047/hr
= $3.29/day
~26%SAVING
00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00
UTILISATION & AUTO SCALING GRANULARITY
70 Instance Hours
t2.small @ $0.023/hr
= $1.61/day
~63%SAVING
3. TURN OFF UNUSED INSTANCES
Development/test instances
Simple instance stop/start
Tear down & build rapidly
Treat resources as disposable
Deployment & Management
Containers
Dev/ops Tools
Resource
Templates
Usage
Tracking
Monitoring
and Logs
00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00
4. USE RESERVED INSTANCES
100%
75%
58%
38%
13%
8%
On Demand Instance
Reserved Instance
RI PRICING | T2.SMALL IN EUROPE (LONDON)
AWS SERVICES OFFERING RESERVATIONS
Amazon EC2
up to 75% savings
Amazon RDS
up to 76% savings
Amazon DynamoDB
up to 76% savings
Amazon Redshift
up to 73% savings
Amazon ElastiCache
up to 70% savings
5. USE SPOT INSTANCES
Pricing
Up to 92% discount
Elastic
Capacity not otherwise
available
Tradeoff
Potential for interruption
6. MAKE USE OF APPROPRIATE STORAGE CLASSES
AWS Cloud
Amazon
Glacier
Gateway Appliance/
AWS Storage Gateway
Amazon
S3
Block File
On-premises Data Center
Archive Backup Disaster
Recovery
Amazon
EBS
Amazon S3 Standard - Infrequent Access
• Same durability as S3 Standard
• Up to 45.4% savings
• $0.01 per GB retrieval fee
Amazon Glacier
• Same durability as S3
• 3 to 5 hours restore time
• Up to 81.3% savings
• Great for archiving, long-term backups
and cold or old data
7. OFFLOAD FROM YOUR ARCHITECTURE
The more you can offload, the less infrastructure you need to maintain, scale and pay for
• Offload traffic to Amazon CloudFront and S3
• Introduce Caching
No
CDN
ResponseTime
InstanceLoad
ResponseTime
InstanceLoad
CDN for
Static
Content
ResponseTime
Instance
Load
CDN for
Static &
Dynamic
Content
8. USE SERVICES, DON’T REINVENT THE WHEEL
HYBRID
ARCHITECTURE
Data Backups
Integrated App
Deployments
Direct
Connect
Identity
Federation
Integrated Resource
Management
Integrated Networking
VMware Integration
MARKETPLACE
Business Apps DatabasesDevOps Tools NetworkingSecurity StorageBusiness Intelligence
INFRASTRUCTURE
Availability
Zones
Points of
Presence
Regions
CORE SERVICES
Compute
VMs, Auto-scaling, Load Balancing, Containers, Cloud
functions
Storage
Object, Blocks, File, Archivals, Import/
Export
Databases
Relational, NoSQL, Caching,
Migration
CDN Networking
VPC, DX, DNS
Access ControlIdentity Management Key Management & Storage
Monitoring
& Logs
SECURITY & COMPLIANCE
Resource & Usage AuditingConfiguration Compliance Web application firewall Assessment and reporting
TECHNICAL & BUSINESS SUPPORT
Support Professional Services Account ManagementPartner Ecosystem Solutions ArchitectsTraining & Certification
Security & Billing
Reports
Optimization Guidance
ENTERPRISE APPS
Backup
Corporate Email
Sharing &
Collaboration
Virtual Desktops
IoT
Rules Engine
Registry
Device Shadows
Device Gateway
Device SDKs
DEVOPSMOBILE SERVICESAPP SERVICESANALYTICS
Data
Warehousing
Hadoop/Spark
Streaming Data
Collection
Machine Learning
Elastic Search
Push
Notifications
Identity
Sync
Resource Templates
One-click App Deployment
Triggers
Containers
DevOps Resource
Management
Application Lifecycle
Management
API Gateway
Transcoding
Queuing &
Notifications
Email
Workflow
Search
Streaming Data
Analysis
Business Intelligence
Mobile
Analytics
Single Integrated Console
Mobile App Testing
Data Pipelines
Petabyte-Scale Data
Migration
Database Migration
Schema Conversion
Application Migration
MIGRATION
AVOID UNDIFFERENTIATED HEAVY LIFTING
Amazon Relational
Database Service (RDS)
Elastic Load Balancing Amazon Simple
Queue Service (SQS)
Amazon ElastiCache Amazon Elastic
MapReduce
Amazon Simple
Notification Service (SNS)
9. USE CONSOLIDATED BILLING
• Receive a single bill for all charges incurred across all linked accounts
• Share RI discounts
• Combine tiering benefits
10. TAKE ADVANTAGE OF AWS TOOLS
AWS Trusted Advisor AWS EC2 Usage ReportsAWS Cost Explorer
Follow
us for m
ore
events &
w
ebinars
@AWScloud for Global AWS News & Announcements
@AWS_UKI for local AWS events & news
@IanMmmm
Ian Massingham — Technical Evangelist

More Related Content

What's hot

Moving your Desktops to the Cloud with Amazon WorkSpaces
Moving your Desktops to the Cloud with Amazon WorkSpacesMoving your Desktops to the Cloud with Amazon WorkSpaces
Moving your Desktops to the Cloud with Amazon WorkSpacesAmazon Web Services
 
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016Amazon Web Services
 
Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...
Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...
Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...Amazon Web Services
 
How Western Union Implemented Security Measures at Scale on AWS with Dome9
 How Western Union Implemented Security Measures at Scale on AWS with Dome9  How Western Union Implemented Security Measures at Scale on AWS with Dome9
How Western Union Implemented Security Measures at Scale on AWS with Dome9 Amazon Web Services
 
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksIntroducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksAmazon Web Services
 
Introduction to Amazon Lightsail
Introduction to Amazon Lightsail Introduction to Amazon Lightsail
Introduction to Amazon Lightsail Amazon Web Services
 
Amazon EC2 Instances, Featuring Performance Optimisation Best Practices
Amazon EC2 Instances, Featuring Performance Optimisation Best PracticesAmazon EC2 Instances, Featuring Performance Optimisation Best Practices
Amazon EC2 Instances, Featuring Performance Optimisation Best PracticesAmazon Web Services
 
AWSome Day 2016 - Module 5: AWS Elasticity and Management Tools
AWSome Day 2016 - Module 5: AWS Elasticity and Management ToolsAWSome Day 2016 - Module 5: AWS Elasticity and Management Tools
AWSome Day 2016 - Module 5: AWS Elasticity and Management ToolsAmazon Web Services
 
Amazon EC2 and Amazon VPC Hands-on Workshop
Amazon EC2 and Amazon VPC Hands-on WorkshopAmazon EC2 and Amazon VPC Hands-on Workshop
Amazon EC2 and Amazon VPC Hands-on WorkshopAmazon Web Services
 
Building a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage ServicesBuilding a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage ServicesAmazon Web Services
 
Modernize and Move your Microsoft Applications on AWS
Modernize and Move your Microsoft Applications on AWSModernize and Move your Microsoft Applications on AWS
Modernize and Move your Microsoft Applications on AWSAmazon Web Services
 
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
 Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
Getting Started with the Hybrid Cloud: Enterprise Backup and RecoveryAmazon Web Services
 
Automate the Provisioning of Secure Developer Environments on AWS PPT
 Automate the Provisioning of Secure Developer Environments on AWS PPT Automate the Provisioning of Secure Developer Environments on AWS PPT
Automate the Provisioning of Secure Developer Environments on AWS PPTAmazon Web Services
 
Artificial Intelligence on the AWS Cloud - AWS Innovate Ottawa
Artificial Intelligence on the AWS Cloud - AWS Innovate OttawaArtificial Intelligence on the AWS Cloud - AWS Innovate Ottawa
Artificial Intelligence on the AWS Cloud - AWS Innovate OttawaAmazon Web Services
 

What's hot (20)

Oracle on AWS
Oracle on AWSOracle on AWS
Oracle on AWS
 
Moving your Desktops to the Cloud with Amazon WorkSpaces
Moving your Desktops to the Cloud with Amazon WorkSpacesMoving your Desktops to the Cloud with Amazon WorkSpaces
Moving your Desktops to the Cloud with Amazon WorkSpaces
 
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016
 
Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...
Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...
Module 2: AWS Infrastructure – Compute, Storage and Networking - AWSome Day O...
 
Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310 Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310
 
How Western Union Implemented Security Measures at Scale on AWS with Dome9
 How Western Union Implemented Security Measures at Scale on AWS with Dome9  How Western Union Implemented Security Measures at Scale on AWS with Dome9
How Western Union Implemented Security Measures at Scale on AWS with Dome9
 
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksIntroducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
 
Introduction to Amazon Lightsail
Introduction to Amazon Lightsail Introduction to Amazon Lightsail
Introduction to Amazon Lightsail
 
Amazon EC2 Instances, Featuring Performance Optimisation Best Practices
Amazon EC2 Instances, Featuring Performance Optimisation Best PracticesAmazon EC2 Instances, Featuring Performance Optimisation Best Practices
Amazon EC2 Instances, Featuring Performance Optimisation Best Practices
 
AWSome Day 2016 - Module 5: AWS Elasticity and Management Tools
AWSome Day 2016 - Module 5: AWS Elasticity and Management ToolsAWSome Day 2016 - Module 5: AWS Elasticity and Management Tools
AWSome Day 2016 - Module 5: AWS Elasticity and Management Tools
 
AWSome Day Digital LATAM
AWSome Day Digital LATAMAWSome Day Digital LATAM
AWSome Day Digital LATAM
 
Amazon EC2 and Amazon VPC Hands-on Workshop
Amazon EC2 and Amazon VPC Hands-on WorkshopAmazon EC2 and Amazon VPC Hands-on Workshop
Amazon EC2 and Amazon VPC Hands-on Workshop
 
AWS 101
AWS 101AWS 101
AWS 101
 
Building a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage ServicesBuilding a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage Services
 
Modernize and Move your Microsoft Applications on AWS
Modernize and Move your Microsoft Applications on AWSModernize and Move your Microsoft Applications on AWS
Modernize and Move your Microsoft Applications on AWS
 
AWS re:Invent Recap
AWS re:Invent RecapAWS re:Invent Recap
AWS re:Invent Recap
 
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
 Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
 
Automate the Provisioning of Secure Developer Environments on AWS PPT
 Automate the Provisioning of Secure Developer Environments on AWS PPT Automate the Provisioning of Secure Developer Environments on AWS PPT
Automate the Provisioning of Secure Developer Environments on AWS PPT
 
AWS 101 - Tel Aviv Summit 2018
AWS 101 - Tel Aviv Summit 2018AWS 101 - Tel Aviv Summit 2018
AWS 101 - Tel Aviv Summit 2018
 
Artificial Intelligence on the AWS Cloud - AWS Innovate Ottawa
Artificial Intelligence on the AWS Cloud - AWS Innovate OttawaArtificial Intelligence on the AWS Cloud - AWS Innovate Ottawa
Artificial Intelligence on the AWS Cloud - AWS Innovate Ottawa
 

Similar to Cost Optimisation on AWS

Cost Optimisation with AWS
Cost Optimisation with AWSCost Optimisation with AWS
Cost Optimisation with AWSIan Massingham
 
KeepingYourInfraCostsLow_SFStartupDay
KeepingYourInfraCostsLow_SFStartupDayKeepingYourInfraCostsLow_SFStartupDay
KeepingYourInfraCostsLow_SFStartupDayAmazon Web Services
 
AWS STARTUP DAY 2018 I Keeping Your Infrastructure Costs Low
AWS STARTUP DAY 2018 I Keeping Your Infrastructure Costs LowAWS STARTUP DAY 2018 I Keeping Your Infrastructure Costs Low
AWS STARTUP DAY 2018 I Keeping Your Infrastructure Costs LowAWS Germany
 
AWS18_StartupDayToronto_KeepingYourInfraCostsLow
AWS18_StartupDayToronto_KeepingYourInfraCostsLowAWS18_StartupDayToronto_KeepingYourInfraCostsLow
AWS18_StartupDayToronto_KeepingYourInfraCostsLowAmazon Web Services
 
Keeping Your Infrastructure Costs Low - AWS Startup Day Boston 2018.pdf
Keeping Your Infrastructure Costs Low - AWS Startup Day Boston 2018.pdfKeeping Your Infrastructure Costs Low - AWS Startup Day Boston 2018.pdf
Keeping Your Infrastructure Costs Low - AWS Startup Day Boston 2018.pdfAmazon Web Services
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWSIan Massingham
 
Keep Your Infrastructure Costs Low: AWS Startup Day - New York 2018
Keep Your Infrastructure Costs Low: AWS Startup Day - New York 2018Keep Your Infrastructure Costs Low: AWS Startup Day - New York 2018
Keep Your Infrastructure Costs Low: AWS Startup Day - New York 2018Amazon Web Services
 
Optimising TCO with AWS at Websummit Dublin
Optimising TCO with AWS at Websummit DublinOptimising TCO with AWS at Websummit Dublin
Optimising TCO with AWS at Websummit DublinAmazon Web Services
 
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...Amazon Web Services
 
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일Amazon Web Services Korea
 
Improve your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud SpendImprove your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud SpendAmazon Web Services
 
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your Business
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your BusinessAWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your Business
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your BusinessAmazon Web Services
 
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)Amazon Web Services
 
Why Scale Matters and How the Cloud Really is Different
Why Scale Matters and How the Cloud Really is Different Why Scale Matters and How the Cloud Really is Different
Why Scale Matters and How the Cloud Really is Different Amazon Web Services
 
Overview of AWS Services for Data Storage and Migration - SRV205 - Anaheim AW...
Overview of AWS Services for Data Storage and Migration - SRV205 - Anaheim AW...Overview of AWS Services for Data Storage and Migration - SRV205 - Anaheim AW...
Overview of AWS Services for Data Storage and Migration - SRV205 - Anaheim AW...Amazon Web Services
 
Journey Through the AWS Cloud: Cost Optimisation
Journey Through the AWS Cloud: Cost OptimisationJourney Through the AWS Cloud: Cost Optimisation
Journey Through the AWS Cloud: Cost OptimisationAmazon Web Services
 

Similar to Cost Optimisation on AWS (20)

Cost Optimisation
Cost OptimisationCost Optimisation
Cost Optimisation
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
Cost Optimisation with AWS
Cost Optimisation with AWSCost Optimisation with AWS
Cost Optimisation with AWS
 
KeepingYourInfraCostsLow_SFStartupDay
KeepingYourInfraCostsLow_SFStartupDayKeepingYourInfraCostsLow_SFStartupDay
KeepingYourInfraCostsLow_SFStartupDay
 
AWS STARTUP DAY 2018 I Keeping Your Infrastructure Costs Low
AWS STARTUP DAY 2018 I Keeping Your Infrastructure Costs LowAWS STARTUP DAY 2018 I Keeping Your Infrastructure Costs Low
AWS STARTUP DAY 2018 I Keeping Your Infrastructure Costs Low
 
Cost Optimization on AWS
Cost Optimization on AWSCost Optimization on AWS
Cost Optimization on AWS
 
AWS18_StartupDayToronto_KeepingYourInfraCostsLow
AWS18_StartupDayToronto_KeepingYourInfraCostsLowAWS18_StartupDayToronto_KeepingYourInfraCostsLow
AWS18_StartupDayToronto_KeepingYourInfraCostsLow
 
Keeping Your Infrastructure Costs Low - AWS Startup Day Boston 2018.pdf
Keeping Your Infrastructure Costs Low - AWS Startup Day Boston 2018.pdfKeeping Your Infrastructure Costs Low - AWS Startup Day Boston 2018.pdf
Keeping Your Infrastructure Costs Low - AWS Startup Day Boston 2018.pdf
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
Keep Your Infrastructure Costs Low: AWS Startup Day - New York 2018
Keep Your Infrastructure Costs Low: AWS Startup Day - New York 2018Keep Your Infrastructure Costs Low: AWS Startup Day - New York 2018
Keep Your Infrastructure Costs Low: AWS Startup Day - New York 2018
 
Optimising TCO with AWS at Websummit Dublin
Optimising TCO with AWS at Websummit DublinOptimising TCO with AWS at Websummit Dublin
Optimising TCO with AWS at Websummit Dublin
 
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...
 
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
 
Improve your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud SpendImprove your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud Spend
 
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your Business
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your BusinessAWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your Business
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your Business
 
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
 
Why Scale Matters and How the Cloud Really is Different
Why Scale Matters and How the Cloud Really is Different Why Scale Matters and How the Cloud Really is Different
Why Scale Matters and How the Cloud Really is Different
 
Overview of AWS Services for Data Storage and Migration - SRV205 - Anaheim AW...
Overview of AWS Services for Data Storage and Migration - SRV205 - Anaheim AW...Overview of AWS Services for Data Storage and Migration - SRV205 - Anaheim AW...
Overview of AWS Services for Data Storage and Migration - SRV205 - Anaheim AW...
 
Journey Through the AWS Cloud: Cost Optimisation
Journey Through the AWS Cloud: Cost OptimisationJourney Through the AWS Cloud: Cost Optimisation
Journey Through the AWS Cloud: Cost Optimisation
 

More from 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
 

More from 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
 

Cost Optimisation on AWS

  • 1. Cost Optimisation on AWS ianmas@amazon.com @IanMmmm Ian Massingham — Technical Evangelist
  • 2. LOWER COSTS WITH THE AWS CLOUD 2 31 4 Replace up-front capital expense with low variable cost Save more money as you grow bigger Economies of scale allow AWS to continually lower costs Pricing model choice to support variable & stable workloads
  • 3. LOWER COSTS THAN ON-PREMISES On-Premises Traditional Data Centre On-Premises Virtualised Data Centre AWS CAPEX CAPEX OPEX OPEX OPEX Cost savings from running internal IT more efficiently Cost savings from moving to a cloud provider AWS Scale • Multiple new data centres built each year • Volume purchasing, highly automated supply chain optimisation Utilisation fundamentally higher in the AWS Cloud • Aggregating non-correlated workloads, scale, spot market Amazon specific hardware designs • OEM acquisition of custom servers and networking equipment • Direct purchasing of memory, disk & CPU • AWS controlled hypervisor and network protocol layers
  • 4. AWS PRICING PHILOSOPHY More AWS Usage More Infrastructure More Customers Lower Infrastructure Costs Economies of Scale Reduced Prices Ecosystem Global Footprint New Features New Services Infrastructure Innovation 62PRICE REDUCTIONS We pass the savings along to our customers in the form of low prices and continuous reductions
  • 6. By using Amazon Redshift, FT is supporting the same business functions with costs that are 80 percent lower than before. Headcount has not increased, and queries run much faster.
  • 7. Reduced costs to operate the systems supporting UK MoT Testing by £100M over 10- years
  • 9. 1. CHOSE THE RIGHT INSTANCE TYPES Choose an instance 
 that best meets your basic requirements Start with memory & then choose closest virtual cores Assess peak IOPS storage requirements Run multiple instances 
 in multiple Availability Zones Change instance size up or down based upon monitoring Use CloudWatch & Trusted Advisor to assess START DEPLOY & SCALETUNE
  • 10. 2. USE AUTO SCALING LAUNCH CONFIGURATION Describes what Auto Scaling will create when adding Instances Only one active launch configuration at a time as-create-launch-config --image-id ami-54cf5c3d --instance-type m4.medium --key mykey --group webservers --launch-config 101-launch-config AUTO SCALING GROUP Auto Scaling managed grouping of EC2 instances Automatically scale the number of instances by policy as-create-auto-scaling-group 101-as-group --availability-zones us-east-1a us-east-1b --launch-configuration 101-launch-config --load-balancers myELB --max-size 5 --min-size 1 AUTO SCALING POLICY Parameters for performing an Auto Scaling action Scale Up/Down and by how much as-put-scaling-policy 101ScaleUpPolicy --auto-scaling-group 101-as-group --adjustment=1 --type ChangeInCapacity --cooldown 300
  • 11. 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00 UTILISATION & AUTO SCALING GRANULARITY
  • 12. 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00 UTILISATION & AUTO SCALING GRANULARITY 41 Instance Hours m4.large @ $0.108/hr = $4.428/day
  • 13. 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00 UTILISATION & AUTO SCALING GRANULARITY 70 Instance Hours t2.medium @ $0.047/hr = $3.29/day ~26%SAVING
  • 14. 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00 UTILISATION & AUTO SCALING GRANULARITY 70 Instance Hours t2.small @ $0.023/hr = $1.61/day ~63%SAVING
  • 15. 3. TURN OFF UNUSED INSTANCES Development/test instances Simple instance stop/start Tear down & build rapidly Treat resources as disposable Deployment & Management Containers Dev/ops Tools Resource Templates Usage Tracking Monitoring and Logs
  • 16. 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00 4. USE RESERVED INSTANCES 100% 75% 58% 38% 13% 8% On Demand Instance Reserved Instance
  • 17. RI PRICING | T2.SMALL IN EUROPE (LONDON)
  • 18. AWS SERVICES OFFERING RESERVATIONS Amazon EC2 up to 75% savings Amazon RDS up to 76% savings Amazon DynamoDB up to 76% savings Amazon Redshift up to 73% savings Amazon ElastiCache up to 70% savings
  • 19. 5. USE SPOT INSTANCES Pricing Up to 92% discount Elastic Capacity not otherwise available Tradeoff Potential for interruption
  • 20. 6. MAKE USE OF APPROPRIATE STORAGE CLASSES AWS Cloud Amazon Glacier Gateway Appliance/ AWS Storage Gateway Amazon S3 Block File On-premises Data Center Archive Backup Disaster Recovery Amazon EBS Amazon S3 Standard - Infrequent Access • Same durability as S3 Standard • Up to 45.4% savings • $0.01 per GB retrieval fee Amazon Glacier • Same durability as S3 • 3 to 5 hours restore time • Up to 81.3% savings • Great for archiving, long-term backups and cold or old data
  • 21. 7. OFFLOAD FROM YOUR ARCHITECTURE The more you can offload, the less infrastructure you need to maintain, scale and pay for • Offload traffic to Amazon CloudFront and S3 • Introduce Caching No CDN ResponseTime InstanceLoad ResponseTime InstanceLoad CDN for Static Content ResponseTime Instance Load CDN for Static & Dynamic Content
  • 22. 8. USE SERVICES, DON’T REINVENT THE WHEEL HYBRID ARCHITECTURE Data Backups Integrated App Deployments Direct Connect Identity Federation Integrated Resource Management Integrated Networking VMware Integration MARKETPLACE Business Apps DatabasesDevOps Tools NetworkingSecurity StorageBusiness Intelligence INFRASTRUCTURE Availability Zones Points of Presence Regions CORE SERVICES Compute VMs, Auto-scaling, Load Balancing, Containers, Cloud functions Storage Object, Blocks, File, Archivals, Import/ Export Databases Relational, NoSQL, Caching, Migration CDN Networking VPC, DX, DNS Access ControlIdentity Management Key Management & Storage Monitoring & Logs SECURITY & COMPLIANCE Resource & Usage AuditingConfiguration Compliance Web application firewall Assessment and reporting TECHNICAL & BUSINESS SUPPORT Support Professional Services Account ManagementPartner Ecosystem Solutions ArchitectsTraining & Certification Security & Billing Reports Optimization Guidance ENTERPRISE APPS Backup Corporate Email Sharing & Collaboration Virtual Desktops IoT Rules Engine Registry Device Shadows Device Gateway Device SDKs DEVOPSMOBILE SERVICESAPP SERVICESANALYTICS Data Warehousing Hadoop/Spark Streaming Data Collection Machine Learning Elastic Search Push Notifications Identity Sync Resource Templates One-click App Deployment Triggers Containers DevOps Resource Management Application Lifecycle Management API Gateway Transcoding Queuing & Notifications Email Workflow Search Streaming Data Analysis Business Intelligence Mobile Analytics Single Integrated Console Mobile App Testing Data Pipelines Petabyte-Scale Data Migration Database Migration Schema Conversion Application Migration MIGRATION
  • 23. AVOID UNDIFFERENTIATED HEAVY LIFTING Amazon Relational Database Service (RDS) Elastic Load Balancing Amazon Simple Queue Service (SQS) Amazon ElastiCache Amazon Elastic MapReduce Amazon Simple Notification Service (SNS)
  • 24. 9. USE CONSOLIDATED BILLING • Receive a single bill for all charges incurred across all linked accounts • Share RI discounts • Combine tiering benefits
  • 25. 10. TAKE ADVANTAGE OF AWS TOOLS AWS Trusted Advisor AWS EC2 Usage ReportsAWS Cost Explorer
  • 26. Follow us for m ore events & w ebinars @AWScloud for Global AWS News & Announcements @AWS_UKI for local AWS events & news @IanMmmm Ian Massingham — Technical Evangelist