SlideShare a Scribd company logo
1 of 25
Download to read offline
Cloud Cost Optimization
#whoami: yogesh sharma
• Cloud Architect @ Tata Consultancy
Services
• Overall 10+ years of experience, 5+ years
of experience in Cloud, DevOps
• ML and Data Enthusiast
• AWS Community Builder Program
(First Batch)
• 3x AWS Certifications
• Technical Speaker and Blogger
• Owner of https://multicloudwarrior.com/
https://www.linkedin.com/in/sharma-yogesh/
What to expect
• Cloud Cost Optimization- What, Why
• Pillars for Cost Optimization
• Cost Optimization Process
• Checklist
• Latest Trends
• Q&A
We all love Cloud and its Services…
AWS is for builders
You build it,
You run it,
You optimize it
But are we fully aware about Cloud Financials
Are we spending too much on unnecessary
stuff knowingly/unknowingly?
Pay for what you use
But how would you ensure that you pay
what you actually need?
Bill Formula:
Spend = Usage * Rate
Cloud Cost Optimization
Managing costs is a challenge for organizations using public cloud
services but also an opportunity to drive efficient consumption of IT.
Pillars for Cost Optimization
Pillars for Cost Optimization
Right-sizing Elasticity Pricing Models
Storage Classes Measure and Mechanisms Designing for Cost
Right-sizing
m4.4xlarge
$1.72 per hour
1. Provision 2. Check Metrics
(CPU, RAM, Network)
4. Review Performance 5. Save
m4.large
$0.215 per
hour
3. Right-Size
86%
Saving
Elasticity
• Scale up and down to meet
capacity requirements
based upon CPU, RAM,
network etc.
• Automatically turn
nonproduction off outside
of working hoursThink about:
•AWS Auto Scaling and EC2 Fleet
•AWS Instance Scheduler
•AWS CloudWatch
Auto-scalingpolicies
Pricing Models
On- Demand
Pay-for-compute capacity
by the second with no
long-term commitments
Savings Plans & Reserved
Instances
Make a commitment and receive a
significant discount off compute
Spot Instances
Spare AWS EC2 Capacity at
saving up to 90%
off On-Demand prices
Spiky workloads to
Define needs
Committed &
steady-state usage
Fault-tolerant, flexible,
stateless workloads
If your bid > spot price  get an instance
If your bid < spot price  instance is terminated
Storage Classes
Amazon S3 Amazon GlacierInfrequent Access
HOT WARM COLD
Provisioned IOPS
SSD (io1)
General Purpose
SSD (gp2)
Throughput Optimized
HDD (st1)
Cold HDD (io1)
Measure and Mechanisms
Designing for Cost
Consolidated Billing
Using AWS Organization
Go Serverless Unused Elastic IPs
ContainerizationCloudFront Managed RDS
Cost Optimization Process
Cost Optimization Process
Biggest Strength- Architecture Flexibility
Main goal- Avoid unnecessary stuff
Unnecessary
Resources
Idling
Resources
Repetitive
Work
Measure: Monitor your workloads
Set up metrics to defines success and track progress
“What KPI makes sense for this workload?”
% Instances turned off daily
%instances right sized
%RI Utilization
Monitor AWS Resources Set Alarms Monitor Custom Metrics
View Graphs and Statistics Monitor & React to
Resource Changes
Measure- AWS Billing/Cost Dashboard
• Use AWS Billing and Cost
Management Dashboard
• Set up your monthly AWS
budget
• Dive deep with AWS Cost
Explorer
Also checkout-
https://calculator.s3.amazonaws.com/index.html
https://calculator.aws/
https://aws.amazon.com/economics/
Measure: Cost Explorer
Use Cost Explorer Personalized
Recommendations and decide to go with
Reserved Instances Category-
Standard, Convertible and Scheduled RIs
Architecture- Using AWS Organizations
Consolidated Billing
Consolidated Billingalso enables various
discounts- like Volume discounts
Architecture- Establish Tagging Strategy
Using tags to establish visibility & chargebacks
What’s in a Tag
Resource Allocation
Search, filter & categorize
Cost Allocation
Reports & chargebacks
Automation
Autoscaling & Scheduling
Control & Compliance
Restricted resource access
through IAM
Checklist
• Turn off unused instances- Use instance start and stop
• Delete unused/orphan volumes
• Stop paying for Idle EC2 and RDS instances and Redshift Clusters
• Understand and forecast your costs using AWS Cost Explorer and AWS Budget
• Use consolidated billing to avail volume discount across accounts
• Turn on/off whole architecture setups Using AWS CloudFormation, Terraform
• Automate Everything- Automate your instance start/stop cycle
• Choose EC2 Spot Instances
• Use Compute Savings Plan
• Use Reserved Instances
• Embrace latest trends and learn from Industry
– Adopt Micro-service architecture
– Modernize applications to make use of provider managed services when these are more cost-
effective.
– Consider Serverless architecture- no idle capacity
– Adopt Containerization
• Containers with EC2-Spot, Fargate with Spot
– Enable S3-Intelligent Tiering- Apply Life cycle transitioning on S3 Objects
Latest Trends- Launched in re:Invent 2020
• New for AWS Lambda – 1ms Billing Granularity Adds Cost Savings
https://aws.amazon.com/blogs/aws/new-for-aws-lambda-1ms-billing-
granularity-adds-cost-savings/
• New – Amazon EBS gp3 Volume Lets You Provision Performance Apart
From Capacity
https://aws.amazon.com/blogs/aws/new-amazon-ebs-gp3-volume-lets-
you-provision-performance-separate-from-capacity-and-offers-20-lower-
price/
It lets customers independently increase IOPS and throughput without
having to provision additional block storage capacity, paying only for the
resources they need.
Thank you!

