SlideShare a Scribd company logo
1 of 40
I N T E L L I G E N T C L O U D O R C H E S T R A T I O N
© 2018 Xosphere, Inc.
Bring Your Cloud Bill Back
Down to Earth
Presented by Alan Hand
Founder and CEO of Xosphere
August 29, 2018
We live in a
cloudy world.
Are your cloud costs
soaring too high?
BRING YOUR CLOUD BILL BACK DOWN TO EARTH2
BRING YOUR CLOUD BILL BACK DOWN TO EARTH3
Where are we spending?
70 %
20 %
10 %
Compute (EC2) Storage (S3 and EBS) Everything Else
BRING YOUR CLOUD BILL BACK DOWN TO EARTH4
Cost Savings Tip #1
Buy Reserved
BRING YOUR CLOUD BILL BACK DOWN TO EARTH5
EC2 Purchasing Options
On-Demand
Reserved
Spot
Dedicated Hosts
BRING YOUR CLOUD BILL BACK DOWN TO EARTH6
Reserved Instances
Benefits: capacity reservation and discount
Types: standard, convertible, or scheduled
Term: 1-year or 3-years
Payment Options: All up-front, partial up-front, or no up-front
Attribute Matching: instance type, platform, tenancy, and AZ
BRING YOUR CLOUD BILL BACK DOWN TO EARTH7
RI Best Practices
Target 70-80% of On-Demand usage to be Reserved
Buy in batches (2 to 4 per year)
Partial up-front is a good combination of savings and cash flow
Not just for EC2 – reserve other services like RDS, RedShift,
DynamoDB, ElastiCache, Elastic MapReduce, and CloudFront
Upload AWS Cost and Usage report to RedShift
Determine your Spot strategy before committing to Reserved
BRING YOUR CLOUD BILL BACK DOWN TO EARTH8
Cost Savings Tip #2
Turn Sh*t Off
(and delete it)
BRING YOUR CLOUD BILL BACK DOWN TO EARTH9
Elastic IP Addresses
aws ec2 describe-addresses --query
'Addresses[?InstanceId==null]' --output text
Look for Elastic IP addresses that are not bound to any instances:
And release them:
aws ec2 describe-addresses --query
'Addresses[?InstanceId==null]' --output text |
awk '{print $1}' |
while read id;
do aws ec2 release-address --allocation-id $id;
done
BRING YOUR CLOUD BILL BACK DOWN TO EARTH10
Load Balancers
for i in `aws elb describe-load-balancers|sed -ne
's/"LoadBalancerName": "(.*)",/1/gp'`; do echo -n "$i ";
aws elb describe-load-balancers --load-balancer-name $i|grep
-c InstanceId;done | awk '{if ($2 == 0) {print $1}}'
Look for ELBs that have no attached instances
And delete them!
for i in `aws elb describe-load-balancers|sed -ne
's/"LoadBalancerName": "(.*)",/1/gp'`; do echo -n "$i ";
aws elb describe-load-balancers --load-balancer-name $i|grep
-c InstanceId;done | awk '{if ($2 == 0) {print $1}}' |
while read lb;
do aws elb delete-load-balancer --load-balancer-name $lb;
done
BRING YOUR CLOUD BILL BACK DOWN TO EARTH11
EBS Volumes
aws ec2 describe-volumes --filters
Name=status,Values=available --query
Volumes[*].VolumeId --output text
Look for orphaned EBS volumes:
Check to make sure they aren’t needed.
aws elb delete-load-balancer --load-balancer-name
$lb
Now, double check.
Now, triple check.
Delete each one:
BRING YOUR CLOUD BILL BACK DOWN TO EARTH12
EBS Snapshots
Use Amazon Data Lifecycle Manager (DLM) to automate
creation, retention, and deletion of EBS volume snapshots
aws dlm create-default-role
Create default DLM Role:
Create a DLM Policy:
aws dlm create-lifecycle-policy --description "My
first policy" --state ENABLED --execution-role-arn
arn:aws:iam::12345678910:role/AWSDataLifecycleManage
rDefaultRole --policy-details
file://policyDetails.json
BRING YOUR CLOUD BILL BACK DOWN TO EARTH13
DLM Policy Example
{
"ResourceTypes": [
"VOLUME"
],
"TargetTags": [
{
"Key": "costcenter",
"Value": "115"
}
],
"Schedules":[
{
"Name": "DailySnapshots",
"TagsToAdd": [
{
"Key": "type",
"Value": "myDailySnapshot"
}
],
"CreateRule": {
"Interval": 24,
"IntervalUnit": "HOURS",
"Times": [
"03:00"
]
},
"RetainRule": {
"Count":5
}
}
]
}
BRING YOUR CLOUD BILL BACK DOWN TO EARTH14
Trusted Advisor
Low utilization EC2 instances
Idle load balancers
Underutilized EBS volumes
Unassociated Elastic IP addresses
Idle RDS instances
Underutilized RedShift clusters
Route 53 latency resource record sets
BRING YOUR CLOUD BILL BACK DOWN TO EARTH15
Cost Savings Tip #3
Schedule
Usage
BRING YOUR CLOUD BILL BACK DOWN TO EARTH16
AWS Instance Scheduler
CloudFormation stack to control scheduling of resources
Works with EC2 and RDS
Configure Periods and Schedules using CLI, DynamoDB, or
CloudFormation
Apply tags to resources to schedule usage
BRING YOUR CLOUD BILL BACK DOWN TO EARTH17
Scheduler Architecture
BRING YOUR CLOUD BILL BACK DOWN TO EARTH18
Scheduler Installation
BRING YOUR CLOUD BILL BACK DOWN TO EARTH19
Cost Savings Tip #4
Minimize Data
Transfer
BRING YOUR CLOUD BILL BACK DOWN TO EARTH20
Data Transfer Optimization
Be careful with distributed systems like Cassandra, Kafka, etc.
Try to locate instances in the same AZ – big trade off
Use managed services like RDS, Aurora, etc. when possible
Use CloudFront as much as possible
Use S3 VPC Endpoint
BRING YOUR CLOUD BILL BACK DOWN TO EARTH21
Cost Savings Tip #5
Use Latest
Generation
BRING YOUR CLOUD BILL BACK DOWN TO EARTH22
Generation Cost Differences
$-
$0.050
$0.100
$0.150
$0.200
$0.250
$0.300
$0.350
$0.400
m1.xlarge m3.xlarge m4.xlarge m5.xlarge
BRING YOUR CLOUD BILL BACK DOWN TO EARTH23
Cost Savings Tip #6
Set Storage
Retention
Policies
BRING YOUR CLOUD BILL BACK DOWN TO EARTH24
S3 Storage Classes
Standard
Standard-Infrequent Access
One Zone-Infrequent Access
Glacier
BRING YOUR CLOUD BILL BACK DOWN TO EARTH25
Object Lifecycle Management
Transition actions move objects between storage classes
Expiration actions delete objects
Standard-Infrequent Access is great for log files
One Zone-Infrequent Access only for reproducible data
BRING YOUR CLOUD BILL BACK DOWN TO EARTH26
Lifecycle Configuration
<LifecycleConfiguration>
<Rule>
<ID>example-id</ID>
<Filter>
<Prefix>logs/</Prefix>
</Filter>
<Status>Enabled</Status>
<Transition>
<Days>30</Days>
<StorageClass>STANDARD_IA</StorageClass>
</Transition>
<Transition>
<Days>90</Days>
<StorageClass>GLACIER</StorageClass>
</Transition>
<Expiration>
<Days>365</Days>
</Expiration>
</Rule>
</LifecycleConfiguration>
BRING YOUR CLOUD BILL BACK DOWN TO EARTH27
Cost Savings Tip #7
Leverage
Autoscaling
BRING YOUR CLOUD BILL BACK DOWN TO EARTH28
Autoscaling Best Practices
Identify performance impacting metrics and monitor with
CloudWatch
Use cool down period
Ensure proper use of health checks
Use custom AMIs to speed up launch time
Use both event driven and scheduled autoscaling
Typical cost savings around 20-30%
BRING YOUR CLOUD BILL BACK DOWN TO EARTH29
Cost Savings Tip #8
Don’t Be Afraid
of Spot
BRING YOUR CLOUD BILL BACK DOWN TO EARTH30
What is a Spot?
Excess capacity offered at steep discounts
Market driven pricing
Can be interrupted with 2 minutes notification
Intended for fault tolerant applications
Pools defined by instance type, OS, and availability zone
BRING YOUR CLOUD BILL BACK DOWN TO EARTH31
Spot Use Cases
Machine learning
Big Data analytics
Video transcoding
CI/CD Systems (Jenkins Plugin)
BRING YOUR CLOUD BILL BACK DOWN TO EARTH32
Spot Best Practices
Diversify pools to increase availability
Set maximum bid to On-Demand price
Leverage Spot Fleet
Use Xosphere for apps with high availability requirements
BRING YOUR CLOUD BILL BACK DOWN TO EARTH33
Cost Savings Tip #9
Right-size
Instances
BRING YOUR CLOUD BILL BACK DOWN TO EARTH34
Right-size Solution
CloudFormation stack to analyze two weeks of utilization data
to provide right sizing recommendations
Must be run an individual accounts
Run no more frequently than every two weeks
Results output to CVS file in S3
BRING YOUR CLOUD BILL BACK DOWN TO EARTH35
Solution Architecture
BRING YOUR CLOUD BILL BACK DOWN TO EARTH36
Right-sizing Results
BRING YOUR CLOUD BILL BACK DOWN TO EARTH37
Cost Savings Tip #10
Explore
Containers
BRING YOUR CLOUD BILL BACK DOWN TO EARTH38
Why Containers?
Consistent environment, Run anywhere, Isolation
More efficient usage of hardware resources (typically 50%)
Easy to setup with EKS/ECS or other CaaS alternative
Spot friendly for additional savings when using Xosphere
Thank You
alan@xosphere.io 310.487.5851
BRING YOUR CLOUD BILL BACK DOWN TO EARTH39 © 2018 Xosphere, Inc.
BRING YOUR CLOUD BILL BACK DOWN TO EARTH
Xosphere Typical Savings
Without Xosphere With Xosphere
Reserved $19,696 $0
On-Demand $13,517 $4,505
Spot $0 $11,340
Xosphere License $0 $2,000
Total $33,213 $17,845
40
Scenario:
100 instances (50 m4.4xlarge, 30 c4.2xlarge, 20 r4.2xlarge) with 70% reserved for one year with no up-front
Monthly savings of $15,367 or 46%

