SlideShare ist ein Scribd-Unternehmen logo
1 von 104
P U B L I C S E C T O R
S U M M I T
WASHINGTO N DC
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Cost Optimization on AWS
Matt Johnson
Manager, Solutions Architecture
Amazon Web Services
3 1 6 5 8 5
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Objectives for today
To reduce the amount you spend on
Amazon Web Services…
…for your existing workloads 
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
What we’ll cover
Cost Optimization Framework2
What Next?3
Total Cost of Ownership1
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Total Cost of Ownership
Compares
the acquisition and operating costs
for running your application workloads
end-to-end
on-premises vs. AWS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Total Cost of Ownership: Initial questions
Capacity
Planning
1 How do you plan for capacity?
How many servers have you added in the past year? Anticipating next year?
Can you switch your hardware on and off and only pay for what is used?
Utilization
2
What is your average server utilization?
How much do you overprovision for peak load?
Operations
3 Will you run out of data center space some time in the future?
What was your last year power utility bill for the data center(s)?
Have you budgeted for both average and peak power requirements?
Optimization
4
Are you on AWS today?
Are you cost-optimized?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Total Cost of Ownership: Today’s focus
Capacity
Planning
1 How do you plan for capacity?
How many servers have you added in the past year? Anticipating next year?
Can you switch your hardware on and off and only pay for what is used?
Utilization
2
What is your average server utilization?
How much do you overprovision for peak load?
Operations
3 Will you run out of data center space some time in the future?
What was your last year power utility bill for the Data Center(s)?
Have you budgeted for both average and peak power requirements?
Optimization
4
Are you on AWS today?
Are you cost-optimized?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
https://aws.amazon.com/well-architected/
AWS Well-Architected
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Learn AWS best practices
Build and deploy faster
Lower or mitigate risks
Make informed decisions
Well-Architected: What is it?
Developed to help cloud architects build secure, high performing, resilient,
and cost efficient infrastructure for their applications.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well-Architected: Common design principles
Stop guessing your
capacity needs
Automate to allow
architectural
experimentation
Test systems at
production scale
Allow for evolutionary
architectures
Drive architectures
using data
Improve through
Game Days
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well-Architected: The 5 pillars
Security Reliability
Performance
efficiency
Cost
optimization
Operational
excellence
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well-Architected: Design principles
General
design principles
Pillar-specific
design principles
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well-Architected: Cost optimization design
principles
Adopt a
consumption model
Stop spending money
on datacenter
operations
Measure overall
efficiency
Analyze and attribute
expenditure
Use managed services
to reduce TCO
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well-Architected: Cost optimization areas of
focus
Cost-effective
resources
Matching supply
with demand
Expenditure
awareness
Optimizing over
time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Cost-effective
Resources
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well Architected – Cost Optimization
Cost-effective resources
• Managed services
• Appropriate provisioning
• Right-sizing
• Purchasing options
• Geographic selection
• Optimised data transfer
Matching supply with demand
Usage & expenditure awareness
Optimising over time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well Architected – Cost Optimization
Cost-effective resources
• Managed services
• Appropriate provisioning
• Right-sizing
• Purchasing options
• Geographic selection
• Optimised data transfer
Matching supply with demand
Usage & expenditure awareness
Optimising over time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Managed services
Remove the burden of undifferentiated heavy lifting
• Focus on innovating rather than keeping the lights on
• Inherit AWS’s approach to security, availability, performance
Managed services operate at cloud scale
• Can offer a lower cost per transaction or service
Help reduce or retire technical debt
• Move to services that are maintained by AWS
• Potential to remove or reduce license costs
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Managed services: Compute options
Amazon Elastic
Container Service
Amazon Elastic
Container Service
for Kubernetes
AWS Fargate AWS LambdaAWS Elastic
Beanstalk
Amazon
Elastic
Compute
Cloud
(Amazon EC2)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Amazon
Relational
Database
Service
(Amazon
RDS)
Managed services: Relational database options
Amazon
Athena
Amazon
Redshift
Amazon
Aurora
Serverless
Amazon EC2
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Managed services: NoSQL database options
Amazon
DynamoDB
Amazon
DocumentDB
(with MongoDB
compatibility)
Amazon EC2
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Managed services: Message queue options
Amazon EC2 Amazon Simple
Queue Service
(Amazon) SQS
Amazon MQ
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Managed services: Takeaway
What services do you currently run (either on-premises or
already in AWS) that could be replaced by an AWS
managed service?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate Provisioning
Choose the right application architecture to meet your business
requirements
• Steady-state vs burst workloads
• Consolidated vs separated workloads
• Cost vs performance trade-offs
Understand the requirements of adjusting the service capacity
• If the time to adjust is longer than you want, consider over-provisioning
• Use APIs that are integrated with monitoring tools such as Amazon CloudWatch
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate provisioning: Architectural choices
Steady-state vs burst workloads
• Bursting workloads often favor Serverless / Microservices architectural patterns
• High throughput analytics workloads may benefit from constant compute capacity
Consolidated vs separated workloads
• Can you combine multiple services (i.e., multiple databases on Amazon RDS)?
• Do workloads require isolation from other processes / data?
Cost vs performance trade-offs
• Is performance or cost optimisation the key business requirement?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate provisioning: Serverless
No Server
Management
Flexible
Scaling
High
Availability
No Idle
Capacity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate provisioning: Server vs Serverless
Scenario 1: Constant, steady-state application workload
• 16 concurrent processes running constantly
• each process requiring 512 MB RAM
Scenario 2: Bursty HTTPS-based API service
• ~600k requests per month
• 200ms and 128 MB used per request
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate provisioning: Server vs Serverless
Line Item (monthly cost) Scenario 1 Scenario 2
EC2 instance (c5.large)
2 x 730 x $0.085
$124.10
2 x 730 x $0.085
$124.10
Application Load Balancer
730 x $0.0225
$16.43
730 x $0.0225
$16.43
Server-based TOTAL $140.53 $140.53
Lambda Function - Compute
16 x 730 * 36,000 * $0.000000834
$350.68
2 x 600,000 x $0.000000208
$0.25
Lambda Function – Requests
46,720 x $0.0000002
$0.009
600,000 x $0.0000002
$0.12
Amazon API Gateway –
Requests
N/A
600,000 * $0.0000035
$2.10
Serverless-based TOTAL $350.68 $2.47
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate provisioning: Server vs Serverless
Line Item (monthly cost) Scenario 1 Scenario 2
EC2 instance (c5.large)
2 x 730 x $0.085
$124.10
2 x 730 x $0.085
$124.10
Application Load Balancer
730 x $0.0225
$16.43
730 x $0.0225
$16.43
Server-based TOTAL $140.53 $140.53
Lambda Function - Compute
16 x 730 * 36,000 * $0.000000834
$350.68
2 x 600,000 x $0.000000208
$0.25
Lambda Function – Requests
46,720 x $0.0000002
$0.009
600,000 x $0.0000002
$0.12
API Gateway – Requests N/A
600,000 * $0.0000035
$2.10
Serverless-based TOTAL $350.68 $2.47
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate provisioning: Server vs Serverless
Line Item (monthly cost) Scenario 1 Scenario 2
EC2 instance (c5.large)
2 x 730 x $0.085
$124.10
2 x 730 x $0.085
$124.10
Application Load Balancer
730 x $0.0225
$16.43
730 x $0.0225
$16.43
Server-based TOTAL $140.53 $140.53
Lambda Function - Compute
16 x 730 * 36,000 * $0.000000834
$350.68
2 x 600,000 x $0.000000208
$0.25
Lambda Function – Requests
46,720 x $0.0000002
$0.009
600,000 x $0.0000002
$0.12
API Gateway – Requests N/A
600,000 * $0.0000035
$2.10
Serverless-based TOTAL $350.68 $2.47
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate provisioning: Server vs Serverless
Line Item (monthly cost) Scenario 1 Scenario 2
EC2 instance (c5.large)
2 x 730 x $0.085
$124.10
2 x 730 x $0.085
$124.10
Application Load Balancer
730 x $0.0225
$16.43
730 x $0.0225
$16.43
Server-based TOTAL $140.53 $140.53
Lambda Function - Compute
16 x 730 * 36,000 * $0.000000834
$350.68
2 x 600,000 x $0.000000208
$0.25
Lambda Function – Requests
46,720 x $0.0000002
$0.009
600,000 x $0.0000002
$0.12
API Gateway – Requests N/A
600,000 * $0.0000035
$2.10
Serverless-based TOTAL $350.68 $2.47
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate provisioning: Server vs Serverless
Line Item (monthly cost) Scenario 1 Scenario 2
EC2 instance (c5.large)
2 x 730 x $0.085
$124.10
2 x 730 x $0.085
$124.10
Application Load Balancer
730 x $0.0225
$16.43
730 x $0.0225
$16.43
Server-based TOTAL $140.53 $140.53
Lambda Function - Compute
16 x 730 * 36,000 * $0.000000834
$350.68
2 x 600,000 x $0.000000208
$0.25
Lambda Function – Requests
46,720 x $0.0000002
$0.009
600,000 x $0.0000002
$0.12
API Gateway – Requests N/A
600,000 * $0.0000035
$2.10
Serverless-based TOTAL $350.68 $2.47
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate provisioning: Cost Conscious
Design
Example: Should I use Amazon Simple Storage Service (Amazon S3) or
Amazon DynamoDB?
https://calculator.s3.amazonaws.com/index.html
AWS Simple
Monthly
Calculator
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate provisioning: Cost-conscious
design
Request rate
(Writes/sec)
Object size
(Bytes)
Total size
(GB/month)
Objects per month
300 2,048 1,483 777,600,000
Scenario
• Application making high number of writes per second
• Need to understand the most cost-effective AWS storage service
Amazon S3 or Amazon DynamoDB
Request rate
(Writes/sec)
Object size
(Bytes)
Total size
(GB/month)
Objects per
month
300 2,048 1,483 777,600,000
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Amazon S3 or Amazon DynamoDB
“…but what happens if I change the object size to 32 KB?”
Request rate
(Writes/sec)
Object size
(Bytes)
Total size
(GB/month)
Objects per month
300 32,768 23,730 777,600,000
Amazon S3 or Amazon DynamoDB
Request rate
(Writes/sec)
Object size
(Bytes)
Total size
(GB/month)
Objects per
month
300 32,768 23,730 777,600,000
Amazon S3 or Amazon DynamoDB
Request rate
(Writes/sec)
Object size
(Bytes)
Total size
(GB/month)
Objects per month
Option 1 300 2,048 1,483 777,600,000
Option 2 300 32,768 23,730 777,600,000
use
use
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Appropriate provisioning: Takeaway
Have you selected the right architectures and associated
AWS services needed to deliver each of your workloads?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Right-sizing
Use the lowest cost resources
• that meet the requirements of the specific workload
Iterate by adjusting the size of resources to optimize for costs
• Assess the cost of modification
Monitor resources and alarms to provide the data for right-sizing
• Monitoring should accurately reflect the end-user experience
• Select the correct granularity for the time period
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Right-sizing: Amazon EC2 instances
Select the cheapest instance available
• Ensure you meet performance requirements
• Consider different instance families, not just sizes
Analyze using CloudWatch metrics
• Monitor CPU, RAM, storage, and network utilization
• Identify potential instances that can be downsized
• Set up custom metrics (i.e. RAM) where needed
Rule of thumb: Right-size first, then reserve
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Right-sizing: Elasticity
More smaller instances vs. fewer larger instances
29 m5.large @ $0.096 /hr
$2,032.32 per month
59 t3.medium @ $0.0416/hr
$1,791.71 per month
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Right-sizing: AWS Lambda functions
Performance test your Lambda function
• Lambda allocates CPU power linearly in proportion to the amount of memory configured
• At 1,792 MB, a function has the equivalent of 1 full vCPU
• memory usage is determined per-invoke and can be viewed in AWS CloudWatch Logs
Identify if your function is memory-bound or cpu-bound
• Various benchmarking tools available on GitHub
Minimize your deployment package size and complexity
• will reduce time that it takes for your deployment package to be downloaded
• Prefer simpler frameworks that load quickly
• Don't put your Lambda function in a VPC unless you have to
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Right-sizing: Amazon S3
Amazon S3 offers a range of storage classes:
• Standard
• Standard – Infrequent Access
• One Zone – Infrequent Access
• Glacier
• Glacier Deep Archive
• Reduced Redundancy (no longer recommended)
Key points to note
• Standard, Standard-IA and One Zone-IA are “real-time” storage tiers
• Glacier and Glacier Deep Archive are “near-line” storage tiers
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Right-sizing: Amazon S3 Storage Options
Standard Standard-IA One Zone-IA Glacier Glacier DA
Storage Pricing (GB/mth) $0.023 $0.0125 $0.01 $0.004 $0.00099
Request Pricing (per 1k GETs) $0.0004 $0.001 $0.001 $0.05 $0.10
Retrieval Pricing (per GB) N/A $0.01 $0.01 $0.01 $0.02
Key points to note
• Storing data in IA tiers is about 50% cheaper than in Standard tier
• Request charges for IA tiers are about 60% more expensive than for Standard tier
• IA tiers charge smaller objects as though they were 128 KB in size
• IA tiers have a minimum storage duration of 30 days; Glacier 90 days, Glacier DA 180 days
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Right-sizing: Amazon S3 Scenario
Assumptions
• 1,000 objects, each 1 GB in size, are stored in Amazon S3
Scenarios
• Scenario 1: every object is retrieved once per quarter
• Scenario 2: every object is retrieved once per month
• Scenario 3: every object is retrieved once per day
What storage class should we use for each scenario?
• We want to optimize for cost over a 12-month period?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Cost components Scenario 1 Scenario 2 Scenario 3
S3 Standard Storage Cost
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
S3 Standard Request Cost
1,000 x 0.0004 x 4
$1.60
1,000 x 0.0004 x 12
$4.80
1,000 x 0.0004 x 365
$146
S3 Standard Annual TOTAL $277.60 $280.40 $422
S3-IA Storage Cost
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
S3-IA Request Cost
1,000 x 0.001 x 4
$4.00
1,000 x 0.001 x 12
$12.00
1,000 x 0.001 x 365
$365.00
S3-IA Retrieval Cost
1,000 x 0.01 x 4
$40.00
1,000 x 0.01 x 12
$120.00
1,000 x 0.01 x 365
$3,650.00
S3-IA Annual TOTAL $194.00 $282.00 $4,165.00
Right-sizing: Amazon S3 Scenarios
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Cost components Scenario 1 Scenario 2 Scenario 3
S3 Standard Storage Cost
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
S3 Standard Request Cost
1,000 x 0.0004 x 4
$1.60
1,000 x 0.0004 x 12
$4.80
1,000 x 0.0004 x 365
$146
S3 Standard Annual TOTAL $277.60 $280.40 $422
S3-IA Storage Cost
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
S3-IA Request Cost
1,000 x 0.001 x 4
$4.00
1,000 x 0.001 x 12
$12.00
1,000 x 0.001 x 365
$365.00
S3-IA Retrieval Cost
1,000 x 0.01 x 4
$40.00
1,000 x 0.01 x 12
$120.00
1,000 x 0.01 x 365
$3,650.00
S3-IA Annual TOTAL $194.00 $282.00 $4,165.00
Right-sizing: Amazon S3 Scenarios
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Cost components Scenario 1 Scenario 2 Scenario 3
S3 Standard Storage Cost
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
S3 Standard Request Cost
1,000 x 0.0004 x 4
$1.60
1,000 x 0.0004 x 12
$4.80
1,000 x 0.0004 x 365
$146
S3 Standard Annual TOTAL $277.60 $280.40 $422
S3-IA Storage Cost
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
S3-IA Request Cost
1,000 x 0.001 x 4
$4.00
1,000 x 0.001 x 12
$12.00
1,000 x 0.001 x 365
$365.00
S3-IA Retrieval Cost
1,000 x 0.01 x 4
$40.00
1,000 x 0.01 x 12
$120.00
1,000 x 0.01 x 365
$3,650.00
S3-IA Annual TOTAL $194.00 $282.00 $4,165.00
Right-sizing: Amazon S3 Scenarios
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Cost components Scenario 1 Scenario 2 Scenario 3
S3 Standard Storage Cost
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
S3 Standard Request Cost
1,000 x 0.0004 x 4
$1.60
1,000 x 0.0004 x 12
$4.80
1,000 x 0.0004 x 365
$146
S3 Standard Annual TOTAL $277.60 $280.40 $422
S3-IA Storage Cost
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
S3-IA Request Cost
1,000 x 0.001 x 4
$4.00
1,000 x 0.001 x 12
$12.00
1,000 x 0.001 x 365
$365.00
S3-IA Retrieval Cost
1,000 x 0.01 x 4
$40.00
1,000 x 0.01 x 12
$120.00
1,000 x 0.01 x 365
$3,650.00
S3-IA Annual TOTAL $194.00 $282.00 $4,165.00
Right-sizing: Amazon S3 Scenarios
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Cost components Scenario 1 Scenario 2 Scenario 3
S3 Standard Storage Cost
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
S3 Standard Request Cost
1,000 x 0.0004 x 4
$1.60
1,000 x 0.0004 x 12
$4.80
1,000 x 0.0004 x 365
$146
S3 Standard Annual TOTAL $277.60 $280.40 $422.00
S3-IA Storage Cost
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
S3-IA Request Cost
1,000 x 0.001 x 4
$4.00
1,000 x 0.001 x 12
$12.00
1,000 x 0.001 x 365
$365.00
S3-IA Retrieval Cost
1,000 x 0.01 x 4
$40.00
1,000 x 0.01 x 12
$120.00
1,000 x 0.01 x 365
$3,650.00
S3-IA Annual TOTAL $194.00 $282.00 $4,165.00
Right-sizing: Amazon S3 Scenarios
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Cost components Scenario 1 Scenario 2 Scenario 3
S3 Standard Storage Cost
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
S3 Standard Request Cost
1,000 x 0.0004 x 4
$1.60
1,000 x 0.0004 x 12
$4.80
1,000 x 0.0004 x 365
$146
S3 Standard Annual TOTAL $277.60 $280.40 $422.00
S3-IA Storage Cost
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
S3-IA Request Cost
1,000 x 0.001 x 4
$4.00
1,000 x 0.001 x 12
$12.00
1,000 x 0.001 x 365
$365.00
S3-IA Retrieval Cost
1,000 x 0.01 x 4
$40.00
1,000 x 0.01 x 12
$120.00
1,000 x 0.01 x 365
$3,650.00
S3-IA Annual TOTAL $194.00 $282.00 $4,165.00
Right-sizing: Amazon S3 Scenarios
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Cost components Scenario 1 Scenario 2 Scenario 3
S3 Standard Storage Cost
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
1,000 x 0.023 x 12
$276.00
S3 Standard Request Cost
1,000 x 0.0004 x 4
$1.60
1,000 x 0.0004 x 12
$4.80
1,000 x 0.0004 x 365
$146
S3 Standard Annual TOTAL $277.60 $280.40 $422.00
S3-IA Storage Cost
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
1,000 x 0.0125 x 12
$150.00
S3-IA Request Cost
1,000 x 0.001 x 4
$4.00
1,000 x 0.001 x 12
$12.00
1,000 x 0.001 x 365
$365.00
S3-IA Retrieval Cost
1,000 x 0.01 x 4
$40.00
1,000 x 0.01 x 12
$120.00
1,000 x 0.01 x 365
$3,650.00
S3-IA Annual TOTAL $194.00 $282.00 $4,165.00
Right-sizing: Amazon S3 Scenarios
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Right-sizing: Amazon S3
Rule of thumb: if you’re retrieving an object once per month or more,
Standard is more cost effective storage class than Infrequent Access
• Remember, storage classes can be set on a per-object basis, not just per bucket
• Managing storage classes on a per-object basis can be complex and time-consuming
Consider using Amazon S3 Intelligent-Tiering if you have changing or
unknown access patterns
• Automatically moves your data based on changing access patterns
• Moves data between Standard and Infrequent-Access tiers
• Additional management charge ($0.0025 per 1,000 objects per month)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Right-sizing: Takeaway
When was the last time you reviewed your AWS
infrastructure and looked for right-sizing opportunities?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Purchasing options
On-demand: pay per unit of capacity as used
• Examples: Amazon EC2, Amazon S3
Provisioned: pay per unit of capacity as provisioned
• Examples: Amazon DynamoDB, Amazon Kinesis Data Streams
Reserved: discounted pricing in return for a fixed-term commitment
• Examples: Amazon EC2, Amazon Elasticsearch Service
Many services support multiple billing options, auto-scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Spot Instances
up to 90% off
?
Reserved
Instances
Significant discount
On-demand
the second or hour
Purchasing options: Amazon EC2
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Purchasing options: Amazon DynamoDB
Provisioned capacity mode
• $0.00065 per Write Capacity Unit (WCU) per hour (1 WCU = 1 x 1 KB write per second)
• $0.00013 per Read Capacity Unit (RCU) per hour (1 RCU = 1 x 4KB read per second)
On-demand mode
• $1.25 per 1m Write Request Units (1 WRU = 1 x 1 KB write)
• $0.25 per 1m Read Request Units (1 RRU = 1 x 4 KB read)
Reserved capacity option (1 / 3 year commitment, 100 unit increments)
• $0.000081 per WCU per hour (assuming 3 year commitment; 87% discount)
• $0.000016 per RCU per hour (assuming 3-year commitment; 87% discount)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Purchasing options: Amazon DynamoDB
Provisioned capacity mode
• Ideal for steady-state or predictably scaling workloads
• Will always have a per hour cost being incurred, even with no activity
On-demand mode
• Use for bursty, unpredictable workloads, small-scale dev/test environments, etc.
• No (transaction) charges when idle
Reserved capacity option (1 / 3 year commitment, 100 unit increments)
• Can be mixed with provisioned capacity mode
• Reserved capacity can be shared across linked accounts in an AWS Organization
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Purchasing options: Takeaway
Look across your AWS infrastructure for opportunities to
optimize the way in which you purchase services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Matching
Supply with
Demand
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well Architected – Cost Optimization
Cost-effective resources
Matching supply with demand
• Demand-based
• Buffer-based
• Time-based
Usage & expenditure awareness
Optimising over time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well Architected – Cost Optimization
Cost-effective resources
Matching supply with demand
• Demand-based
• Buffer-based
• Time-based
Usage & expenditure awareness
Optimising over time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Demand-based
Leveraging the elasticity of the cloud to meet demand as it changes can
provide significant cost savings
• programmatically vary the amount of cloud resources in your architecture dynamically
• increase the number of resources during demand spikes to maintain performance
• decrease capacity when demand subsides to reduce costs
Within AWS this is normally accomplished using Auto Scaling
• EC2 Auto Scaling: Add or remove compute capacity to meet changes in demand
• AWS Auto Scaling: Configure and manage scaling for scalable AWS resources through a
scaling plan
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Demand-based: Amazon EC2 elastic provisioning
EC2 Auto Scaling allows you to:
• React dynamically to changes in load
• Schedule regular workloads
• Optimise your instance usage
• Reduce over-provisioning
• No cost service!
AWS Auto Scaling
• Unified scaling for your
cloud applications
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Demand-based: Takeaway
Look across your workloads and consider what metrics you
could use with auto-scaling to ensure capacity is closely
aligned with demand
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Time-based
A time-based approach aligns resource capacity to demand that is
predictable or well defined by time
• typically not dependent upon utilization levels of the resources
• ensures that resources are available at the specific time they are required
• provided without any delays due to start-up procedures
Key considerations
• how consistent is the usage pattern?
• what is the impact if the pattern changes?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Time-based: Workload scheduling
100.0
71.4
35.7
29.8
0
20
40
60
80
100
24 x 7 24 x 5 12 x 5 10 x 5
% Running Time
Up to 70%
savings for non-
production
workloads
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
AWS Instance Scheduler
AWS-provided solution
• Custom start & stop schedules
• Works with Amazon EC2 & Amazon RDS instances
• Deploy using AWS CloudFormation
Selectively tag instances to schedule
• Multiple schedules per instance
• 5-minute granularity
https://aws.amazon.com/answers/infrastructure-
management/instance-scheduler/
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Time-based: Takeaway
Identify workloads that don’t need to be running 24x7, and
start scheduling them appropriately
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Usage and
Expenditure
Awareness
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well Architected – Cost Optimization
Cost-effective resources
Matching supply with demand
Usage & expenditure awareness
• Stakeholders
• Tagging
• Cost attribution
• Visibility & governance
• Entity lifecycle tracking
Optimising over time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well Architected – Cost Optimization
Cost-effective resources
Matching supply with demand
Usage & expenditure awareness
• Stakeholders
• Tagging
• Cost attribution
• Visibility & governance
• Entity lifecycle tracking
Optimising over time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Tagging
Tagging provides a number of benefits
• Automation (autoscaling, scheduling)
• Control & compliance (IAM policies)
• Cost allocation (reporting & chargebacks)
Not all resources support tagging
• Not all cost line-items support tagging (e.g., Data transfer charges)
Other tagging gotchas
• Maximum of 50 user-applied tags (not counting system tags)
• Values are optional
• Tags are case-sensitive
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Tagging: Stakeholders & examples
Stakeholder Example Tag Key Example Tag Value
Finance
CostCenter
BudgetCode
Engineering
EG-001
Engineering
Workload
Codebase
Website
Python
Line-of-business owners
Project
User
SuperSecretProject
Alice
IT
BackupRegime
Environment
24x7
Production
Security
PatchStrategy
AutomationSupport
Immutable
True
https://aws.amazon.com/answers/account-management/aws-tagging-strategies/
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Tagging: Using the tag editor
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Tagging: Enabling cost allocation tagging
Enable cost
allocation tags
Refresh to get tag
list from AWS
Organizations
Choose the tags to
activate
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Tagging: Takeaway
Identify and tag all existing resources across your AWS
accounts, and then implement AWS Identity and Access
Management controls to enforce appropriate tagging
policies
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Visibility & governance
Detailed visibility into your AWS environment
• identify opportunities for savings
Cost optimization requires
• a granular understanding of the breakdown in spend
• Ability to model and forecast future spend
• Having sufficient mechanisms in place to align cost and usage to business objectives
AWS provides a suite of reports and tools
• estimate, monitor, plan, notify, report on, and analyze your AWS spend
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Use Cost Explorer to identify opportunities for savings with Reserved Instances, now available for EC2, Amazon RDS, Amazon Redshift,
Elasticache, and Elasticsearch.
Visibility & governance: AWS Cost Explorer
Comprehensive dashboards
• Gain a summary view of key cost
details, including month-to-date costs,
month-end forecasted costs, and
saved reports
Automated trend analysis
• Identifies anomalous cost and usage
events, based on historical patterns
Optimized user experience
• Users of all levels of expertise in your
organization
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Use Cost Explorer to identify opportunities for savings with Reserved Instances, now available for EC2, Amazon RDS, Amazon Redshift,
Elasticache, and Elasticsearch.
Visibility & governance: RI recommendations
Automated purchase
recommendations
• Analyzes your historical usage
patterns to identify potential savings
Customizable parameters
• Purchase RIs that fit your specific
business requirements
Supports multiple AWS services
• Support for Amazon EC2, Amazon
RDS, ElastiCache, Amazon Redshift,
and Amazon Elasticsearch Service
reservations
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Visibility & governance: AWS Budgets
User experience
• Simplified workflows make it easier to
create and manage budgets
Cost Explorer integration
• Provides contextually-relevant data to
help you set budgets appropriately
Review budget performance
• View how your actuals have performed
against your budget
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Visibility & governance: AWS Trusted Advisor
Taking away the heavy lifting of monitoring best practices
• Trusted Advisor provides best practices (or checks)
Red (action recommended)
Yellow (investigation recommended)
Green (no problem detected)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Visibility & governance: Takeaway
Create reports, budgets, and alarms to track spend and
alert when this deviates from expected norms
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Optimising Over
Time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Well Architected – Cost Optimization
Cost-effective resources
Matching supply with demand
Usage & expenditure awareness
Optimising over time
• Measure, monitor, improve
• Staying ever-green
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Optimizing over time
Measure, monitor, improve: perform a gap analysis that tells you how
closely aligned your system utilization is to your requirements
• Establish a cost optimization function
• Establish goals and metrics
• Gather insight and perform analysis
• Report and validate
Stay ever-green
• Review your existing architectural decisions to ensure that they remain cost effective
• Be aggressive in decommissioning resources, components, and workloads that you no
longer require
• Be aware of new managed services as they become available
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Optimizing over time: Takeaway
Assign ownership of the cost optimization function to a team
within your organization and give them the tools needed to
help other teams manage their costs
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Optimizing TCO on AWS
Instance
Right-Sizing
Improved
Elasticity
Storage
Optimization
Optimized
Lift and Shift
Measure
Monitor and
Improve
Managed
Services
AWS
Optimized
On-
Premises
Lift &
Shift
Traditional TCO Comparisons
Serverless
Architecture
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Summary of takeaways (1)
Cost-effective resources
• Reduce undifferentiated heavy lifting by moving towards higher-level AWS services
• Select the right Cloud-native architectures for each workload
• Review your existing workloads and right-size as required
• Make use of the full range of AWS purchasing models
Matching supply and demand
• Make use of auto-scaling to closely match capacity with demand
• Schedule non-production workloads to run only when they are needed
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Summary of takeaways (2)
Usage & expenditure awareness
• Tag all of your resources to enable cost attribution
• Ensure business owners have visibility into their workload costs
• Create reports and budgets, and alert when they deviate from what’s expected
Optimise over time
• Give responsibility (and authority) for cost optimization within your organization
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
Useful Resources
AWS Pricing
 https://aws.amazon.com/pricing/