More Related Content

What's hot

GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
Amazon Web Services Korea
 

What's hot (20)

FinOps: A Culture Transformation to Bring DevOps, Finance and the Business To...
FinOps: A Culture Transformation to Bring DevOps, Finance and the Business To...FinOps: A Culture Transformation to Bring DevOps, Finance and the Business To...
FinOps: A Culture Transformation to Bring DevOps, Finance and the Business To...
 
Cost Optimization on AWS
Cost Optimization on AWSCost Optimization on AWS
Cost Optimization on AWS
 
AWS Cloud Cost Optimization
AWS Cloud Cost OptimizationAWS Cloud Cost Optimization
AWS Cloud Cost Optimization
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
Cost optimization on AWS
Cost optimization on AWSCost optimization on AWS
Cost optimization on AWS
 
Cost Optimization on AWS
Cost Optimization on AWSCost Optimization on AWS
Cost Optimization on AWS
 
AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저
AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저
AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저
 
Cloud Economics: The Financial Case for Cloud Migration
Cloud Economics: The Financial Case for Cloud MigrationCloud Economics: The Financial Case for Cloud Migration
Cloud Economics: The Financial Case for Cloud Migration
 
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
 
Practical FinOps in Practice
Practical FinOps in PracticePractical FinOps in Practice
Practical FinOps in Practice
 
AWS Initiate Day Dublin 2019 – Cost Optimization on AWS
AWS Initiate Day Dublin 2019 – Cost Optimization on AWSAWS Initiate Day Dublin 2019 – Cost Optimization on AWS
AWS Initiate Day Dublin 2019 – Cost Optimization on AWS
 
GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
 
AWS Cloud Migration Insights Forum
AWS Cloud Migration Insights ForumAWS Cloud Migration Insights Forum
AWS Cloud Migration Insights Forum
 
Understand AWS Pricing
Understand AWS PricingUnderstand AWS Pricing
Understand AWS Pricing
 
Getting started on your AWS migration journey
Getting started on your AWS migration journeyGetting started on your AWS migration journey
Getting started on your AWS migration journey
 
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and StrategiesAWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
 
Cloud Migration, Application Modernization and Security for Partners
Cloud Migration, Application Modernization and Security for PartnersCloud Migration, Application Modernization and Security for Partners
Cloud Migration, Application Modernization and Security for Partners
 
Cloud cost optimization (AWS, GCP)
Cloud cost optimization (AWS, GCP)Cloud cost optimization (AWS, GCP)
Cloud cost optimization (AWS, GCP)
 
Optimize Cost Efficiency on AWS
Optimize Cost Efficiency on AWSOptimize Cost Efficiency on AWS
Optimize Cost Efficiency on AWS
 
How to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your EnterpriseHow to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your Enterprise
 

Similar to AWS Cloud cost optimization

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
Amazon Web Services
 
Guy.Kfir - Cost Optimization at Scale - NL Summit 2016
Guy.Kfir - Cost Optimization at Scale - NL Summit 2016Guy.Kfir - Cost Optimization at Scale - NL Summit 2016
Guy.Kfir - Cost Optimization at Scale - NL Summit 2016
Guy KFIR
 

Similar to AWS Cloud cost optimization (20)

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
 
Cloudonomics
CloudonomicsCloudonomics
Cloudonomics
 
Cost Optimization at Scale
Cost Optimization at ScaleCost Optimization at Scale
Cost Optimization at Scale
 
Start Up Austin 2017: Don't Overspend! Cost Optimization Best Practices to Re...
Start Up Austin 2017: Don't Overspend! Cost Optimization Best Practices to Re...Start Up Austin 2017: Don't Overspend! Cost Optimization Best Practices to Re...
Start Up Austin 2017: Don't Overspend! Cost Optimization Best Practices to Re...
 