More Related Content

What's hot

PAC 2019 virtual Stefano Doni
PAC 2019 virtual Stefano Doni   PAC 2019 virtual Stefano Doni
PAC 2019 virtual Stefano Doni Neotys
 
Presto @ Netflix: Interactive Queries at Petabyte Scale
Presto @ Netflix: Interactive Queries at Petabyte ScalePresto @ Netflix: Interactive Queries at Petabyte Scale
Presto @ Netflix: Interactive Queries at Petabyte ScaleDataWorks Summit
 
1Spatial: Edinburgh FME World Tour: Performance tips
1Spatial: Edinburgh FME World Tour: Performance tips1Spatial: Edinburgh FME World Tour: Performance tips
1Spatial: Edinburgh FME World Tour: Performance tips1Spatial
 
storage and content delivery in aws
storage and content delivery in awsstorage and content delivery in aws
storage and content delivery in awsRS_Keerthi
 
(ADV402) Beating the Speed of Light with Your Infrastructure in AWS | AWS re:...
(ADV402) Beating the Speed of Light with Your Infrastructure in AWS | AWS re:...(ADV402) Beating the Speed of Light with Your Infrastructure in AWS | AWS re:...
(ADV402) Beating the Speed of Light with Your Infrastructure in AWS | AWS re:...Amazon Web Services
 