Online TCO Calculator:
 https://awstcocalculator.com/
AWS Cloud Economics Center:
 https://aws.amazon.com/economics/
AWS Well-Architected Framework
• https://aws.amazon.com/well-architected/
Thank you!
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T
(Please remember to complete your feedback!)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R
S U M M I T

Weitere ähnliche Inhalte

Was ist angesagt?

Cost optimization - Don't overspend on AWS
Cost optimization - Don't overspend on AWSCost optimization - Don't overspend on AWS
Cost optimization - Don't overspend on AWSSandeep Cashyap
 
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivFinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivAmazon Web Services
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesAmazon Web 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 OptimisationAmazon Web Services
 
Reducing the Total Cost of IT Infrastructure with AWS Cloud Economics
Reducing the Total Cost of IT Infrastructure with AWS Cloud EconomicsReducing the Total Cost of IT Infrastructure with AWS Cloud Economics
Reducing the Total Cost of IT Infrastructure with AWS Cloud EconomicsAmazon Web Services
 
AWS Cloud Cost Optimization
AWS Cloud Cost OptimizationAWS Cloud Cost Optimization
AWS Cloud Cost OptimizationTonyStark452635
 
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 StrategiesAmazon Web Services
 
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...Amazon Web Services
 
AWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets ManagerAWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets ManagerAmazon Web Services
 