AWS Cloud Cost Optimization
AWS Cloud Cost OptimizationAWS Cloud Cost Optimization
AWS Cloud Cost Optimization
 
Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency
 
Cost Optimization Best Practices: Rotem Yosef
Cost Optimization Best Practices: Rotem Yosef Cost Optimization Best Practices: Rotem Yosef
Cost Optimization Best Practices: Rotem Yosef
 
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
 
Cost Optimization at Scale
Cost Optimization at ScaleCost Optimization at Scale
Cost Optimization at Scale
 
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
 
How to Reduce your Spend on AWS
How to Reduce your Spend on AWSHow to Reduce your Spend on AWS
How to Reduce your Spend on AWS
 
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
 
Cost optimization at scale toronto v3
Cost optimization at scale toronto v3Cost optimization at scale toronto v3
Cost optimization at scale toronto v3
 
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...
 
Advanced Topics - Session 3 - Optimizing AWS Applications
Advanced Topics - Session 3 - Optimizing AWS ApplicationsAdvanced Topics - Session 3 - Optimizing AWS Applications
Advanced Topics - Session 3 - Optimizing AWS Applications
 
AWS APAC Webinar Series: How to Reduce Your Spend on AWS
AWS APAC Webinar Series: How to Reduce Your Spend on AWSAWS APAC Webinar Series: How to Reduce Your Spend on AWS
AWS APAC Webinar Series: How to Reduce Your Spend on AWS
 
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
 
Achieving Your Department Objectives: Providing Better Citizen Services at Lo...
Achieving Your Department Objectives: Providing Better Citizen Services at Lo...Achieving Your Department Objectives: Providing Better Citizen Services at Lo...
Achieving Your Department Objectives: Providing Better Citizen Services at Lo...
 
Guy.Kfir - Cost Optimization at Scale - NL Summit 2016
Guy.Kfir - Cost Optimization at Scale - NL Summit 2016Guy.Kfir - Cost Optimization at Scale - NL Summit 2016
Guy.Kfir - Cost Optimization at Scale - NL Summit 2016
 
Cost Optimization at Scale
Cost Optimization at ScaleCost Optimization at Scale
Cost Optimization at Scale
 

More from Yogesh Sharma (6)

Accelerating Innovation Using Serverless Datalake (Lightning Talk)
Accelerating Innovation Using Serverless Datalake (Lightning Talk)Accelerating Innovation Using Serverless Datalake (Lightning Talk)
Accelerating Innovation Using Serverless Datalake (Lightning Talk)
 
Accelerating innovation using serverless data lake
Accelerating innovation using serverless data lakeAccelerating innovation using serverless data lake
Accelerating innovation using serverless data lake
 
Data Engg Conf Sydney - intelligent and scalable real-time data pipeline usin...
Data Engg Conf Sydney - intelligent and scalable real-time data pipeline usin...Data Engg Conf Sydney - intelligent and scalable real-time data pipeline usin...
Data Engg Conf Sydney - intelligent and scalable real-time data pipeline usin...
 
Intelligent serverless-streaming-pipeline-using-kinesis-fargate-cfn
Intelligent serverless-streaming-pipeline-using-kinesis-fargate-cfnIntelligent serverless-streaming-pipeline-using-kinesis-fargate-cfn
Intelligent serverless-streaming-pipeline-using-kinesis-fargate-cfn
 
Aws certification roadmap yogesh-sharma
Aws certification roadmap   yogesh-sharmaAws certification roadmap   yogesh-sharma
Aws certification roadmap yogesh-sharma
 
AWS Community Day Bay Area 2020- Intelligent Scalable and Serverless Real-tim...
AWS Community Day Bay Area 2020- Intelligent Scalable and Serverless Real-tim...AWS Community Day Bay Area 2020- Intelligent Scalable and Serverless Real-tim...
AWS Community Day Bay Area 2020- Intelligent Scalable and Serverless Real-tim...
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