Cost effective BigData Processing on Amazon EC2
Cost effective BigData Processing on Amazon EC2Cost effective BigData Processing on Amazon EC2
Cost effective BigData Processing on Amazon EC2Sujee Maniyam
 
Understanding AWS Storage Options
Understanding AWS Storage OptionsUnderstanding AWS Storage Options
Understanding AWS Storage OptionsAmazon Web Services
 
OSS Presentation OpenStack Swift by Joe Arnold
OSS Presentation OpenStack Swift by Joe ArnoldOSS Presentation OpenStack Swift by Joe Arnold
OSS Presentation OpenStack Swift by Joe ArnoldOpenStorageSummit
 
Getting Started with Amazon EMR
Getting Started with Amazon EMRGetting Started with Amazon EMR
Getting Started with Amazon EMRArman Iman
 
Take Flight - Using Fly with the Play Framework
Take Flight - Using Fly with the Play FrameworkTake Flight - Using Fly with the Play Framework
Take Flight - Using Fly with the Play FrameworkAsher Glynn
 
AWS Summit 2013 | Auckland - Big Data Analytics
AWS Summit 2013 | Auckland - Big Data AnalyticsAWS Summit 2013 | Auckland - Big Data Analytics
AWS Summit 2013 | Auckland - Big Data AnalyticsAmazon Web Services
 
Does your Infrastructure Zone Match Your Application Workload?
Does your Infrastructure Zone Match Your Application Workload?Does your Infrastructure Zone Match Your Application Workload?
Does your Infrastructure Zone Match Your Application Workload?Aaron Delp
 
ACUG 12 Clouds - Cloud Formation
ACUG 12 Clouds - Cloud FormationACUG 12 Clouds - Cloud Formation
ACUG 12 Clouds - Cloud Formationjoehack3r
 

What's hot (15)

PAC 2019 virtual Stefano Doni
PAC 2019 virtual Stefano Doni   PAC 2019 virtual Stefano Doni
PAC 2019 virtual Stefano Doni
 
Presto @ Netflix: Interactive Queries at Petabyte Scale
Presto @ Netflix: Interactive Queries at Petabyte ScalePresto @ Netflix: Interactive Queries at Petabyte Scale
Presto @ Netflix: Interactive Queries at Petabyte Scale
 
1Spatial: Edinburgh FME World Tour: Performance tips
1Spatial: Edinburgh FME World Tour: Performance tips1Spatial: Edinburgh FME World Tour: Performance tips
1Spatial: Edinburgh FME World Tour: Performance tips
 
storage and content delivery in aws
storage and content delivery in awsstorage and content delivery in aws
storage and content delivery in aws
 
(ADV402) Beating the Speed of Light with Your Infrastructure in AWS | AWS re:...
(ADV402) Beating the Speed of Light with Your Infrastructure in AWS | AWS re:...(ADV402) Beating the Speed of Light with Your Infrastructure in AWS | AWS re:...
(ADV402) Beating the Speed of Light with Your Infrastructure in AWS | AWS re:...
 
Cost effective BigData Processing on Amazon EC2
Cost effective BigData Processing on Amazon EC2Cost effective BigData Processing on Amazon EC2
Cost effective BigData Processing on Amazon EC2
 
Understanding AWS Storage Options
Understanding AWS Storage OptionsUnderstanding AWS Storage Options
Understanding AWS Storage Options
 
OSS Presentation OpenStack Swift by Joe Arnold
OSS Presentation OpenStack Swift by Joe ArnoldOSS Presentation OpenStack Swift by Joe Arnold
OSS Presentation OpenStack Swift by Joe Arnold
 
Spot at qubole
Spot at quboleSpot at qubole
Spot at qubole
 
Getting Started with Amazon EMR
Getting Started with Amazon EMRGetting Started with Amazon EMR
Getting Started with Amazon EMR
 
Take Flight - Using Fly with the Play Framework
Take Flight - Using Fly with the Play FrameworkTake Flight - Using Fly with the Play Framework
Take Flight - Using Fly with the Play Framework
 