AWS Global Infrastructure Foundations
AWS Global Infrastructure Foundations AWS Global Infrastructure Foundations
AWS Global Infrastructure Foundations Amazon Web Services
 
Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...
Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...
Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...Edureka!
 
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...Amazon Web Services
 
Introducing AWS DataSync - Simplify, automate, and accelerate online data tra...
Introducing AWS DataSync - Simplify, automate, and accelerate online data tra...Introducing AWS DataSync - Simplify, automate, and accelerate online data tra...
Introducing AWS DataSync - Simplify, automate, and accelerate online data tra...Amazon Web Services
 
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...Amazon Web Services
 

Was ist angesagt? (20)

Cost optimization - Don't overspend on AWS
Cost optimization - Don't overspend on AWSCost optimization - Don't overspend on AWS
Cost optimization - Don't overspend on AWS
 
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivFinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
 
AWS Cost Management Workshop
AWS Cost Management WorkshopAWS Cost Management Workshop
AWS Cost Management Workshop
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
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
 
Reducing the Total Cost of IT Infrastructure with AWS Cloud Economics
Reducing the Total Cost of IT Infrastructure with AWS Cloud EconomicsReducing the Total Cost of IT Infrastructure with AWS Cloud Economics
Reducing the Total Cost of IT Infrastructure with AWS Cloud Economics
 
