SlideShare a Scribd company logo
1 of 16
Download to read offline
AWS Cost
Optimization
H O W T O R E D U C E A W S C O S T S ?
About Speaker
Liudmyla Dziubynska
CTO at Zenbit Tech
Expert in full-stack development and AWS
Proficient in modern technologies including ReactJS, NodeJS, GraphQL,
TypeScript
In-depth knowledge of cloud cost optimization techniques and strategies
Proven experience in cloud migration and deployment
Skilled in cloud security and data management
Familiar with cloud monitoring and analytics tools, such as Amazon CloudWatch
Knowledge of cloud resource management tools, such as AWS Auto Scaling or
Kubernetes
Experienced with cloud-based storage solutions, such as Amazon S3 or Google
Cloud Storage
Prepare before moving
Clean up unneeded resources
Regular or infrequent access s3 Scheduling
Reserved instances
Delete unused resources
Make resources in the way they
should be before move them into
the cloud
Whether you utilize S3, they offer a tool
that checks if you should use it regularly
or frequently
reserved instances get a 72% discount
compared to "on demand," and
prepayment increases the savings.
Here is an overview of the level of cost optimization
that depends on impact and complexity. Let me
give you some ideas where to start
turn on and off resources base on
schedule (AWS instance scheduler) for
example dev env when team is not
working
AWS cost
optimization options
Example of S3 or frequent access
Example: You retrieve 1% (100GB) of 10TB of seldom visited files per month and serve 100K GET requests.
Compare Standard, Standard Infrequent Access, and One Zone Infrequent Access prices below:
A few architectural areas to focus
on - Networking
From a cost optimization point better to
create as many instances as needed inside
one region
The same rule works for ec2 as well as for RDS
instances, the most common use case: is to
create a read replica for your Database
1. Networking
Try to make data calculations inside AWS, to
pay less for outbound traffic
2d option - data transfer will be free, and
only 50kb result will be charged
2. S3 bucket has its own calculation:
Use cloud front above the S3 is cheaper then
use s3 directly
Amazon S3 Transfer Acceleration can speed up content
transfers to and from Amazon S3 by as much as 50-
500% for long-distance transfer of larger objects
Faster transfer times (50 to 500% better)
Additional cost on top of Data Transfer
Pricing: +$0.04 to $0.08 per GB
(slightly cheaper than S3)
Caching capability (lower latency)
Reduce costs associated with S3 Requests
Pricing (7x cheaper with CloudFront)
S3 ingress: free
S3 to Internet: $0.09 per GB
S3 Transfer Acceleration:
S3 to CloudFront: $0.00 per GB
CloudFront to Internet: $0.085 per GB
S3 Cross Region Replication: $0.02 per GB
10.0.0/0
10.0.0.0/16
10.0.0.0/16
Destination
Destination
pl-id for Amazon
S3
igw-id
vpce-id
Local
Local
Target
Target
3. NAT Gateway vs Gateway VPC Endpoint
Subnet 1 route table
Subnet 2 route table
Re-architecting and designing for cost
01
02
04
06
03
05
08
07
Spot EC2
Static Web Hosting on S3
Deliver Content with AWS
CloudFront and Catching
DynamoDB on-demand +
Auto Scaling
Serverless & AWS Lambda
ELB to Application Load Balancer
Containerization
Running resources cheaply
and analyzing redundancy
Example in price between regions
1 ELB sends traffic to 5 c5.large instances in
the same Availability Zone that are running
Amazon Linux.
Each instance has 20GB of EBS SSD storage,
and each instance receives 100GB/month
from the ELB and sends 1TB/month back to
the ELB - therefore the ELB processes
5.1TB/month.
N. Virginia is
typically the
cheapest region
It costs 52% more to deploy this
infrastructure in Sao Paulo compared to N.
Virginia.
Not all regions in Europe cost the
same. Stockholm would cost 11%
less compared to Paris.
Example in price between regions
01
02
Track pricing
changes as your
product grows
Need to track how the price changes when your product
grows or more services are used
Start using the Cost Explorer tool on a
monthly or quarterly basis. try to
concentrate on the top 3|5 expenses and
let your team investigate them deeper
Let team access to see the cost that was
spent on the services, and set up a
responsible person for cost management
03 Use Compute optimizer
04
AWS Budgets - Set custom budgets that trigger alerts when cost or usage exceeds or are only
forecasted to exceed a budgeted amount. Budgets can be set based on tags and accounts as well
as resource types.
05
One of the keys to reducing cloud bills is to have visibility
into services. CloudWatch is an AWS tool for collecting
and tracking metrics, monitoring log files, creating of
resource alarms, and setting an automatic reaction to
changes in AWS resources.
Example of usage: You can set up an alarm with a
notification when an EC2 CPU utilization goes below 20%
and take action after investigating why the instance is
underutilized.
Amazon CloudWatch
Join our Cloud Solutions Hub LinkedIn Group!
Contact us
We will be glad to answer on any questions!
Email: liudmyla.dziubynska@zenbit.tech
Our LinkedIn Cloud Solutions Hub group:
https://www.linkedin.com/groups/12778781/
LinkedIn: https://www.linkedin.com/in/liudmyla-dziubynska/
Liudmyla Dziubynska
CTO at Zenbit Tech