AWS Summit 2013 | Auckland - Big Data Analytics
AWS Summit 2013 | Auckland - Big Data AnalyticsAWS Summit 2013 | Auckland - Big Data Analytics
AWS Summit 2013 | Auckland - Big Data Analytics
 
Does your Infrastructure Zone Match Your Application Workload?
Does your Infrastructure Zone Match Your Application Workload?Does your Infrastructure Zone Match Your Application Workload?
Does your Infrastructure Zone Match Your Application Workload?
 
ACUG 12 Clouds - Cloud Formation
ACUG 12 Clouds - Cloud FormationACUG 12 Clouds - Cloud Formation
ACUG 12 Clouds - Cloud Formation
 
Terraform
TerraformTerraform
Terraform
 

Similar to Bring Your Cloud Bill Back Down to Earth

AWS Cost Control
AWS Cost ControlAWS Cost Control
AWS Cost ControlBob Brown
 
Coding Apps in the Cloud to reduce costs up to 90% - September 2016 Webinar S...
Coding Apps in the Cloud to reduce costs up to 90% - September 2016 Webinar S...Coding Apps in the Cloud to reduce costs up to 90% - September 2016 Webinar S...
Coding Apps in the Cloud to reduce costs up to 90% - September 2016 Webinar S...Amazon Web Services
 
Cloud cost optimization (AWS, GCP)
Cloud cost optimization (AWS, GCP)Cloud cost optimization (AWS, GCP)
Cloud cost optimization (AWS, GCP)Szabolcs Zajdó
 
데이터 마이그레이션 AWS와 같이하기 - 김일호 솔루션즈 아키텍트:: AWS Cloud Track 3 Gaming
데이터 마이그레이션 AWS와 같이하기 - 김일호 솔루션즈 아키텍트:: AWS Cloud Track 3 Gaming데이터 마이그레이션 AWS와 같이하기 - 김일호 솔루션즈 아키텍트:: AWS Cloud Track 3 Gaming
데이터 마이그레이션 AWS와 같이하기 - 김일호 솔루션즈 아키텍트:: AWS Cloud Track 3 GamingAmazon Web Services Korea
 
AWS Cloud Kata | Taipei - Getting to Profitability
AWS Cloud Kata | Taipei - Getting to ProfitabilityAWS Cloud Kata | Taipei - Getting to Profitability
AWS Cloud Kata | Taipei - Getting to ProfitabilityAmazon Web Services
 
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivFinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivAmazon 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
 
Advanced Container Management and Scheduling - DevDay Los Angeles 2017
Advanced Container Management and Scheduling - DevDay Los Angeles 2017Advanced Container Management and Scheduling - DevDay Los Angeles 2017
Advanced Container Management and Scheduling - DevDay Los Angeles 2017Amazon Web Services
 
Introduction to EC2 (AWS)
Introduction to EC2 (AWS)Introduction to EC2 (AWS)
Introduction to EC2 (AWS)NodeXperts
 
AWS Cloud Kata | Manila - Getting to Profitability on AWS
AWS Cloud Kata | Manila - Getting to Profitability on AWSAWS Cloud Kata | Manila - Getting to Profitability on AWS
AWS Cloud Kata | Manila - Getting to Profitability on AWSAmazon Web Services
 
Getting Started with EC2 Spot - November 2016 Webinar Series
Getting Started with EC2 Spot - November 2016 Webinar SeriesGetting Started with EC2 Spot - November 2016 Webinar Series
Getting Started with EC2 Spot - November 2016 Webinar SeriesAmazon Web Services
 
비용을 절감하고 수익을 최대화할 수 있는 클라우드 컴퓨팅 운용 노하우
비용을 절감하고 수익을 최대화할 수 있는 클라우드 컴퓨팅 운용 노하우비용을 절감하고 수익을 최대화할 수 있는 클라우드 컴퓨팅 운용 노하우
비용을 절감하고 수익을 최대화할 수 있는 클라우드 컴퓨팅 운용 노하우Amazon Web Services Korea
 
2014 Import.io Data Summit - Including Hadoop/Impala Getting Started Demo
2014 Import.io Data Summit - Including Hadoop/Impala Getting Started Demo2014 Import.io Data Summit - Including Hadoop/Impala Getting Started Demo
2014 Import.io Data Summit - Including Hadoop/Impala Getting Started DemoIan Massingham
 
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCOAWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCOAmazon Web Services
 
This One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You ThousandsThis One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You ThousandsAmazon Web Services
 
AWS Cloud Kata | Kuala Lumpur - Getting to Profitability on AWS
AWS Cloud Kata | Kuala Lumpur - Getting to Profitability on AWSAWS Cloud Kata | Kuala Lumpur - Getting to Profitability on AWS
AWS Cloud Kata | Kuala Lumpur - Getting to Profitability on AWSAmazon Web Services
 
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul MaddoxAWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul MaddoxAWS Riyadh User Group
 
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일Amazon Web Services Korea
 
Let’s Make Your CFO Happy; A Practical Guide for Kafka Cost Reduction with El...
Let’s Make Your CFO Happy; A Practical Guide for Kafka Cost Reduction with El...Let’s Make Your CFO Happy; A Practical Guide for Kafka Cost Reduction with El...
Let’s Make Your CFO Happy; A Practical Guide for Kafka Cost Reduction with El...HostedbyConfluent
 