AWS Cloud Cost Optimization
AWS Cloud Cost OptimizationAWS Cloud Cost Optimization
AWS Cloud Cost Optimization
 
AWS Cost Optimisation Solutions
AWS Cost Optimisation SolutionsAWS Cost Optimisation Solutions
AWS Cost Optimisation Solutions
 
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
 
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...
 
Cloud Economics
Cloud EconomicsCloud Economics
Cloud Economics
 
AWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets ManagerAWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets Manager
 
AWS Global Infrastructure Foundations
AWS Global Infrastructure Foundations AWS Global Infrastructure Foundations
AWS Global Infrastructure Foundations
 
Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...
Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...
Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...
 
Cost Optimization in AWS
Cost Optimization in AWSCost Optimization in AWS
Cost Optimization in AWS
 
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
 
Introducing AWS DataSync - Simplify, automate, and accelerate online data tra...
Introducing AWS DataSync - Simplify, automate, and accelerate online data tra...Introducing AWS DataSync - Simplify, automate, and accelerate online data tra...
Introducing AWS DataSync - Simplify, automate, and accelerate online data tra...
 
Cost Optimization on AWS
Cost Optimization on AWSCost Optimization on AWS
Cost Optimization on AWS
 
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...
Reduce Costs and Build a Strong Operational Foundation with the AWS Migration...
 
Cloud Economics
Cloud EconomicsCloud Economics
Cloud Economics
 

Ähnlich wie Cost Optimization on AWS

AWS Initiate Day Manchester 2019 – AWS Cost Optimisation
AWS Initiate Day Manchester 2019 – AWS Cost OptimisationAWS Initiate Day Manchester 2019 – AWS Cost Optimisation
AWS Initiate Day Manchester 2019 – AWS Cost OptimisationAmazon Web Services
 
AWS Initiate - Otimização de Custos com AWS
AWS Initiate - Otimização de Custos com AWSAWS Initiate - Otimização de Custos com AWS
AWS Initiate - Otimização de Custos com AWSAmazon Web Services LATAM
 
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019AWS Summits
 
EC2 Foundations Autoscaling - The tip of the cost optimisation iceberg
EC2 Foundations Autoscaling - The tip of the cost optimisation icebergEC2 Foundations Autoscaling - The tip of the cost optimisation iceberg
EC2 Foundations Autoscaling - The tip of the cost optimisation icebergAmazon Web Services
 
Innovate - Making Friends with Finance: How to Manage Cost Efficiency and Bud...
Innovate - Making Friends with Finance: How to Manage Cost Efficiency and Bud...Innovate - Making Friends with Finance: How to Manage Cost Efficiency and Bud...
Innovate - Making Friends with Finance: How to Manage Cost Efficiency and Bud...Amazon Web Services
 
Building a Better Business Case for Migrating to Cloud
Building a Better Business Case for Migrating to CloudBuilding a Better Business Case for Migrating to Cloud
Building a Better Business Case for Migrating to CloudAmazon Web Services
 
Failure is not an Option - Designing Highly Resilient AWS Systems
Failure is not an Option - Designing Highly Resilient AWS SystemsFailure is not an Option - Designing Highly Resilient AWS Systems
Failure is not an Option - Designing Highly Resilient AWS SystemsAmazon Web Services
 
Hybrid Solutions at the Edge – Go Global Faster, Efficiently, and More Secure...
Hybrid Solutions at the Edge – Go Global Faster, Efficiently, and More Secure...Hybrid Solutions at the Edge – Go Global Faster, Efficiently, and More Secure...
Hybrid Solutions at the Edge – Go Global Faster, Efficiently, and More Secure...Amazon Web Services
 
Scale - Failure is not an Option: Designing Highly Resilient AWS Systems
Scale - Failure is not an Option: Designing Highly Resilient AWS SystemsScale - Failure is not an Option: Designing Highly Resilient AWS Systems
Scale - Failure is not an Option: Designing Highly Resilient AWS SystemsAmazon Web Services
 
Amazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costiAmazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costiAmazon Web Services
 
Building the Business Case for Migrating to AWS - AWS Summit Sydney
Building the Business Case for Migrating to AWS - AWS Summit SydneyBuilding the Business Case for Migrating to AWS - AWS Summit Sydney
Building the Business Case for Migrating to AWS - AWS Summit SydneyAmazon Web Services
 
Achieving Business Value With AWS
Achieving Business Value With AWSAchieving Business Value With AWS
Achieving Business Value With AWSAmazon Web Services
 
AWS Enterprise Summit Netherlands - Cost Optimisation at Scale
AWS Enterprise Summit Netherlands - Cost Optimisation at ScaleAWS Enterprise Summit Netherlands - Cost Optimisation at Scale
AWS Enterprise Summit Netherlands - Cost Optimisation at ScaleAmazon Web Services
 
Modernizing Architectures in AWS to Drive Efficiency for Municipal Mobility S...
Modernizing Architectures in AWS to Drive Efficiency for Municipal Mobility S...Modernizing Architectures in AWS to Drive Efficiency for Municipal Mobility S...
Modernizing Architectures in AWS to Drive Efficiency for Municipal Mobility S...Amazon Web Services
 
Standard Chartered Bank Cloud Journey
Standard Chartered Bank Cloud JourneyStandard Chartered Bank Cloud Journey
Standard Chartered Bank Cloud JourneyAmazon Web Services
 
Modernizing Your Application Development Environment with a Move to the Cloud
 Modernizing Your Application Development Environment with a Move to the Cloud Modernizing Your Application Development Environment with a Move to the Cloud
Modernizing Your Application Development Environment with a Move to the CloudAmazon Web Services
 
Hybrid Cloud Customer Use Cases on AWS
Hybrid Cloud Customer Use Cases on AWSHybrid Cloud Customer Use Cases on AWS
Hybrid Cloud Customer Use Cases on AWSTom Laszewski
 

Ähnlich wie Cost Optimization on AWS (20)

Cost Optimisation
Cost OptimisationCost Optimisation
Cost Optimisation
 
AWS Initiate Day Manchester 2019 – AWS Cost Optimisation
AWS Initiate Day Manchester 2019 – AWS Cost OptimisationAWS Initiate Day Manchester 2019 – AWS Cost Optimisation
AWS Initiate Day Manchester 2019 – AWS Cost Optimisation
 
Cloud Economics
Cloud EconomicsCloud Economics
Cloud Economics
 
AWS Initiate - Otimização de Custos com AWS
AWS Initiate - Otimização de Custos com AWSAWS Initiate - Otimização de Custos com AWS
AWS Initiate - Otimização de Custos com AWS
 
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
 
EC2 Foundations Autoscaling - The tip of the cost optimisation iceberg
EC2 Foundations Autoscaling - The tip of the cost optimisation icebergEC2 Foundations Autoscaling - The tip of the cost optimisation iceberg
EC2 Foundations Autoscaling - The tip of the cost optimisation iceberg
 
Innovate - Making Friends with Finance: How to Manage Cost Efficiency and Bud...
Innovate - Making Friends with Finance: How to Manage Cost Efficiency and Bud...Innovate - Making Friends with Finance: How to Manage Cost Efficiency and Bud...
Innovate - Making Friends with Finance: How to Manage Cost Efficiency and Bud...
 
Building a Better Business Case for Migrating to Cloud
Building a Better Business Case for Migrating to CloudBuilding a Better Business Case for Migrating to Cloud
Building a Better Business Case for Migrating to Cloud
 
Failure is not an Option - Designing Highly Resilient AWS Systems
Failure is not an Option - Designing Highly Resilient AWS SystemsFailure is not an Option - Designing Highly Resilient AWS Systems
Failure is not an Option - Designing Highly Resilient AWS Systems
 
Hybrid Solutions at the Edge – Go Global Faster, Efficiently, and More Secure...
Hybrid Solutions at the Edge – Go Global Faster, Efficiently, and More Secure...Hybrid Solutions at the Edge – Go Global Faster, Efficiently, and More Secure...
Hybrid Solutions at the Edge – Go Global Faster, Efficiently, and More Secure...
 
Scale - Failure is not an Option: Designing Highly Resilient AWS Systems
Scale - Failure is not an Option: Designing Highly Resilient AWS SystemsScale - Failure is not an Option: Designing Highly Resilient AWS Systems
Scale - Failure is not an Option: Designing Highly Resilient AWS Systems
 
Amazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costiAmazon EC2 Strategie per l'ottimizzazione dei costi
Amazon EC2 Strategie per l'ottimizzazione dei costi
 
Building the Business Case for Migrating to AWS - AWS Summit Sydney
Building the Business Case for Migrating to AWS - AWS Summit SydneyBuilding the Business Case for Migrating to AWS - AWS Summit Sydney
Building the Business Case for Migrating to AWS - AWS Summit Sydney
 
Achieving Business Value With AWS
Achieving Business Value With AWSAchieving Business Value With AWS
Achieving Business Value With AWS
 
AWS Enterprise Summit Netherlands - Cost Optimisation at Scale
AWS Enterprise Summit Netherlands - Cost Optimisation at ScaleAWS Enterprise Summit Netherlands - Cost Optimisation at Scale
AWS Enterprise Summit Netherlands - Cost Optimisation at Scale
 
Modernizing Architectures in AWS to Drive Efficiency for Municipal Mobility S...
Modernizing Architectures in AWS to Drive Efficiency for Municipal Mobility S...Modernizing Architectures in AWS to Drive Efficiency for Municipal Mobility S...
Modernizing Architectures in AWS to Drive Efficiency for Municipal Mobility S...
 
Standard Chartered Bank Cloud Journey
Standard Chartered Bank Cloud JourneyStandard Chartered Bank Cloud Journey
Standard Chartered Bank Cloud Journey
 
AWSome Day 2019 - Mexico City
AWSome Day 2019 - Mexico CityAWSome Day 2019 - Mexico City
AWSome Day 2019 - Mexico City
 
Modernizing Your Application Development Environment with a Move to the Cloud
 Modernizing Your Application Development Environment with a Move to the Cloud Modernizing Your Application Development Environment with a Move to the Cloud
Modernizing Your Application Development Environment with a Move to the Cloud
 
Hybrid Cloud Customer Use Cases on AWS
Hybrid Cloud Customer Use Cases on AWSHybrid Cloud Customer Use Cases on AWS
Hybrid Cloud Customer Use Cases on AWS
 

