+ All Categories
Home > Documents > COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT...

COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT...

Date post: 06-Mar-2021
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
18
COST OPTIMIZATION ON AWS Barış Balta Founder & Principal SA @ Sufle baris@sufle.io https://linkedin.com/in/barisbalta
Transcript
Page 1: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

COST OPTIMIZATION ON AWS

Barış Balta Founder & Principal SA @ Sufle

[email protected]

https://linkedin.com/in/barisbalta

Page 2: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

• How pricing works on AWS • Planning and Account Management • Choosing right AWS Services for you • Scaling • Questions

AGENDA

2/17

Page 3: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

HOW PRICING WORKS ON AWS

Utility based Pay only what you use You chose only services you need

Start / Stop any time No long-term contracts

3/17

Page 4: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

Cost per unitSpend

$ $ $

Spend

HOW PRICING WORKS ON AWS

4/17

Page 5: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

$ $ $

Compute Storage Data Transfer

per hour (in mins) per GB per GB out

Pricing tools AWS Simple Monthly Calculator

AWS Total Cost of Ownership (TCO) Calculator

AWS Billing and Cost Management Console

HOW PRICING WORKS ON AWS

5/17

Page 6: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

PLANNING AND ACCOUNT MANAGEMENT

• Consider Operational cost and TCO • Plan workloads first • Check your plans regularly • RTFM First, Use Then • Check for Free Tier • Use reserved resources • Use spot resources • Avoid waste of resources

6/17

Page 7: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

• Use Consolidated Billing and Organizations • Care for Role Based Access Control (RBAC) • Use IAM policies right • Check for Volume Discounts • Ask your AWS Account Manager for credits • Monitor your costs • Billing alerts

PLANNING AND ACCOUNT MANAGEMENT

7/17

Page 8: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

CHOOSING RIGHT AWS SERVICES FOR YOU

• Well Architected Framework • Consider managed services • Use right setup for your use case • Forget on-premise approach • Consider elasticity options • Premature optimization is evil

8/17

Page 9: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

CHOOSING RIGHT AWS SERVICES FOR YOU

RDS MySQL

Click and go Automated backups

Easily scaleable and elastic Multi-AZ option

Easy updates No OS management effort

Cloudwatch

EC2 MySQL

Setup by yourself Setup backups

Less scaleable and elastic Setup HA

Manage updates Manage OS

Setup monitoring

9/17

Page 10: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

CHOOSING RIGHT AWS SERVICES FOR YOU

10 TBs S3 Standard Storage: ~$230/m 10 TBs S3 Infrequent Access Storage: ~$125/m

%46 Saving !!!

Case: We're going to store critical transaction reports on AWS S3 for a giant enterprise. After 1 month team will access reports rarely. Team will need to access these reports anytime immediately when needed.

10/17

Page 11: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

SCALING

• Right resource type & size • Automatic and Proactive scaling • Spot instances

11/17

Page 12: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

SCALING

Type ECU Mem Costm4.10xlarge 124 160G $2,220/h

m5.xlarge 15 16G $0,214/hc5.xlarge 16 8G $0,192/h

c5.2xlarge 31 16G $0,384/hc5.4xlarge 62 32G $0,768/h

r4.large 7 15G $0,148/hr4.xlarge 13 30G $0,296/h

x1e.xlarge 12 122G $1,000/h

CPU intensive app req: 10 ECU CPU Memory intensive app req: 13G memory

MongoDB req: 28G memory HP MySQL Master DB instance req: 110G memory12/17

Page 13: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

m4.large: $0.111/h - 46 instance hours - $153/m

SCALING

13/17

Page 14: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

t2.medium: $0.05/h - 77 instance hours - ~$115/m %25 Saving !!!

SCALING

14/17

Page 15: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

• t2.micro : 1vCPU - 1GB Memory - Low-Moderate Network Perf. • m5.large: 2vCPU - 8GB Memory - High Network Perf.

Case: A single t2.micro VPN instance inside a VPC supports a company of 100 concurrent users. This VPN instance allow employees communicate out with your applications running on EC2 instances in private subnets. Employees had started suffering about serious network performance degradation. What might be the problem?

SCALING

15/17

Page 16: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

c4.4xlarge - On-Demand: $0.9050/h - Spot: $0.2490/h 100hr Computing Task - On-Demand: $90.5 - Spot: $24.9

%72 Saving !!!

SCALING

16/17

Page 17: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

SORULARINIZ?

Barış Balta Founder & Principal SA @ Sufle

[email protected]

https://linkedin.com/in/barisbalta

SONRA SORSAM?

17/17

Page 18: COST OPTIMIZATION ON AWS · 2018. 5. 10. · HOW PRICING WORKS ON AWS 5/17. PLANNING AND ACCOUNT MANAGEMENT • Consider Operational cost and TCO • Plan workloads first • Check

AWS TURKEY USERS COMMUNITY

AWSTALKS.COM

SORULARINIZIN CEVAPLARINI BULABİLİR, KATKIDA BULUNABİLİRSİNİZ.


Recommended