Similar to Bring Your Cloud Bill Back Down to Earth (20)

AWS Cost Control
AWS Cost ControlAWS Cost Control
AWS Cost Control
 
Coding Apps in the Cloud to reduce costs up to 90% - September 2016 Webinar S...
Coding Apps in the Cloud to reduce costs up to 90% - September 2016 Webinar S...Coding Apps in the Cloud to reduce costs up to 90% - September 2016 Webinar S...
Coding Apps in the Cloud to reduce costs up to 90% - September 2016 Webinar S...
 
Cloud cost optimization (AWS, GCP)
Cloud cost optimization (AWS, GCP)Cloud cost optimization (AWS, GCP)
Cloud cost optimization (AWS, GCP)
 
데이터 마이그레이션 AWS와 같이하기 - 김일호 솔루션즈 아키텍트:: AWS Cloud Track 3 Gaming
데이터 마이그레이션 AWS와 같이하기 - 김일호 솔루션즈 아키텍트:: AWS Cloud Track 3 Gaming데이터 마이그레이션 AWS와 같이하기 - 김일호 솔루션즈 아키텍트:: AWS Cloud Track 3 Gaming
데이터 마이그레이션 AWS와 같이하기 - 김일호 솔루션즈 아키텍트:: AWS Cloud Track 3 Gaming
 
AWS Cloud Kata | Taipei - Getting to Profitability
AWS Cloud Kata | Taipei - Getting to ProfitabilityAWS Cloud Kata | Taipei - Getting to Profitability
AWS Cloud Kata | Taipei - Getting to Profitability
 
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivFinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
 
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
 
Advanced Container Management and Scheduling - DevDay Los Angeles 2017
Advanced Container Management and Scheduling - DevDay Los Angeles 2017Advanced Container Management and Scheduling - DevDay Los Angeles 2017
Advanced Container Management and Scheduling - DevDay Los Angeles 2017
 
Introduction to EC2 (AWS)
Introduction to EC2 (AWS)Introduction to EC2 (AWS)
Introduction to EC2 (AWS)
 
應用開發新思維
應用開發新思維應用開發新思維
應用開發新思維
 
AWS Cloud Kata | Manila - Getting to Profitability on AWS
AWS Cloud Kata | Manila - Getting to Profitability on AWSAWS Cloud Kata | Manila - Getting to Profitability on AWS
AWS Cloud Kata | Manila - Getting to Profitability on AWS
 
Getting Started with EC2 Spot - November 2016 Webinar Series
Getting Started with EC2 Spot - November 2016 Webinar SeriesGetting Started with EC2 Spot - November 2016 Webinar Series
Getting Started with EC2 Spot - November 2016 Webinar Series
 
비용을 절감하고 수익을 최대화할 수 있는 클라우드 컴퓨팅 운용 노하우
비용을 절감하고 수익을 최대화할 수 있는 클라우드 컴퓨팅 운용 노하우비용을 절감하고 수익을 최대화할 수 있는 클라우드 컴퓨팅 운용 노하우
비용을 절감하고 수익을 최대화할 수 있는 클라우드 컴퓨팅 운용 노하우
 
2014 Import.io Data Summit - Including Hadoop/Impala Getting Started Demo
2014 Import.io Data Summit - Including Hadoop/Impala Getting Started Demo2014 Import.io Data Summit - Including Hadoop/Impala Getting Started Demo
2014 Import.io Data Summit - Including Hadoop/Impala Getting Started Demo
 
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCOAWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
 
This One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You ThousandsThis One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You Thousands
 
AWS Cloud Kata | Kuala Lumpur - Getting to Profitability on AWS
AWS Cloud Kata | Kuala Lumpur - Getting to Profitability on AWSAWS Cloud Kata | Kuala Lumpur - Getting to Profitability on AWS
AWS Cloud Kata | Kuala Lumpur - Getting to Profitability on AWS
 
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul MaddoxAWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
 
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
 
Let’s Make Your CFO Happy; A Practical Guide for Kafka Cost Reduction with El...
Let’s Make Your CFO Happy; A Practical Guide for Kafka Cost Reduction with El...Let’s Make Your CFO Happy; A Practical Guide for Kafka Cost Reduction with El...
Let’s Make Your CFO Happy; A Practical Guide for Kafka Cost Reduction with El...
 

Recently uploaded

如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证hfkmxufye
 
Sholinganallur (Chennai) Independent Escorts - 9632533318 100% genuine
Sholinganallur (Chennai) Independent Escorts - 9632533318 100% genuineSholinganallur (Chennai) Independent Escorts - 9632533318 100% genuine
Sholinganallur (Chennai) Independent Escorts - 9632533318 100% genuineruksarkahn825
 
一比一原版犹他大学毕业证如何办理
一比一原版犹他大学毕业证如何办理一比一原版犹他大学毕业证如何办理
一比一原版犹他大学毕业证如何办理F
 
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样AS
 
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理AS
 
A LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptx
A LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptxA LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptx
A LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptxthinamazinyo
 
APNIC Updates presented by Paul Wilson at CaribNOG 27
APNIC Updates presented by Paul Wilson at  CaribNOG 27APNIC Updates presented by Paul Wilson at  CaribNOG 27
APNIC Updates presented by Paul Wilson at CaribNOG 27APNIC
 
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...mikehavy0
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样ayvbos
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdfMatthew Sinclair
 