More Related Content

Similar to AWS Cost Optimization.pdf

Aws cloud best_practices
Aws cloud best_practicesAws cloud best_practices
Aws cloud best_practices
Suruli Kannan
 
Migrating Enterprise Applications to AWS
Migrating Enterprise Applications to AWSMigrating Enterprise Applications to AWS
Migrating Enterprise Applications to AWS
Tom Laszewski
 

Similar to AWS Cost Optimization.pdf (20)

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...
 
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
 
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
 
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...
 
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
 
Cloud migration-main
Cloud migration-mainCloud migration-main
Cloud migration-main
 
Cloud migration-main
Cloud migration-mainCloud migration-main
Cloud migration-main
 
Optimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS Services Optimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS Services
 
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
 
Value, TCO & Cost Optimisation
Value, TCO & Cost OptimisationValue, TCO & Cost Optimisation
Value, TCO & Cost Optimisation
 
AWS 101 Webinar: Journey to the AWS Cloud - Introduction to Cloud Computing w...
AWS 101 Webinar: Journey to the AWS Cloud - Introduction to Cloud Computing w...AWS 101 Webinar: Journey to the AWS Cloud - Introduction to Cloud Computing w...
AWS 101 Webinar: Journey to the AWS Cloud - Introduction to Cloud Computing w...
 
Cloud Economics, from Genesis to Scale
Cloud Economics, from Genesis to ScaleCloud Economics, from Genesis to Scale
Cloud Economics, from Genesis to Scale
 
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
 
Aws cloud best_practices
Aws cloud best_practicesAws cloud best_practices
Aws cloud best_practices
 
How To Reduce Cost In AWS
How To Reduce Cost In AWSHow To Reduce Cost In AWS
How To Reduce Cost In AWS
 
From TCO to Optimization at Scale - Pop-up Loft TLV 2017
From TCO to Optimization at Scale - Pop-up Loft TLV 2017From TCO to Optimization at Scale - Pop-up Loft TLV 2017
From TCO to Optimization at Scale - Pop-up Loft TLV 2017
 
Operations: Cost Optimization - Don't Overspend on Infrastructure
Operations: Cost Optimization - Don't Overspend on Infrastructure Operations: Cost Optimization - Don't Overspend on Infrastructure
Operations: Cost Optimization - Don't Overspend on Infrastructure
 
AWS Cost Optimization: Comprehensive Overview of Design Principles, Optimizat...
AWS Cost Optimization: Comprehensive Overview of Design Principles, Optimizat...AWS Cost Optimization: Comprehensive Overview of Design Principles, Optimizat...
AWS Cost Optimization: Comprehensive Overview of Design Principles, Optimizat...
 
BDA311 Introduction to AWS Glue
BDA311 Introduction to AWS GlueBDA311 Introduction to AWS Glue
BDA311 Introduction to AWS Glue
 
Migrating Enterprise Applications to AWS
Migrating Enterprise Applications to AWSMigrating Enterprise Applications to AWS
Migrating Enterprise Applications to AWS
 

More from Zen Bit Tech

More from Zen Bit Tech (6)

Disaster Recovery on AWS Cloud.pdf
Disaster Recovery on AWS Cloud.pdfDisaster Recovery on AWS Cloud.pdf
Disaster Recovery on AWS Cloud.pdf
 
Service for Storing Secrets on Microsoft Azure.pdf
Service for Storing Secrets on Microsoft Azure.pdfService for Storing Secrets on Microsoft Azure.pdf
Service for Storing Secrets on Microsoft Azure.pdf
 
Services for Storing Secrets on AWS.pdf
Services for Storing Secrets on AWS.pdfServices for Storing Secrets on AWS.pdf
Services for Storing Secrets on AWS.pdf
 
Cloud Migration.pdf
Cloud Migration.pdfCloud Migration.pdf
Cloud Migration.pdf
 
Protect your Data on AWS using the Encryption method.pdf
Protect your Data on AWS using the Encryption method.pdfProtect your Data on AWS using the Encryption method.pdf
Protect your Data on AWS using the Encryption method.pdf
 
Building a GDPR-compliant architecture on AWS.pdf
Building a GDPR-compliant architecture on AWS.pdfBuilding a GDPR-compliant architecture on AWS.pdf
Building a GDPR-compliant architecture on AWS.pdf
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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....
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
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)
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
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
 