AWS Cloud cost optimization

  • 2. #whoami: yogesh sharma • Cloud Architect @ Tata Consultancy Services • Overall 10+ years of experience, 5+ years of experience in Cloud, DevOps • ML and Data Enthusiast • AWS Community Builder Program (First Batch) • 3x AWS Certifications • Technical Speaker and Blogger • Owner of https://multicloudwarrior.com/ https://www.linkedin.com/in/sharma-yogesh/
  • 3. What to expect • Cloud Cost Optimization- What, Why • Pillars for Cost Optimization • Cost Optimization Process • Checklist • Latest Trends • Q&A
  • 4. We all love Cloud and its Services… AWS is for builders You build it, You run it, You optimize it
  • 5. But are we fully aware about Cloud Financials Are we spending too much on unnecessary stuff knowingly/unknowingly?
  • 6. Pay for what you use But how would you ensure that you pay what you actually need? Bill Formula: Spend = Usage * Rate
  • 7. Cloud Cost Optimization Managing costs is a challenge for organizations using public cloud services but also an opportunity to drive efficient consumption of IT.
  • 8. Pillars for Cost Optimization
  • 9. Pillars for Cost Optimization Right-sizing Elasticity Pricing Models Storage Classes Measure and Mechanisms Designing for Cost
  • 10. Right-sizing m4.4xlarge $1.72 per hour 1. Provision 2. Check Metrics (CPU, RAM, Network) 4. Review Performance 5. Save m4.large $0.215 per hour 3. Right-Size 86% Saving
  • 11. Elasticity • Scale up and down to meet capacity requirements based upon CPU, RAM, network etc. • Automatically turn nonproduction off outside of working hoursThink about: •AWS Auto Scaling and EC2 Fleet •AWS Instance Scheduler •AWS CloudWatch Auto-scalingpolicies
  • 12. Pricing Models On- Demand Pay-for-compute capacity by the second with no long-term commitments Savings Plans & Reserved Instances Make a commitment and receive a significant discount off compute Spot Instances Spare AWS EC2 Capacity at saving up to 90% off On-Demand prices Spiky workloads to Define needs Committed & steady-state usage Fault-tolerant, flexible, stateless workloads If your bid > spot price  get an instance If your bid < spot price  instance is terminated
  • 13. Storage Classes Amazon S3 Amazon GlacierInfrequent Access HOT WARM COLD Provisioned IOPS SSD (io1) General Purpose SSD (gp2) Throughput Optimized HDD (st1) Cold HDD (io1)
  • 15. Designing for Cost Consolidated Billing Using AWS Organization Go Serverless Unused Elastic IPs ContainerizationCloudFront Managed RDS
  • 17. Cost Optimization Process Biggest Strength- Architecture Flexibility Main goal- Avoid unnecessary stuff Unnecessary Resources Idling Resources Repetitive Work
  • 18. Measure: Monitor your workloads Set up metrics to defines success and track progress “What KPI makes sense for this workload?” % Instances turned off daily %instances right sized %RI Utilization Monitor AWS Resources Set Alarms Monitor Custom Metrics View Graphs and Statistics Monitor & React to Resource Changes
  • 19. Measure- AWS Billing/Cost Dashboard • Use AWS Billing and Cost Management Dashboard • Set up your monthly AWS budget • Dive deep with AWS Cost Explorer Also checkout- https://calculator.s3.amazonaws.com/index.html https://calculator.aws/ https://aws.amazon.com/economics/
  • 20. Measure: Cost Explorer Use Cost Explorer Personalized Recommendations and decide to go with Reserved Instances Category- Standard, Convertible and Scheduled RIs
  • 21. Architecture- Using AWS Organizations Consolidated Billing Consolidated Billingalso enables various discounts- like Volume discounts
  • 22. Architecture- Establish Tagging Strategy Using tags to establish visibility & chargebacks What’s in a Tag Resource Allocation Search, filter & categorize Cost Allocation Reports & chargebacks Automation Autoscaling & Scheduling Control & Compliance Restricted resource access through IAM
  • 23. Checklist • Turn off unused instances- Use instance start and stop • Delete unused/orphan volumes • Stop paying for Idle EC2 and RDS instances and Redshift Clusters • Understand and forecast your costs using AWS Cost Explorer and AWS Budget • Use consolidated billing to avail volume discount across accounts • Turn on/off whole architecture setups Using AWS CloudFormation, Terraform • Automate Everything- Automate your instance start/stop cycle • Choose EC2 Spot Instances • Use Compute Savings Plan • Use Reserved Instances • Embrace latest trends and learn from Industry – Adopt Micro-service architecture – Modernize applications to make use of provider managed services when these are more cost- effective. – Consider Serverless architecture- no idle capacity – Adopt Containerization • Containers with EC2-Spot, Fargate with Spot – Enable S3-Intelligent Tiering- Apply Life cycle transitioning on S3 Objects
  • 24. Latest Trends- Launched in re:Invent 2020 • New for AWS Lambda – 1ms Billing Granularity Adds Cost Savings https://aws.amazon.com/blogs/aws/new-for-aws-lambda-1ms-billing- granularity-adds-cost-savings/ • New – Amazon EBS gp3 Volume Lets You Provision Performance Apart From Capacity https://aws.amazon.com/blogs/aws/new-amazon-ebs-gp3-volume-lets- you-provision-performance-separate-from-capacity-and-offers-20-lower- price/ It lets customers independently increase IOPS and throughput without having to provision additional block storage capacity, paying only for the resources they need.