一比一原版(USYD毕业证书)悉尼大学毕业证原件一模一样
一比一原版(USYD毕业证书)悉尼大学毕业证原件一模一样一比一原版(USYD毕业证书)悉尼大学毕业证原件一模一样
一比一原版(USYD毕业证书)悉尼大学毕业证原件一模一样ayvbos
 
Down bad crying at the gym t shirtsDown bad crying at the gym t shirts
Down bad crying at the gym t shirtsDown bad crying at the gym t shirtsDown bad crying at the gym t shirtsDown bad crying at the gym t shirts
Down bad crying at the gym t shirtsDown bad crying at the gym t shirtsrahman018755
 
一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理A
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制pxcywzqs
 
一比一原版英国格林多大学毕业证如何办理
一比一原版英国格林多大学毕业证如何办理一比一原版英国格林多大学毕业证如何办理
一比一原版英国格林多大学毕业证如何办理AS
 
一比一原版贝德福特大学毕业证学位证书
一比一原版贝德福特大学毕业证学位证书一比一原版贝德福特大学毕业证学位证书
一比一原版贝德福特大学毕业证学位证书F
 
原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样AS
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrHenryBriggs2
 
Washington Football Commanders Redskins Feathers Shirt
Washington Football Commanders Redskins Feathers ShirtWashington Football Commanders Redskins Feathers Shirt
Washington Football Commanders Redskins Feathers Shirtrahman018755
 
Loker Pemandu Lagu LC Semarang 085746015303
Loker Pemandu Lagu LC Semarang 085746015303Loker Pemandu Lagu LC Semarang 085746015303
Loker Pemandu Lagu LC Semarang 085746015303Dewi Agency
 

Recently uploaded (20)

如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证
 
Sholinganallur (Chennai) Independent Escorts - 9632533318 100% genuine
Sholinganallur (Chennai) Independent Escorts - 9632533318 100% genuineSholinganallur (Chennai) Independent Escorts - 9632533318 100% genuine
Sholinganallur (Chennai) Independent Escorts - 9632533318 100% genuine
 
一比一原版犹他大学毕业证如何办理
一比一原版犹他大学毕业证如何办理一比一原版犹他大学毕业证如何办理
一比一原版犹他大学毕业证如何办理
 
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样
 
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理
 
A LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptx
A LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptxA LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptx
A LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptx
 
APNIC Updates presented by Paul Wilson at CaribNOG 27
APNIC Updates presented by Paul Wilson at  CaribNOG 27APNIC Updates presented by Paul Wilson at  CaribNOG 27
APNIC Updates presented by Paul Wilson at CaribNOG 27
 
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
一比一原版(USYD毕业证书)悉尼大学毕业证原件一模一样
一比一原版(USYD毕业证书)悉尼大学毕业证原件一模一样一比一原版(USYD毕业证书)悉尼大学毕业证原件一模一样
一比一原版(USYD毕业证书)悉尼大学毕业证原件一模一样
 
Down bad crying at the gym t shirtsDown bad crying at the gym t shirts
Down bad crying at the gym t shirtsDown bad crying at the gym t shirtsDown bad crying at the gym t shirtsDown bad crying at the gym t shirts
Down bad crying at the gym t shirtsDown bad crying at the gym t shirts
 
一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
一比一原版英国格林多大学毕业证如何办理
一比一原版英国格林多大学毕业证如何办理一比一原版英国格林多大学毕业证如何办理
一比一原版英国格林多大学毕业证如何办理
 
一比一原版贝德福特大学毕业证学位证书
一比一原版贝德福特大学毕业证学位证书一比一原版贝德福特大学毕业证学位证书
一比一原版贝德福特大学毕业证学位证书
 
原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
Washington Football Commanders Redskins Feathers Shirt
Washington Football Commanders Redskins Feathers ShirtWashington Football Commanders Redskins Feathers Shirt
Washington Football Commanders Redskins Feathers Shirt
 
Loker Pemandu Lagu LC Semarang 085746015303
Loker Pemandu Lagu LC Semarang 085746015303Loker Pemandu Lagu LC Semarang 085746015303
Loker Pemandu Lagu LC Semarang 085746015303
 

