Optimizing EC2 usage on AWS
-
Upload
cloudability -
Category
Software
-
view
325 -
download
0
Transcript of Optimizing EC2 usage on AWS
![Page 1: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/1.jpg)
@cloudability
![Page 2: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/2.jpg)
@cloudability
Optimizing EC2 Usage on AWS
May 17, 2016
![Page 3: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/3.jpg)
๏ @cloudability
Introduction
Today’s Topics
Mike McCullough Technical Account Manager
TODAY’S SPEAKER
1. Wait, how does the cloud work again?
2. Finding and trimming the waste
3. Reducing hourly cost
4. Q&A
![Page 4: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/4.jpg)
@cloudability
About Us
Cloud Cost Management
$2B+ in tracked AWS costs
![Page 5: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/5.jpg)
@cloudability
Our SolutionsHow It Works
1 2 3
4 5
Spend Monitoring Spending visibility via custom dashboards, budget alerts, and daily email digests.
Cost Allocation Segment your cloud costs with detailed reports by tag, service, usage type, etc..
Usage Optimization Spot under-utilized resources w/ instance level usage metrics.
RI Portfolio Optimization Get recommendations to buy, modify and sell the right RIs. Then see their impact on your spending.
Company-Wide Governance Organizational group views/filtering/rollups, multi-user access.
![Page 6: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/6.jpg)
0
45
90
135
180D
ev/T
est
POC
App
#1
App
#3
App
#2
Exec team starts really caring
Load
test
A Story of Growth
![Page 7: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/7.jpg)
๏ @cloudability
The BasicsFinding Waste
๏ EC2 Instances run by the hour
๏ Different compute capabilities cost different amounts
๏ Misalignment in either /both can be very costly
![Page 8: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/8.jpg)
๏ @cloudability
The PiecesFinding Waste
๏ Multiple major business units
๏ Lots of products or cost centers
๏ Dedicated and shared AWS resources
๏ Distributed teams using AWS
![Page 9: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/9.jpg)
๏ @cloudability
Stage I: Cost visibility for all (emails, alerts, dashboards)
Stage II: Allocating costs to departments (tags, linked accounts)
Stage III: Using only what you need (underutilized, unneeded)
Stage IV: Lowering Cost Per Hour (new families, Reserved Instances)
Stage V: Tying spending to the bottom line (unit cost)
The Five Stages of Cloud EfficiencyCloudability
![Page 10: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/10.jpg)
๏ @cloudability
Finding Waste
You’ve got a sense that you could be spending less …and you’re probably right.
๏ Not using what you’re paying for๏ Buying instances that are too large๏ Not turning off things at night๏ Paying more than you should
The Problem You’re Solving
![Page 11: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/11.jpg)
@cloudability
Reducing Usage
Underutilized EC2 Hours
![Page 12: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/12.jpg)
๏ @cloudability
168 hours in a week
![Page 13: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/13.jpg)
๏ @cloudability
108 nights & weekends
![Page 14: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/14.jpg)
@cloudability
Finding Waste
Widgets and Dashboards
![Page 15: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/15.jpg)
@cloudability
Finding Waste
Utilization Analytics - Day of Week and Hourly
![Page 16: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/16.jpg)
๏ @cloudability
How to turn off non-prod on nights/weekends
1. Confirm idle instance times2. Assign instance schedules with tags3. Run a crontab scheduler like “Valet”
- For more Google “Cloudability Valet”
![Page 17: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/17.jpg)
@cloudability
Reducing Usage
Underutilized EC2 Instances
![Page 18: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/18.jpg)
๏ @cloudability
Finding Waste
You’ve got a sense that you could be spending less …and you’re probably right.
๏ Not using what you’re paying for๏ Buying instances that are too large๏ Not turning off things at night๏ Paying more than you should
The Problem You’re Solving
![Page 19: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/19.jpg)
@cloudability
Finding Waste
Utilization Analytics - Legacy Instance Usage
![Page 22: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/22.jpg)
๏ @cloudability
Reducing Usage
Key metrics to look at:
๏ CPU Utilization๏ Bandwidth๏ Disk I/O๏ Days and Hours Running๏ Estimated Cost๏ Current State
Finding Underutilized EC2 Instances
![Page 23: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/23.jpg)
๏ @cloudability
Finding Waste
You’ve got a sense that you could be spending less …and you’re probably right.
๏ Not using what you’re paying for๏ Buying instances that are too large๏ Not turning off things at night๏ Paying more than you should
The Problem You’re Solving
![Page 24: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/24.jpg)
@cloudability
Reducing Rate
Reserved Instances
![Page 25: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/25.jpg)
@cloudability
Reducing Rate
Reserved Instances
![Page 26: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/26.jpg)
@cloudability
Reducing Rate
Reserved Instances
![Page 27: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/27.jpg)
@cloudability
Reducing Rate
Reserved Instances
![Page 28: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/28.jpg)
@cloudability
Reducing Rate
Reserved Instances
![Page 29: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/29.jpg)
@cloudability
Reducing Rate
Reserved Instances - the Injected Line Item
![Page 30: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/30.jpg)
๏ @cloudability
Finding Waste
You’ve got a sense that you could be spending less …and you’re probably right.
๏ Not using what you’re paying for๏ Buying instances that are too large๏ Not turning off things at night๏ Paying more than you should
The Problem You’re Solving
![Page 31: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/31.jpg)
๏ @cloudability
Going Further
- Turn off instances that are not being used- Autoscale resources down when load decreases- Turn off dev/test/stage resources at night - Rightsize the instance size/type to the load- Migrate from old instance families to new ones (e.g., m1 to m3)
- Consider moving older S3 resources to Glacier- Employ a ‘stopinator’ or Janitor Monkey- Use Spot Instances for asynchronous workloads
Many ways to increase efficiency…
![Page 32: Optimizing EC2 usage on AWS](https://reader030.fdocuments.in/reader030/viewer/2022020119/58e8de661a28abe06c8b4edd/html5/thumbnails/32.jpg)
@cloudability
Thank you!Try Cloudability free
Learn more
Want a demo?
cloudability.com
blog.cloudability.com