23
Cost Optimizing and Cost Monitoring on AWS Liron Dor Technical Account Manager

Cost optimization on AWS

Embed Size (px)

Citation preview

Page 1: Cost optimization on AWS

Cost Optimizing and Cost Monitoring

on AWS

Liron Dor

Technical Account Manager

Page 2: Cost optimization on AWS

Topics

Cost Optimization Tools and Best Practices.

Model and Track Spending.

Page 3: Cost optimization on AWS

How do you identify unused ELBs?

Page 4: Cost optimization on AWS

AWS Trusted Advisor

Trusted Advisor inspects your AWS environment and makes recommendations.

41 available checks in 4 categories.

Last 3 years, 2.6 million recommendations, Customers Reduced Costs by over $350M.

Available for Business Support and Enterprise Support.

Revisit Trusted Advisor.

Page 5: Cost optimization on AWS

Design For Elasticity

Page 6: Cost optimization on AWS

Design For Elasticity

Avoid Over Provisioning Resources.

Pay As You Go Model.

Use S3 Object Lifecycle Management.

Automate Your Elasticity.

Page 7: Cost optimization on AWS

Match Resources and Workload

Page 8: Cost optimization on AWS

Match Resources and Workload

Avoid Under Utilized Resources.

Verity of Resources:

EC2 - 38 Instance Type (Current Generation) in 9 Families.

Redshift – 4 instance Types in 2 Families.

RDS – 12 Instance in 3 Families (Depending on the type).

Use Trusted Advisor to Identify Low Utilization.

Page 9: Cost optimization on AWS

t2 - Burstable Performance Instances

t2Burstable vs. Fixed Performance Instances.

Bursts beyond baseline using CPU credits.

Web Servers, Development Machines, Small Databases.

t2.medium:

2 vCPU 4 GiB of Memory.

Baseline Performance: 40%.

Page 10: Cost optimization on AWS

c3.large sysbench

Page 11: Cost optimization on AWS

t2.medium sysbench

Page 12: Cost optimization on AWS

EC2 Instances Comparison

Instance vCPU Mem (GiB) Monthly On-Demand Costs*

Ideal use case

m3.medium 1 3.75 $ 49.05 General Purpose – Fixed Performance

c3.large 2 3.75 $ 76.86 Compute Optimized – Fixed Performance

t2.medium 2 4 $ 38.07 General Purpose – Burstable Performance

If t2 works for your workload:

~22% savings switching from m3.medium to t2.medium.

~50% savings switching from c3.large to t2.medium.

* - Linux costs in N. Virginia

Page 13: Cost optimization on AWS

Are you purchasing in the most cost-effective way?

Page 14: Cost optimization on AWS

EC2 Reserved Instances

Long Running Workloads with RIs.

1 – Year RIs - Up to 58% savings.

3 – Year RIs - Up to 75% savings.

3 RI plans: No Upfront, Partial Upfront, All Upfront.

Use Trusted Advisor for RI Recommendations.

EC2

Page 15: Cost optimization on AWS

EC2 Reserved Instances Utilization Reports

Page 16: Cost optimization on AWS

Other Reservation Options

RDS – Reserved Instances.

Redshift – Reserved Nodes.

Elastic Cache - Reserved Cache Nodes.

DynamoDB - Reserved Throughput.

Page 17: Cost optimization on AWS

Model and Track Spending

Page 18: Cost optimization on AWS

Tag Your Resources

Page 19: Cost optimization on AWS

Tagging BasicsCreate the Dimensions relevant to you

Tag all “Taggable” resources.

Many AWS services support customer-

defined tags including EC2, S3, and RDS.

Use the Tag Editor.

Page 20: Cost optimization on AWS

Cost Explorer Forecasts (Demo)

Page 21: Cost optimization on AWS

Budget (Demo)

Page 22: Cost optimization on AWS

Wrap - Up

Cost Optimization:

Trusted Advisor.

Design For Elasticity.

Match Resources and Workloads.

Long Running workloads with Ris.

Model and Track Spending:

Use Tagging.

Visualize your costs.

Plan and Track your budget.

Page 23: Cost optimization on AWS

Thank you