Mehr von Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Mehr von Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Cost Optimization on AWS

  • 1. P U B L I C S E C T O R S U M M I T WASHINGTO N DC
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Cost Optimization on AWS Matt Johnson Manager, Solutions Architecture Amazon Web Services 3 1 6 5 8 5
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Objectives for today To reduce the amount you spend on Amazon Web Services… …for your existing workloads 
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T What we’ll cover Cost Optimization Framework2 What Next?3 Total Cost of Ownership1
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Total Cost of Ownership Compares the acquisition and operating costs for running your application workloads end-to-end on-premises vs. AWS
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Total Cost of Ownership: Initial questions Capacity Planning 1 How do you plan for capacity? How many servers have you added in the past year? Anticipating next year? Can you switch your hardware on and off and only pay for what is used? Utilization 2 What is your average server utilization? How much do you overprovision for peak load? Operations 3 Will you run out of data center space some time in the future? What was your last year power utility bill for the data center(s)? Have you budgeted for both average and peak power requirements? Optimization 4 Are you on AWS today? Are you cost-optimized?
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Total Cost of Ownership: Today’s focus Capacity Planning 1 How do you plan for capacity? How many servers have you added in the past year? Anticipating next year? Can you switch your hardware on and off and only pay for what is used? Utilization 2 What is your average server utilization? How much do you overprovision for peak load? Operations 3 Will you run out of data center space some time in the future? What was your last year power utility bill for the Data Center(s)? Have you budgeted for both average and peak power requirements? Optimization 4 Are you on AWS today? Are you cost-optimized?
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T https://aws.amazon.com/well-architected/ AWS Well-Architected
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Learn AWS best practices Build and deploy faster Lower or mitigate risks Make informed decisions Well-Architected: What is it? Developed to help cloud architects build secure, high performing, resilient, and cost efficient infrastructure for their applications.
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well-Architected: Common design principles Stop guessing your capacity needs Automate to allow architectural experimentation Test systems at production scale Allow for evolutionary architectures Drive architectures using data Improve through Game Days
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well-Architected: The 5 pillars Security Reliability Performance efficiency Cost optimization Operational excellence
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well-Architected: Design principles General design principles Pillar-specific design principles
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well-Architected: Cost optimization design principles Adopt a consumption model Stop spending money on datacenter operations Measure overall efficiency Analyze and attribute expenditure Use managed services to reduce TCO
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well-Architected: Cost optimization areas of focus Cost-effective resources Matching supply with demand Expenditure awareness Optimizing over time
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Cost-effective Resources
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well Architected – Cost Optimization Cost-effective resources • Managed services • Appropriate provisioning • Right-sizing • Purchasing options • Geographic selection • Optimised data transfer Matching supply with demand Usage & expenditure awareness Optimising over time
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well Architected – Cost Optimization Cost-effective resources • Managed services • Appropriate provisioning • Right-sizing • Purchasing options • Geographic selection • Optimised data transfer Matching supply with demand Usage & expenditure awareness Optimising over time
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Managed services Remove the burden of undifferentiated heavy lifting • Focus on innovating rather than keeping the lights on • Inherit AWS’s approach to security, availability, performance Managed services operate at cloud scale • Can offer a lower cost per transaction or service Help reduce or retire technical debt • Move to services that are maintained by AWS • Potential to remove or reduce license costs
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Managed services: Compute options Amazon Elastic Container Service Amazon Elastic Container Service for Kubernetes AWS Fargate AWS LambdaAWS Elastic Beanstalk Amazon Elastic Compute Cloud (Amazon EC2)
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Amazon Relational Database Service (Amazon RDS) Managed services: Relational database options Amazon Athena Amazon Redshift Amazon Aurora Serverless Amazon EC2
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Managed services: NoSQL database options Amazon DynamoDB Amazon DocumentDB (with MongoDB compatibility) Amazon EC2
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Managed services: Message queue options Amazon EC2 Amazon Simple Queue Service (Amazon) SQS Amazon MQ
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Managed services: Takeaway What services do you currently run (either on-premises or already in AWS) that could be replaced by an AWS managed service?
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate Provisioning Choose the right application architecture to meet your business requirements • Steady-state vs burst workloads • Consolidated vs separated workloads • Cost vs performance trade-offs Understand the requirements of adjusting the service capacity • If the time to adjust is longer than you want, consider over-provisioning • Use APIs that are integrated with monitoring tools such as Amazon CloudWatch
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate provisioning: Architectural choices Steady-state vs burst workloads • Bursting workloads often favor Serverless / Microservices architectural patterns • High throughput analytics workloads may benefit from constant compute capacity Consolidated vs separated workloads • Can you combine multiple services (i.e., multiple databases on Amazon RDS)? • Do workloads require isolation from other processes / data? Cost vs performance trade-offs • Is performance or cost optimisation the key business requirement?
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate provisioning: Serverless No Server Management Flexible Scaling High Availability No Idle Capacity
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate provisioning: Server vs Serverless Scenario 1: Constant, steady-state application workload • 16 concurrent processes running constantly • each process requiring 512 MB RAM Scenario 2: Bursty HTTPS-based API service • ~600k requests per month • 200ms and 128 MB used per request
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate provisioning: Server vs Serverless Line Item (monthly cost) Scenario 1 Scenario 2 EC2 instance (c5.large) 2 x 730 x $0.085 $124.10 2 x 730 x $0.085 $124.10 Application Load Balancer 730 x $0.0225 $16.43 730 x $0.0225 $16.43 Server-based TOTAL $140.53 $140.53 Lambda Function - Compute 16 x 730 * 36,000 * $0.000000834 $350.68 2 x 600,000 x $0.000000208 $0.25 Lambda Function – Requests 46,720 x $0.0000002 $0.009 600,000 x $0.0000002 $0.12 Amazon API Gateway – Requests N/A 600,000 * $0.0000035 $2.10 Serverless-based TOTAL $350.68 $2.47
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate provisioning: Server vs Serverless Line Item (monthly cost) Scenario 1 Scenario 2 EC2 instance (c5.large) 2 x 730 x $0.085 $124.10 2 x 730 x $0.085 $124.10 Application Load Balancer 730 x $0.0225 $16.43 730 x $0.0225 $16.43 Server-based TOTAL $140.53 $140.53 Lambda Function - Compute 16 x 730 * 36,000 * $0.000000834 $350.68 2 x 600,000 x $0.000000208 $0.25 Lambda Function – Requests 46,720 x $0.0000002 $0.009 600,000 x $0.0000002 $0.12 API Gateway – Requests N/A 600,000 * $0.0000035 $2.10 Serverless-based TOTAL $350.68 $2.47
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate provisioning: Server vs Serverless Line Item (monthly cost) Scenario 1 Scenario 2 EC2 instance (c5.large) 2 x 730 x $0.085 $124.10 2 x 730 x $0.085 $124.10 Application Load Balancer 730 x $0.0225 $16.43 730 x $0.0225 $16.43 Server-based TOTAL $140.53 $140.53 Lambda Function - Compute 16 x 730 * 36,000 * $0.000000834 $350.68 2 x 600,000 x $0.000000208 $0.25 Lambda Function – Requests 46,720 x $0.0000002 $0.009 600,000 x $0.0000002 $0.12 API Gateway – Requests N/A 600,000 * $0.0000035 $2.10 Serverless-based TOTAL $350.68 $2.47
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate provisioning: Server vs Serverless Line Item (monthly cost) Scenario 1 Scenario 2 EC2 instance (c5.large) 2 x 730 x $0.085 $124.10 2 x 730 x $0.085 $124.10 Application Load Balancer 730 x $0.0225 $16.43 730 x $0.0225 $16.43 Server-based TOTAL $140.53 $140.53 Lambda Function - Compute 16 x 730 * 36,000 * $0.000000834 $350.68 2 x 600,000 x $0.000000208 $0.25 Lambda Function – Requests 46,720 x $0.0000002 $0.009 600,000 x $0.0000002 $0.12 API Gateway – Requests N/A 600,000 * $0.0000035 $2.10 Serverless-based TOTAL $350.68 $2.47
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate provisioning: Server vs Serverless Line Item (monthly cost) Scenario 1 Scenario 2 EC2 instance (c5.large) 2 x 730 x $0.085 $124.10 2 x 730 x $0.085 $124.10 Application Load Balancer 730 x $0.0225 $16.43 730 x $0.0225 $16.43 Server-based TOTAL $140.53 $140.53 Lambda Function - Compute 16 x 730 * 36,000 * $0.000000834 $350.68 2 x 600,000 x $0.000000208 $0.25 Lambda Function – Requests 46,720 x $0.0000002 $0.009 600,000 x $0.0000002 $0.12 API Gateway – Requests N/A 600,000 * $0.0000035 $2.10 Serverless-based TOTAL $350.68 $2.47
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate provisioning: Cost Conscious Design Example: Should I use Amazon Simple Storage Service (Amazon S3) or Amazon DynamoDB? https://calculator.s3.amazonaws.com/index.html AWS Simple Monthly Calculator
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate provisioning: Cost-conscious design Request rate (Writes/sec) Object size (Bytes) Total size (GB/month) Objects per month 300 2,048 1,483 777,600,000 Scenario • Application making high number of writes per second • Need to understand the most cost-effective AWS storage service
  • 38. Amazon S3 or Amazon DynamoDB Request rate (Writes/sec) Object size (Bytes) Total size (GB/month) Objects per month 300 2,048 1,483 777,600,000
  • 39. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Amazon S3 or Amazon DynamoDB “…but what happens if I change the object size to 32 KB?” Request rate (Writes/sec) Object size (Bytes) Total size (GB/month) Objects per month 300 32,768 23,730 777,600,000
  • 40. Amazon S3 or Amazon DynamoDB Request rate (Writes/sec) Object size (Bytes) Total size (GB/month) Objects per month 300 32,768 23,730 777,600,000
  • 41. Amazon S3 or Amazon DynamoDB Request rate (Writes/sec) Object size (Bytes) Total size (GB/month) Objects per month Option 1 300 2,048 1,483 777,600,000 Option 2 300 32,768 23,730 777,600,000 use use
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Appropriate provisioning: Takeaway Have you selected the right architectures and associated AWS services needed to deliver each of your workloads?
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Right-sizing Use the lowest cost resources • that meet the requirements of the specific workload Iterate by adjusting the size of resources to optimize for costs • Assess the cost of modification Monitor resources and alarms to provide the data for right-sizing • Monitoring should accurately reflect the end-user experience • Select the correct granularity for the time period
  • 45. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Right-sizing: Amazon EC2 instances Select the cheapest instance available • Ensure you meet performance requirements • Consider different instance families, not just sizes Analyze using CloudWatch metrics • Monitor CPU, RAM, storage, and network utilization • Identify potential instances that can be downsized • Set up custom metrics (i.e. RAM) where needed Rule of thumb: Right-size first, then reserve
  • 46. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Right-sizing: Elasticity More smaller instances vs. fewer larger instances 29 m5.large @ $0.096 /hr $2,032.32 per month 59 t3.medium @ $0.0416/hr $1,791.71 per month
  • 47. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Right-sizing: AWS Lambda functions Performance test your Lambda function • Lambda allocates CPU power linearly in proportion to the amount of memory configured • At 1,792 MB, a function has the equivalent of 1 full vCPU • memory usage is determined per-invoke and can be viewed in AWS CloudWatch Logs Identify if your function is memory-bound or cpu-bound • Various benchmarking tools available on GitHub Minimize your deployment package size and complexity • will reduce time that it takes for your deployment package to be downloaded • Prefer simpler frameworks that load quickly • Don't put your Lambda function in a VPC unless you have to
  • 48. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Right-sizing: Amazon S3 Amazon S3 offers a range of storage classes: • Standard • Standard – Infrequent Access • One Zone – Infrequent Access • Glacier • Glacier Deep Archive • Reduced Redundancy (no longer recommended) Key points to note • Standard, Standard-IA and One Zone-IA are “real-time” storage tiers • Glacier and Glacier Deep Archive are “near-line” storage tiers
  • 49. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Right-sizing: Amazon S3 Storage Options Standard Standard-IA One Zone-IA Glacier Glacier DA Storage Pricing (GB/mth) $0.023 $0.0125 $0.01 $0.004 $0.00099 Request Pricing (per 1k GETs) $0.0004 $0.001 $0.001 $0.05 $0.10 Retrieval Pricing (per GB) N/A $0.01 $0.01 $0.01 $0.02 Key points to note • Storing data in IA tiers is about 50% cheaper than in Standard tier • Request charges for IA tiers are about 60% more expensive than for Standard tier • IA tiers charge smaller objects as though they were 128 KB in size • IA tiers have a minimum storage duration of 30 days; Glacier 90 days, Glacier DA 180 days
  • 50. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Right-sizing: Amazon S3 Scenario Assumptions • 1,000 objects, each 1 GB in size, are stored in Amazon S3 Scenarios • Scenario 1: every object is retrieved once per quarter • Scenario 2: every object is retrieved once per month • Scenario 3: every object is retrieved once per day What storage class should we use for each scenario? • We want to optimize for cost over a 12-month period?
  • 51. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Cost components Scenario 1 Scenario 2 Scenario 3 S3 Standard Storage Cost 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 S3 Standard Request Cost 1,000 x 0.0004 x 4 $1.60 1,000 x 0.0004 x 12 $4.80 1,000 x 0.0004 x 365 $146 S3 Standard Annual TOTAL $277.60 $280.40 $422 S3-IA Storage Cost 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 S3-IA Request Cost 1,000 x 0.001 x 4 $4.00 1,000 x 0.001 x 12 $12.00 1,000 x 0.001 x 365 $365.00 S3-IA Retrieval Cost 1,000 x 0.01 x 4 $40.00 1,000 x 0.01 x 12 $120.00 1,000 x 0.01 x 365 $3,650.00 S3-IA Annual TOTAL $194.00 $282.00 $4,165.00 Right-sizing: Amazon S3 Scenarios
  • 52. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Cost components Scenario 1 Scenario 2 Scenario 3 S3 Standard Storage Cost 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 S3 Standard Request Cost 1,000 x 0.0004 x 4 $1.60 1,000 x 0.0004 x 12 $4.80 1,000 x 0.0004 x 365 $146 S3 Standard Annual TOTAL $277.60 $280.40 $422 S3-IA Storage Cost 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 S3-IA Request Cost 1,000 x 0.001 x 4 $4.00 1,000 x 0.001 x 12 $12.00 1,000 x 0.001 x 365 $365.00 S3-IA Retrieval Cost 1,000 x 0.01 x 4 $40.00 1,000 x 0.01 x 12 $120.00 1,000 x 0.01 x 365 $3,650.00 S3-IA Annual TOTAL $194.00 $282.00 $4,165.00 Right-sizing: Amazon S3 Scenarios
  • 53. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Cost components Scenario 1 Scenario 2 Scenario 3 S3 Standard Storage Cost 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 S3 Standard Request Cost 1,000 x 0.0004 x 4 $1.60 1,000 x 0.0004 x 12 $4.80 1,000 x 0.0004 x 365 $146 S3 Standard Annual TOTAL $277.60 $280.40 $422 S3-IA Storage Cost 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 S3-IA Request Cost 1,000 x 0.001 x 4 $4.00 1,000 x 0.001 x 12 $12.00 1,000 x 0.001 x 365 $365.00 S3-IA Retrieval Cost 1,000 x 0.01 x 4 $40.00 1,000 x 0.01 x 12 $120.00 1,000 x 0.01 x 365 $3,650.00 S3-IA Annual TOTAL $194.00 $282.00 $4,165.00 Right-sizing: Amazon S3 Scenarios
  • 54. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Cost components Scenario 1 Scenario 2 Scenario 3 S3 Standard Storage Cost 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 S3 Standard Request Cost 1,000 x 0.0004 x 4 $1.60 1,000 x 0.0004 x 12 $4.80 1,000 x 0.0004 x 365 $146 S3 Standard Annual TOTAL $277.60 $280.40 $422 S3-IA Storage Cost 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 S3-IA Request Cost 1,000 x 0.001 x 4 $4.00 1,000 x 0.001 x 12 $12.00 1,000 x 0.001 x 365 $365.00 S3-IA Retrieval Cost 1,000 x 0.01 x 4 $40.00 1,000 x 0.01 x 12 $120.00 1,000 x 0.01 x 365 $3,650.00 S3-IA Annual TOTAL $194.00 $282.00 $4,165.00 Right-sizing: Amazon S3 Scenarios
  • 55. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Cost components Scenario 1 Scenario 2 Scenario 3 S3 Standard Storage Cost 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 S3 Standard Request Cost 1,000 x 0.0004 x 4 $1.60 1,000 x 0.0004 x 12 $4.80 1,000 x 0.0004 x 365 $146 S3 Standard Annual TOTAL $277.60 $280.40 $422.00 S3-IA Storage Cost 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 S3-IA Request Cost 1,000 x 0.001 x 4 $4.00 1,000 x 0.001 x 12 $12.00 1,000 x 0.001 x 365 $365.00 S3-IA Retrieval Cost 1,000 x 0.01 x 4 $40.00 1,000 x 0.01 x 12 $120.00 1,000 x 0.01 x 365 $3,650.00 S3-IA Annual TOTAL $194.00 $282.00 $4,165.00 Right-sizing: Amazon S3 Scenarios
  • 56. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Cost components Scenario 1 Scenario 2 Scenario 3 S3 Standard Storage Cost 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 S3 Standard Request Cost 1,000 x 0.0004 x 4 $1.60 1,000 x 0.0004 x 12 $4.80 1,000 x 0.0004 x 365 $146 S3 Standard Annual TOTAL $277.60 $280.40 $422.00 S3-IA Storage Cost 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 S3-IA Request Cost 1,000 x 0.001 x 4 $4.00 1,000 x 0.001 x 12 $12.00 1,000 x 0.001 x 365 $365.00 S3-IA Retrieval Cost 1,000 x 0.01 x 4 $40.00 1,000 x 0.01 x 12 $120.00 1,000 x 0.01 x 365 $3,650.00 S3-IA Annual TOTAL $194.00 $282.00 $4,165.00 Right-sizing: Amazon S3 Scenarios
  • 57. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Cost components Scenario 1 Scenario 2 Scenario 3 S3 Standard Storage Cost 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 1,000 x 0.023 x 12 $276.00 S3 Standard Request Cost 1,000 x 0.0004 x 4 $1.60 1,000 x 0.0004 x 12 $4.80 1,000 x 0.0004 x 365 $146 S3 Standard Annual TOTAL $277.60 $280.40 $422.00 S3-IA Storage Cost 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 1,000 x 0.0125 x 12 $150.00 S3-IA Request Cost 1,000 x 0.001 x 4 $4.00 1,000 x 0.001 x 12 $12.00 1,000 x 0.001 x 365 $365.00 S3-IA Retrieval Cost 1,000 x 0.01 x 4 $40.00 1,000 x 0.01 x 12 $120.00 1,000 x 0.01 x 365 $3,650.00 S3-IA Annual TOTAL $194.00 $282.00 $4,165.00 Right-sizing: Amazon S3 Scenarios
  • 58. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Right-sizing: Amazon S3 Rule of thumb: if you’re retrieving an object once per month or more, Standard is more cost effective storage class than Infrequent Access • Remember, storage classes can be set on a per-object basis, not just per bucket • Managing storage classes on a per-object basis can be complex and time-consuming Consider using Amazon S3 Intelligent-Tiering if you have changing or unknown access patterns • Automatically moves your data based on changing access patterns • Moves data between Standard and Infrequent-Access tiers • Additional management charge ($0.0025 per 1,000 objects per month)
  • 59. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Right-sizing: Takeaway When was the last time you reviewed your AWS infrastructure and looked for right-sizing opportunities?
  • 60. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T
  • 61. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Purchasing options On-demand: pay per unit of capacity as used • Examples: Amazon EC2, Amazon S3 Provisioned: pay per unit of capacity as provisioned • Examples: Amazon DynamoDB, Amazon Kinesis Data Streams Reserved: discounted pricing in return for a fixed-term commitment • Examples: Amazon EC2, Amazon Elasticsearch Service Many services support multiple billing options, auto-scaling
  • 62. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Spot Instances up to 90% off ? Reserved Instances Significant discount On-demand the second or hour Purchasing options: Amazon EC2
  • 63. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Purchasing options: Amazon DynamoDB Provisioned capacity mode • $0.00065 per Write Capacity Unit (WCU) per hour (1 WCU = 1 x 1 KB write per second) • $0.00013 per Read Capacity Unit (RCU) per hour (1 RCU = 1 x 4KB read per second) On-demand mode • $1.25 per 1m Write Request Units (1 WRU = 1 x 1 KB write) • $0.25 per 1m Read Request Units (1 RRU = 1 x 4 KB read) Reserved capacity option (1 / 3 year commitment, 100 unit increments) • $0.000081 per WCU per hour (assuming 3 year commitment; 87% discount) • $0.000016 per RCU per hour (assuming 3-year commitment; 87% discount)
  • 64. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Purchasing options: Amazon DynamoDB Provisioned capacity mode • Ideal for steady-state or predictably scaling workloads • Will always have a per hour cost being incurred, even with no activity On-demand mode • Use for bursty, unpredictable workloads, small-scale dev/test environments, etc. • No (transaction) charges when idle Reserved capacity option (1 / 3 year commitment, 100 unit increments) • Can be mixed with provisioned capacity mode • Reserved capacity can be shared across linked accounts in an AWS Organization
  • 65. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Purchasing options: Takeaway Look across your AWS infrastructure for opportunities to optimize the way in which you purchase services
  • 66. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Matching Supply with Demand
  • 67. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well Architected – Cost Optimization Cost-effective resources Matching supply with demand • Demand-based • Buffer-based • Time-based Usage & expenditure awareness Optimising over time
  • 68. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well Architected – Cost Optimization Cost-effective resources Matching supply with demand • Demand-based • Buffer-based • Time-based Usage & expenditure awareness Optimising over time
  • 69. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T
  • 70. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Demand-based Leveraging the elasticity of the cloud to meet demand as it changes can provide significant cost savings • programmatically vary the amount of cloud resources in your architecture dynamically • increase the number of resources during demand spikes to maintain performance • decrease capacity when demand subsides to reduce costs Within AWS this is normally accomplished using Auto Scaling • EC2 Auto Scaling: Add or remove compute capacity to meet changes in demand • AWS Auto Scaling: Configure and manage scaling for scalable AWS resources through a scaling plan
  • 71. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Demand-based: Amazon EC2 elastic provisioning EC2 Auto Scaling allows you to: • React dynamically to changes in load • Schedule regular workloads • Optimise your instance usage • Reduce over-provisioning • No cost service! AWS Auto Scaling • Unified scaling for your cloud applications
  • 72. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Demand-based: Takeaway Look across your workloads and consider what metrics you could use with auto-scaling to ensure capacity is closely aligned with demand
  • 73. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T
  • 74. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Time-based A time-based approach aligns resource capacity to demand that is predictable or well defined by time • typically not dependent upon utilization levels of the resources • ensures that resources are available at the specific time they are required • provided without any delays due to start-up procedures Key considerations • how consistent is the usage pattern? • what is the impact if the pattern changes?
  • 75. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Time-based: Workload scheduling 100.0 71.4 35.7 29.8 0 20 40 60 80 100 24 x 7 24 x 5 12 x 5 10 x 5 % Running Time Up to 70% savings for non- production workloads
  • 76. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T AWS Instance Scheduler AWS-provided solution • Custom start & stop schedules • Works with Amazon EC2 & Amazon RDS instances • Deploy using AWS CloudFormation Selectively tag instances to schedule • Multiple schedules per instance • 5-minute granularity https://aws.amazon.com/answers/infrastructure- management/instance-scheduler/
  • 77. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Time-based: Takeaway Identify workloads that don’t need to be running 24x7, and start scheduling them appropriately
  • 78. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Usage and Expenditure Awareness
  • 79. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well Architected – Cost Optimization Cost-effective resources Matching supply with demand Usage & expenditure awareness • Stakeholders • Tagging • Cost attribution • Visibility & governance • Entity lifecycle tracking Optimising over time
  • 80. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well Architected – Cost Optimization Cost-effective resources Matching supply with demand Usage & expenditure awareness • Stakeholders • Tagging • Cost attribution • Visibility & governance • Entity lifecycle tracking Optimising over time
  • 81. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T
  • 82. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Tagging Tagging provides a number of benefits • Automation (autoscaling, scheduling) • Control & compliance (IAM policies) • Cost allocation (reporting & chargebacks) Not all resources support tagging • Not all cost line-items support tagging (e.g., Data transfer charges) Other tagging gotchas • Maximum of 50 user-applied tags (not counting system tags) • Values are optional • Tags are case-sensitive
  • 83. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Tagging: Stakeholders & examples Stakeholder Example Tag Key Example Tag Value Finance CostCenter BudgetCode Engineering EG-001 Engineering Workload Codebase Website Python Line-of-business owners Project User SuperSecretProject Alice IT BackupRegime Environment 24x7 Production Security PatchStrategy AutomationSupport Immutable True https://aws.amazon.com/answers/account-management/aws-tagging-strategies/
  • 84. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Tagging: Using the tag editor
  • 85. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Tagging: Enabling cost allocation tagging Enable cost allocation tags Refresh to get tag list from AWS Organizations Choose the tags to activate
  • 86. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Tagging: Takeaway Identify and tag all existing resources across your AWS accounts, and then implement AWS Identity and Access Management controls to enforce appropriate tagging policies
  • 87. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T
  • 88. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Visibility & governance Detailed visibility into your AWS environment • identify opportunities for savings Cost optimization requires • a granular understanding of the breakdown in spend • Ability to model and forecast future spend • Having sufficient mechanisms in place to align cost and usage to business objectives AWS provides a suite of reports and tools • estimate, monitor, plan, notify, report on, and analyze your AWS spend
  • 89. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Use Cost Explorer to identify opportunities for savings with Reserved Instances, now available for EC2, Amazon RDS, Amazon Redshift, Elasticache, and Elasticsearch. Visibility & governance: AWS Cost Explorer Comprehensive dashboards • Gain a summary view of key cost details, including month-to-date costs, month-end forecasted costs, and saved reports Automated trend analysis • Identifies anomalous cost and usage events, based on historical patterns Optimized user experience • Users of all levels of expertise in your organization
  • 90. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Use Cost Explorer to identify opportunities for savings with Reserved Instances, now available for EC2, Amazon RDS, Amazon Redshift, Elasticache, and Elasticsearch. Visibility & governance: RI recommendations Automated purchase recommendations • Analyzes your historical usage patterns to identify potential savings Customizable parameters • Purchase RIs that fit your specific business requirements Supports multiple AWS services • Support for Amazon EC2, Amazon RDS, ElastiCache, Amazon Redshift, and Amazon Elasticsearch Service reservations
  • 91. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Visibility & governance: AWS Budgets User experience • Simplified workflows make it easier to create and manage budgets Cost Explorer integration • Provides contextually-relevant data to help you set budgets appropriately Review budget performance • View how your actuals have performed against your budget
  • 92. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Visibility & governance: AWS Trusted Advisor Taking away the heavy lifting of monitoring best practices • Trusted Advisor provides best practices (or checks) Red (action recommended) Yellow (investigation recommended) Green (no problem detected)
  • 93. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Visibility & governance: Takeaway Create reports, budgets, and alarms to track spend and alert when this deviates from expected norms
  • 94. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Optimising Over Time
  • 95. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Well Architected – Cost Optimization Cost-effective resources Matching supply with demand Usage & expenditure awareness Optimising over time • Measure, monitor, improve • Staying ever-green
  • 96. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Optimizing over time Measure, monitor, improve: perform a gap analysis that tells you how closely aligned your system utilization is to your requirements • Establish a cost optimization function • Establish goals and metrics • Gather insight and perform analysis • Report and validate Stay ever-green • Review your existing architectural decisions to ensure that they remain cost effective • Be aggressive in decommissioning resources, components, and workloads that you no longer require • Be aware of new managed services as they become available
  • 97. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Optimizing over time: Takeaway Assign ownership of the cost optimization function to a team within your organization and give them the tools needed to help other teams manage their costs
  • 98. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T
  • 99. Optimizing TCO on AWS Instance Right-Sizing Improved Elasticity Storage Optimization Optimized Lift and Shift Measure Monitor and Improve Managed Services AWS Optimized On- Premises Lift & Shift Traditional TCO Comparisons Serverless Architecture
  • 100. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Summary of takeaways (1) Cost-effective resources • Reduce undifferentiated heavy lifting by moving towards higher-level AWS services • Select the right Cloud-native architectures for each workload • Review your existing workloads and right-size as required • Make use of the full range of AWS purchasing models Matching supply and demand • Make use of auto-scaling to closely match capacity with demand • Schedule non-production workloads to run only when they are needed
  • 101. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Summary of takeaways (2) Usage & expenditure awareness • Tag all of your resources to enable cost attribution • Ensure business owners have visibility into their workload costs • Create reports and budgets, and alert when they deviate from what’s expected Optimise over time • Give responsibility (and authority) for cost optimization within your organization
  • 102. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T Useful Resources AWS Pricing  https://aws.amazon.com/pricing/ Online TCO Calculator:  https://awstcocalculator.com/ AWS Cloud Economics Center:  https://aws.amazon.com/economics/ AWS Well-Architected Framework • https://aws.amazon.com/well-architected/
  • 103. Thank you! © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T (Please remember to complete your feedback!)
  • 104. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.P U B L I C S E C T O R S U M M I T