Bring Your Cloud Bill Back Down to Earth

  • 1. I N T E L L I G E N T C L O U D O R C H E S T R A T I O N © 2018 Xosphere, Inc. Bring Your Cloud Bill Back Down to Earth Presented by Alan Hand Founder and CEO of Xosphere August 29, 2018
  • 2. We live in a cloudy world. Are your cloud costs soaring too high? BRING YOUR CLOUD BILL BACK DOWN TO EARTH2
  • 3. BRING YOUR CLOUD BILL BACK DOWN TO EARTH3 Where are we spending? 70 % 20 % 10 % Compute (EC2) Storage (S3 and EBS) Everything Else
  • 4. BRING YOUR CLOUD BILL BACK DOWN TO EARTH4 Cost Savings Tip #1 Buy Reserved
  • 5. BRING YOUR CLOUD BILL BACK DOWN TO EARTH5 EC2 Purchasing Options On-Demand Reserved Spot Dedicated Hosts
  • 6. BRING YOUR CLOUD BILL BACK DOWN TO EARTH6 Reserved Instances Benefits: capacity reservation and discount Types: standard, convertible, or scheduled Term: 1-year or 3-years Payment Options: All up-front, partial up-front, or no up-front Attribute Matching: instance type, platform, tenancy, and AZ
  • 7. BRING YOUR CLOUD BILL BACK DOWN TO EARTH7 RI Best Practices Target 70-80% of On-Demand usage to be Reserved Buy in batches (2 to 4 per year) Partial up-front is a good combination of savings and cash flow Not just for EC2 – reserve other services like RDS, RedShift, DynamoDB, ElastiCache, Elastic MapReduce, and CloudFront Upload AWS Cost and Usage report to RedShift Determine your Spot strategy before committing to Reserved
  • 8. BRING YOUR CLOUD BILL BACK DOWN TO EARTH8 Cost Savings Tip #2 Turn Sh*t Off (and delete it)
  • 9. BRING YOUR CLOUD BILL BACK DOWN TO EARTH9 Elastic IP Addresses aws ec2 describe-addresses --query 'Addresses[?InstanceId==null]' --output text Look for Elastic IP addresses that are not bound to any instances: And release them: aws ec2 describe-addresses --query 'Addresses[?InstanceId==null]' --output text | awk '{print $1}' | while read id; do aws ec2 release-address --allocation-id $id; done
  • 10. BRING YOUR CLOUD BILL BACK DOWN TO EARTH10 Load Balancers for i in `aws elb describe-load-balancers|sed -ne 's/"LoadBalancerName": "(.*)",/1/gp'`; do echo -n "$i "; aws elb describe-load-balancers --load-balancer-name $i|grep -c InstanceId;done | awk '{if ($2 == 0) {print $1}}' Look for ELBs that have no attached instances And delete them! for i in `aws elb describe-load-balancers|sed -ne 's/"LoadBalancerName": "(.*)",/1/gp'`; do echo -n "$i "; aws elb describe-load-balancers --load-balancer-name $i|grep -c InstanceId;done | awk '{if ($2 == 0) {print $1}}' | while read lb; do aws elb delete-load-balancer --load-balancer-name $lb; done
  • 11. BRING YOUR CLOUD BILL BACK DOWN TO EARTH11 EBS Volumes aws ec2 describe-volumes --filters Name=status,Values=available --query Volumes[*].VolumeId --output text Look for orphaned EBS volumes: Check to make sure they aren’t needed. aws elb delete-load-balancer --load-balancer-name $lb Now, double check. Now, triple check. Delete each one:
  • 12. BRING YOUR CLOUD BILL BACK DOWN TO EARTH12 EBS Snapshots Use Amazon Data Lifecycle Manager (DLM) to automate creation, retention, and deletion of EBS volume snapshots aws dlm create-default-role Create default DLM Role: Create a DLM Policy: aws dlm create-lifecycle-policy --description "My first policy" --state ENABLED --execution-role-arn arn:aws:iam::12345678910:role/AWSDataLifecycleManage rDefaultRole --policy-details file://policyDetails.json
  • 13. BRING YOUR CLOUD BILL BACK DOWN TO EARTH13 DLM Policy Example { "ResourceTypes": [ "VOLUME" ], "TargetTags": [ { "Key": "costcenter", "Value": "115" } ], "Schedules":[ { "Name": "DailySnapshots", "TagsToAdd": [ { "Key": "type", "Value": "myDailySnapshot" } ], "CreateRule": { "Interval": 24, "IntervalUnit": "HOURS", "Times": [ "03:00" ] }, "RetainRule": { "Count":5 } } ] }
  • 14. BRING YOUR CLOUD BILL BACK DOWN TO EARTH14 Trusted Advisor Low utilization EC2 instances Idle load balancers Underutilized EBS volumes Unassociated Elastic IP addresses Idle RDS instances Underutilized RedShift clusters Route 53 latency resource record sets
  • 15. BRING YOUR CLOUD BILL BACK DOWN TO EARTH15 Cost Savings Tip #3 Schedule Usage
  • 16. BRING YOUR CLOUD BILL BACK DOWN TO EARTH16 AWS Instance Scheduler CloudFormation stack to control scheduling of resources Works with EC2 and RDS Configure Periods and Schedules using CLI, DynamoDB, or CloudFormation Apply tags to resources to schedule usage
  • 17. BRING YOUR CLOUD BILL BACK DOWN TO EARTH17 Scheduler Architecture
  • 18. BRING YOUR CLOUD BILL BACK DOWN TO EARTH18 Scheduler Installation
  • 19. BRING YOUR CLOUD BILL BACK DOWN TO EARTH19 Cost Savings Tip #4 Minimize Data Transfer
  • 20. BRING YOUR CLOUD BILL BACK DOWN TO EARTH20 Data Transfer Optimization Be careful with distributed systems like Cassandra, Kafka, etc. Try to locate instances in the same AZ – big trade off Use managed services like RDS, Aurora, etc. when possible Use CloudFront as much as possible Use S3 VPC Endpoint
  • 21. BRING YOUR CLOUD BILL BACK DOWN TO EARTH21 Cost Savings Tip #5 Use Latest Generation
  • 22. BRING YOUR CLOUD BILL BACK DOWN TO EARTH22 Generation Cost Differences $- $0.050 $0.100 $0.150 $0.200 $0.250 $0.300 $0.350 $0.400 m1.xlarge m3.xlarge m4.xlarge m5.xlarge
  • 23. BRING YOUR CLOUD BILL BACK DOWN TO EARTH23 Cost Savings Tip #6 Set Storage Retention Policies
  • 24. BRING YOUR CLOUD BILL BACK DOWN TO EARTH24 S3 Storage Classes Standard Standard-Infrequent Access One Zone-Infrequent Access Glacier
  • 25. BRING YOUR CLOUD BILL BACK DOWN TO EARTH25 Object Lifecycle Management Transition actions move objects between storage classes Expiration actions delete objects Standard-Infrequent Access is great for log files One Zone-Infrequent Access only for reproducible data
  • 26. BRING YOUR CLOUD BILL BACK DOWN TO EARTH26 Lifecycle Configuration <LifecycleConfiguration> <Rule> <ID>example-id</ID> <Filter> <Prefix>logs/</Prefix> </Filter> <Status>Enabled</Status> <Transition> <Days>30</Days> <StorageClass>STANDARD_IA</StorageClass> </Transition> <Transition> <Days>90</Days> <StorageClass>GLACIER</StorageClass> </Transition> <Expiration> <Days>365</Days> </Expiration> </Rule> </LifecycleConfiguration>
  • 27. BRING YOUR CLOUD BILL BACK DOWN TO EARTH27 Cost Savings Tip #7 Leverage Autoscaling
  • 28. BRING YOUR CLOUD BILL BACK DOWN TO EARTH28 Autoscaling Best Practices Identify performance impacting metrics and monitor with CloudWatch Use cool down period Ensure proper use of health checks Use custom AMIs to speed up launch time Use both event driven and scheduled autoscaling Typical cost savings around 20-30%
  • 29. BRING YOUR CLOUD BILL BACK DOWN TO EARTH29 Cost Savings Tip #8 Don’t Be Afraid of Spot
  • 30. BRING YOUR CLOUD BILL BACK DOWN TO EARTH30 What is a Spot? Excess capacity offered at steep discounts Market driven pricing Can be interrupted with 2 minutes notification Intended for fault tolerant applications Pools defined by instance type, OS, and availability zone
  • 31. BRING YOUR CLOUD BILL BACK DOWN TO EARTH31 Spot Use Cases Machine learning Big Data analytics Video transcoding CI/CD Systems (Jenkins Plugin)
  • 32. BRING YOUR CLOUD BILL BACK DOWN TO EARTH32 Spot Best Practices Diversify pools to increase availability Set maximum bid to On-Demand price Leverage Spot Fleet Use Xosphere for apps with high availability requirements
  • 33. BRING YOUR CLOUD BILL BACK DOWN TO EARTH33 Cost Savings Tip #9 Right-size Instances
  • 34. BRING YOUR CLOUD BILL BACK DOWN TO EARTH34 Right-size Solution CloudFormation stack to analyze two weeks of utilization data to provide right sizing recommendations Must be run an individual accounts Run no more frequently than every two weeks Results output to CVS file in S3
  • 35. BRING YOUR CLOUD BILL BACK DOWN TO EARTH35 Solution Architecture
  • 36. BRING YOUR CLOUD BILL BACK DOWN TO EARTH36 Right-sizing Results
  • 37. BRING YOUR CLOUD BILL BACK DOWN TO EARTH37 Cost Savings Tip #10 Explore Containers
  • 38. BRING YOUR CLOUD BILL BACK DOWN TO EARTH38 Why Containers? Consistent environment, Run anywhere, Isolation More efficient usage of hardware resources (typically 50%) Easy to setup with EKS/ECS or other CaaS alternative Spot friendly for additional savings when using Xosphere
  • 39. Thank You alan@xosphere.io 310.487.5851 BRING YOUR CLOUD BILL BACK DOWN TO EARTH39 © 2018 Xosphere, Inc.
  • 40. BRING YOUR CLOUD BILL BACK DOWN TO EARTH Xosphere Typical Savings Without Xosphere With Xosphere Reserved $19,696 $0 On-Demand $13,517 $4,505 Spot $0 $11,340 Xosphere License $0 $2,000 Total $33,213 $17,845 40 Scenario: 100 instances (50 m4.4xlarge, 30 c4.2xlarge, 20 r4.2xlarge) with 70% reserved for one year with no up-front Monthly savings of $15,367 or 46%

Editor's Notes

  1. Intro Xosphere Intro self
  2. Two ways to cut costs – governance and optimization
  3. Sinlge most useful tip – if nothing else do this Surprised how many people don’t
  4. About $45 per year per address
  5. About $220 per year per ELB
  6. About $220 per year per ELB
  7. Low utilization = <10% CPU and network I/O <5MB on 4 or more days in the last 14 days
  8. Low utilization = <10% CPU and network I/O <5MB on 4 or more days in the last 14 days
  9. Low utilization = <10% CPU and network I/O <5MB on 4 or more days in the last 14 days
  10. 25% delta between m1 -> m3 -> m4, 5% delta -> m5 M1 -> 4 vCPU, 8 ECU, 15 GB RAM M3 -> 4 vCPU, 13 ECU, 15 GB RAM M4 -> 4 vCPU, 13 ECU, 16 GB RAM M5 -> 4 vCPU, 16 ECU, 16 GB RAM
  11. Standard – 10-9s durability and 4-9s up time Infrequent
  12. Infrequent access cut costs in half, but limited to 128k blocks so not great for lots of smaller objects