AWS Cost Optimization.pdf

  • 1. AWS Cost Optimization H O W T O R E D U C E A W S C O S T S ?
  • 2. About Speaker Liudmyla Dziubynska CTO at Zenbit Tech Expert in full-stack development and AWS Proficient in modern technologies including ReactJS, NodeJS, GraphQL, TypeScript In-depth knowledge of cloud cost optimization techniques and strategies Proven experience in cloud migration and deployment Skilled in cloud security and data management Familiar with cloud monitoring and analytics tools, such as Amazon CloudWatch Knowledge of cloud resource management tools, such as AWS Auto Scaling or Kubernetes Experienced with cloud-based storage solutions, such as Amazon S3 or Google Cloud Storage
  • 3. Prepare before moving Clean up unneeded resources Regular or infrequent access s3 Scheduling Reserved instances Delete unused resources Make resources in the way they should be before move them into the cloud Whether you utilize S3, they offer a tool that checks if you should use it regularly or frequently reserved instances get a 72% discount compared to "on demand," and prepayment increases the savings. Here is an overview of the level of cost optimization that depends on impact and complexity. Let me give you some ideas where to start turn on and off resources base on schedule (AWS instance scheduler) for example dev env when team is not working AWS cost optimization options
  • 4. Example of S3 or frequent access Example: You retrieve 1% (100GB) of 10TB of seldom visited files per month and serve 100K GET requests. Compare Standard, Standard Infrequent Access, and One Zone Infrequent Access prices below:
  • 5. A few architectural areas to focus on - Networking From a cost optimization point better to create as many instances as needed inside one region The same rule works for ec2 as well as for RDS instances, the most common use case: is to create a read replica for your Database
  • 6. 1. Networking Try to make data calculations inside AWS, to pay less for outbound traffic 2d option - data transfer will be free, and only 50kb result will be charged
  • 7. 2. S3 bucket has its own calculation: Use cloud front above the S3 is cheaper then use s3 directly Amazon S3 Transfer Acceleration can speed up content transfers to and from Amazon S3 by as much as 50- 500% for long-distance transfer of larger objects Faster transfer times (50 to 500% better) Additional cost on top of Data Transfer Pricing: +$0.04 to $0.08 per GB (slightly cheaper than S3) Caching capability (lower latency) Reduce costs associated with S3 Requests Pricing (7x cheaper with CloudFront) S3 ingress: free S3 to Internet: $0.09 per GB S3 Transfer Acceleration: S3 to CloudFront: $0.00 per GB CloudFront to Internet: $0.085 per GB S3 Cross Region Replication: $0.02 per GB
  • 8. 10.0.0/0 10.0.0.0/16 10.0.0.0/16 Destination Destination pl-id for Amazon S3 igw-id vpce-id Local Local Target Target 3. NAT Gateway vs Gateway VPC Endpoint Subnet 1 route table Subnet 2 route table
  • 9. Re-architecting and designing for cost 01 02 04 06 03 05 08 07 Spot EC2 Static Web Hosting on S3 Deliver Content with AWS CloudFront and Catching DynamoDB on-demand + Auto Scaling Serverless & AWS Lambda ELB to Application Load Balancer Containerization Running resources cheaply and analyzing redundancy
  • 10. Example in price between regions 1 ELB sends traffic to 5 c5.large instances in the same Availability Zone that are running Amazon Linux. Each instance has 20GB of EBS SSD storage, and each instance receives 100GB/month from the ELB and sends 1TB/month back to the ELB - therefore the ELB processes 5.1TB/month.
  • 11. N. Virginia is typically the cheapest region It costs 52% more to deploy this infrastructure in Sao Paulo compared to N. Virginia. Not all regions in Europe cost the same. Stockholm would cost 11% less compared to Paris. Example in price between regions
  • 12. 01 02 Track pricing changes as your product grows Need to track how the price changes when your product grows or more services are used Start using the Cost Explorer tool on a monthly or quarterly basis. try to concentrate on the top 3|5 expenses and let your team investigate them deeper Let team access to see the cost that was spent on the services, and set up a responsible person for cost management
  • 13. 03 Use Compute optimizer
  • 14. 04 AWS Budgets - Set custom budgets that trigger alerts when cost or usage exceeds or are only forecasted to exceed a budgeted amount. Budgets can be set based on tags and accounts as well as resource types.
  • 15. 05 One of the keys to reducing cloud bills is to have visibility into services. CloudWatch is an AWS tool for collecting and tracking metrics, monitoring log files, creating of resource alarms, and setting an automatic reaction to changes in AWS resources. Example of usage: You can set up an alarm with a notification when an EC2 CPU utilization goes below 20% and take action after investigating why the instance is underutilized. Amazon CloudWatch
  • 16. Join our Cloud Solutions Hub LinkedIn Group! Contact us We will be glad to answer on any questions! Email: liudmyla.dziubynska@zenbit.tech Our LinkedIn Cloud Solutions Hub group: https://www.linkedin.com/groups/12778781/ LinkedIn: https://www.linkedin.com/in/liudmyla-dziubynska/ Liudmyla Dziubynska CTO at Zenbit Tech