SlideShare a Scribd company logo
1 of 64
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Simon Elisha
Solutions Architect Manager, Amazon Web Services
Level 200
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Architecture Best Practices:
Practical Design Steps to Save Costs
What to Expect from the Session
We are going to dive RIGHT IN!
Assumed knowledge…You know a fair bit about AWS
Cover a LOT in a hurry!
Operational optimisation
Infrastructure optimisation
Architectural optimisation
Plenty of FOOD FOR THOUGHT
All pricing shown will be for Asia Pacific (Sydney) Region
and in USD unless stated otherwise
SHOW ME THE MONEY!!!
32%
42%
53%
72%
87%
A New Domain for Architecture
Availability Performance Security Function
A New Domain for Architecture
Availability Performance Security Function
Economy
Economy of Architecture
Economy
 Same or better outcome for the lowest cost
 Trial and change during the lifetime of
the system
 Radical changes are possible – driven
by economics
 Changes in services that can be consumed
 Transaction cost + operational cost
What is Your Per-Transaction Cost?
Cost per query?
Cost per user?
Cost per processing unit?
Do you know it real time?
Do you track it?
Actionable Steps
Beginner
Calculate by hand (Cost Explorer with tags)
Intermediate
Instrument your system to gather transaction volume
Calculate based on tags & billing data periodically
Advanced
Monitor in real time
Display somewhere public
Drive the development team to optimise
Operational Optimisation
Operational Cost – By Country (median)
Skill Country Cost per Hour (USD)
Systems Administrator USA $30
Australia $26
UK $18
Japan $47
Germany $24
Brazil $32
Singapore $17
*Source: payscale.com & indeed.com
Operational Cost – By Country (median)
Skill Country Cost per Hour (USD)
Database Administrator USA $35
Australia $25
UK $19
Japan $49
Germany $31
Brazil $45
Singapore $19
*Source: payscale.com & indeed.com
What’s the Admin Effort for a Minor DB Version Update?
Self-managed
• Back up primary
• Back up secondary
• Back up server OS
• Assemble upgrade binaries
• Create change record
• Create rollback plan
• Rehearse in development
• Run against staging
• Run against production standby
• Verify
• Failover
• Run in production
• Verify
RDS – admin effort
• Verify Update Windows
• Create “notification” change record
• Verify success in staging
• Verify success in production
8 Hours
(minimum)
1 Hour
Control – Without Operational Cost
Country Self Managed
@ 8 Hours
RDS
@ 1 Hour
Saving
USA $280 $35 $245
Australia $200 $25 $175
UK $152 $19 $133
Japan $392 $49 $343
Germany $248 $31 $217
Brazil $360 $45 $315
Singapore $152 $19 $133
*Median Salary – USD. *Source: payscale.com & indeed.com
Infrastructure
Optimisation
Use Amazon S3 Storage Tiers
Take advantage of Infrequent Access (IA)
No code changes – immediate savings
Example
 Our app stores 100 TB of photos
 Each photo is about 10 MB
 Using Standard S3, we pay $3,292.78 per month (SYD)
Activate a Policy
Move data after 30 days
Assume we can move 80% of the data
Of which 20% is still accessed regularly < twice per month
S3 – IA – Result!
Same 100 TB (20 TB Standard/80 TB IA)
costs only $2,220.65 per month (SYD)
32%
Saving
Revisit & Right-Size EC2
Revisit your EC2 instance choice at least every 6 months
 Families change
 Workloads change
Cost savings available between EC2 families depending
on your workload
Use Trusted Advisor for hints
Windows Instance Example
m4.4xlarge -> $2.353/hr (SYD)
m4.xlarge -> $0.294/hr (SYD)
Plenty of
headroom
87%
Saving
Trusted Advisor – Hints
Use Spot Instances
Incredible value for the right workloads
Build it into your Auto Scaling groups
Can balance price & availability
Reserved + On-Demand + Spot
Auto Scaling Group Launch Configuration
Duplicate Auto Scaling Group – Add One Extra Line
Magic happens
here…
Both Groups Registered to the Same Load Balancer
 Set your Spot price > Market < On-
Demand
 Will always give you the market
rate at or under your bid
 CloudWatch alarm on number of Spot
Instances in group
 GroupInServiceInstances
 Scale On-Demand group if #Instances
in Spot group drops below thresholdOn-Demand
Auto Scaling
group
Elastic Load
Balancing
Spot
Auto Scaling
group
Understand Price History
Price is low and
generally stable
Spot Price vs On-Demand
Type Servers Cost per
Hour
On-Demand 12 $0.093
Spot 0 $0.013
TOTAL 12 $1.17
Type Servers Cost per
Hour
On-Demand 2 $0.093
Spot 10 $0.013
TOTAL 12 $0.32
72%
saving!
A few
lines of
code
Anatomy of the Developer Work Week
“Your mileage may vary!”
Monday->Friday 10 hours per day = 50 Hours
 “Our devs work hard!”
Total hours available in the week = 168 Hours
Turning things off = immediate 70% saving
Automate Dev/Test Elasticity
A number of approaches (choose one that works for you):
 Tagging with script to shut down/start up
 Lambda to drive the shutdown/startup
 Start up based on time
 Start up based on request
 Scheduled Auto Scaling groups
 Tagging with different rules based on tags (e.g., run over weekends)
Be sure to use something…
An Incomplete List of Tools to Help You
Use AWS Lambda:
https://aws.amazon.com/blogs/compute/creating-an-enterprise-scheduler-using-aws-lambda-
and-tagging/
Use AWS Data Pipeline:
https://aws.amazon.com/premiumsupport/knowledge-center/stop-start-ec2-instances/
Use Amazon CloudWatch:
https://aws.amazon.com/about-aws/whats-new/2013/01/08/use-amazon-cloudwatch-to-
detect-and-shut-down-unused-amazon-ec2-instances/
Cache for Savings
Read-Intensive workloads in particular
Handy White Paper:
https://d0.awsstatic.com/whitepapers/performance-at-scale-with-
amazon-elasticache.pdf
Example 30,000 reads per second
db.m3.large – 30,000 PIOPS – Single-AZ: $3,889.68
cache.m3.large – 30,000 GETS per second: $355.02
90%
saving
Architectural
Optimisation
New Levers to Pull
Code changes Architectural
tradeoffs
Immediate
benefits
Eliminate Your Web Server Tier
How much work is your web server tier actually doing?
How much time do you spend on maintenance?
How secure is your web tier?
S3 Static Website Hosting
Not so “static”
JavaScript
(includes AWS SDK)
CORS
Plus
No servers
No patching
No scaling rules
S3 – Cost Optimised Web Serving – Example
Average objects per page: 150
Average size per page: 2 MB
100,000 page views per day =
450,000,000 GETs per month
5.859 TB data transfer out per month
Total cost PER MONTH: $1,139.43 (SYD)
S3 – Cost Optimised Web Serving
Cost avoidance
 Web server patching
 Capacity planning
 Security scanning
 Content rollouts/updates
Hours per month…
Queues – Not Just for Decoupling
SQS gives you tremendous power to decouple your architecture
However, resilience is only one part of the story
Use queues to manage cost
SQS Trigger Auto Scaling Groups Based on Revenue
Free Queue
Paid Queue
Images
mobile client
Auto Scaling instances
ApproximateAgeOfOldestMessage > 600
In our example, a single m4.large can process 1,000 images in an hour.
We don’t want paid customers to wait more than 10 minutes for their result.
ASG MIN 1, MAX 10, DESIRED 1
Auto Scaling instances
ApproximateNumberOfMessagesVisible > 1000
ASG MIN 0, MAX 1, DESIRED 0
SQS Trigger Auto Scaling Groups Based on Revenue
Free Queue
Paid Queue
Images
mobile client
Auto Scaling instances
In our example, a single m4.large can process 1,000 images in an hour.
We don’t want paid customers to wait more than 10 minutes for their result.
Auto Scaling instances
For example
2,000 TXNs
50/50 free/premium
Free queue TXN cost:
$0.336/1,000 = $0.000336
*One instance
Paid queue TXN cost:
($0.336*6)/1,000 = $0.002016
*Six instances to meet 10 minute SLA
Simplify. Less Components. Less Cost.
Image
Source
mobile client
AWS
Lambda
For example
Each TXN takes 3750ms
Assuming largest Lambda memory size
(1536 MB)
@ $ 0.000002501 per 100ms
Each TXN now costs $0.000937875
Premium queue TXN was $0.002016
S3 Event
Lambda
Result
PLUS The ongoing free tier would give us over 71K free TXNS per month
We also eliminated SQS cost (negligible as that is)
53%
saving
Image
Result
Simple to Configure
Can Still Use SQS To Keep Free Tier Cheap
Free Queue
Images
mobile client
Auto Scaling instances
More optimisation
Make free tier even cheaper
using EC2 Spot Instances
Paid tier now gets instant
response (remove the 10
minute delay/SLA) at low cost
AWS
Lambda
Prefix-based
Trigger
Image
Result
Database Economic Architecture
“Rules of Thumb”
Not everything is just relational or just NoSQL
Caches are usually more efficient and cost effective
 But you might have to do a little-more work up-front!
Do not conflate transactional DBs with analytical DBs
You will typically have “hot spot” tables or datasets – look to put these
in NoSQL or Cache storage
Replace “Hot Spots” in RDS With DynamoDB
Example
10,000 IOPS (80% Read/20% Write)
3TB Capacity
Multi-AZ RDS for MySQL
RDS: $4,689.64
DynamoDB: $2,887.70
38%
saving
Architectures
can evolve…
Example “Restroom Finder” API Microservice
Find me all the toilets in a particular postcode (zip code) in Australia!
Started with Python/Bottle/MySQL
Lookup table with 18,408 records
http://data.gov.au/dataset/national-public-toilet-map
Typical EC2 Deployment – ElasticBeanstalk
instance instanceAuto Scaling
MySQL DB
instance
MySQL
instancealternate
ELB
Pros
 Scalable
 Familiar
 Reliable
Cons
 Need to manage API layer
 Throttling, security, etc.
 Storage layer heavy to ensure availability
 Need to patch/manage servers
Containerise!!!
Auto Scaling
MySQL DB
instance
MySQL
instancealternate
ELB
Amazon ECS
Pros
 Faster scale-up/scale-down
 Reliable
 We get to say “Docker” a lot
Cons
 Need to manage API layer
 Throttling, security, etc.
 Storage layer heavy to ensure availability
 Need to patch/manage containers
Lambda-ise!!
MySQL
DB
instance
MySQL
instance
alternate
AWS
Lambda
Amazon API
Gateway
Pros
 Compute scaling perfectly matched to load
 Reliable
 Ability to manage API
 No server patching
Cons
 Storage layer heavy to ensure availability
NoSQL-ise!!
AWS
Lambda
Amazon API
Gateway
Amazon
DynamoDB
Pros
 Compute scaling perfectly matched to load
 Reliable
 Ability to manage API
 No server patching
 No DB Patching
 DB tuned to performance workload
 We can say “serverless” a lot
Cons
 Less familiar deployment and operational model
Common Anti-Patterns
HA vs. Cost Optimisation
Product owners often push for cost optimisation
• Ignoring their availability requirements
• Until something fails
FIRST availability, THEN cost!
Economical Mitigation For AZ-Level Disruption
Availability Zone A Availability Zone B
Availability Zone A Availability Zone B Availability Zone C
Example Always maintain 12 instances even if one AZ is disrupted
24
Instances
18
Instances 25%
saving
The Cost of Using Your DB as a BLOB Store
Databases (particularly RDBMSs) make poor BLOB stores!
Negative in terms of performance
Negative in terms of management
Negative in terms of cost
Storing Your BLOB in the RDBMS – Example
CREATE OR REPLACE TABLE
user_images
(userid int,
imageguid char(36),
image BLOB);
For example
Each Image = 2MB
2,049K per row
3 million rows = 5.862 TB
RDS MySQL cost = $3,279.56 (SYD)
per month (multi-AZ, Standard
Storage)
Store BLOB in S3, Metadata in RDS
CREATE OR REPLACE TABLE
user_images
(userid int,
imageguid char(36),
imageURL
VARCHAR(1000));
Per row we now store 2K in the RDBMS
3 Million rows = 5.722 GB
S3 Storage = 5.862TB = $194.94 (storage)
+ 3MM Puts, 3MM Gets = $212.93
(inclusive, GETs, PUTs, Storage)
RDS SQL cost = $1,663.30 (SYD)
per Month
Total: $1,876.23 42%
saving
A New Domain for Architecture
Availability Performance Security Function
Economy
Economy of Architecture
Economy
 Same or better outcome for the lowest cost
 Trial and change during the lifetime of the system
 Radical changes are possible – driven by economics
 Changes in services that can be consumed
 Transaction cost + operational cost
Thank you!

More Related Content

What's hot

Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon RedshiftAmazon Web Services
 
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)Amazon Web Services
 
Microservices: Architecting for Innovation - Level 300
Microservices: Architecting for Innovation - Level 300Microservices: Architecting for Innovation - Level 300
Microservices: Architecting for Innovation - Level 300Amazon Web Services
 
Accelerating YourBusiness with Security
Accelerating YourBusiness with SecurityAccelerating YourBusiness with Security
Accelerating YourBusiness with SecurityAmazon Web Services
 
AWS Enterprise Summit Netherlands - Big Data Architectural Patterns & Best Pr...
AWS Enterprise Summit Netherlands - Big Data Architectural Patterns & Best Pr...AWS Enterprise Summit Netherlands - Big Data Architectural Patterns & Best Pr...
AWS Enterprise Summit Netherlands - Big Data Architectural Patterns & Best Pr...Amazon Web Services
 
Breaking Down the Economics and TCO of Migrating to AWS
Breaking Down the Economics and TCO of Migrating to AWSBreaking Down the Economics and TCO of Migrating to AWS
Breaking Down the Economics and TCO of Migrating to AWSAmazon Web Services
 
AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...
AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...
AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...Amazon Web Services
 
Getting started with the hybrid cloud enterprise backup and recovery - Toronto
Getting started with the hybrid cloud   enterprise backup and recovery - TorontoGetting started with the hybrid cloud   enterprise backup and recovery - Toronto
Getting started with the hybrid cloud enterprise backup and recovery - TorontoAmazon Web Services
 
Relational Databases Utilising Amazon RDS - Technical 201
Relational Databases Utilising Amazon RDS - Technical 201Relational Databases Utilising Amazon RDS - Technical 201
Relational Databases Utilising Amazon RDS - Technical 201Amazon Web Services
 
AWS re:Invent 2016: Driving Innovation with Big Data and IoT (GPSST304)
AWS re:Invent 2016: Driving Innovation with Big Data and IoT (GPSST304)AWS re:Invent 2016: Driving Innovation with Big Data and IoT (GPSST304)
AWS re:Invent 2016: Driving Innovation with Big Data and IoT (GPSST304)Amazon Web Services
 
Cost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel AvivCost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel AvivAmazon Web Services
 
Cost optimization at scale toronto v3
Cost optimization at scale toronto v3Cost optimization at scale toronto v3
Cost optimization at scale toronto v3Amazon Web Services
 
Strategies to Optimize Costs Using AWS - AWS May 2016 Webinar Series
Strategies to Optimize Costs Using AWS - AWS May 2016 Webinar SeriesStrategies to Optimize Costs Using AWS - AWS May 2016 Webinar Series
Strategies to Optimize Costs Using AWS - AWS May 2016 Webinar SeriesAmazon Web Services
 
Big Data Architectural Patterns and Best Practices on AWS
Big Data Architectural Patterns and Best Practices on AWSBig Data Architectural Patterns and Best Practices on AWS
Big Data Architectural Patterns and Best Practices on AWSAmazon Web Services
 

What's hot (20)

Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
Value, TCO & Cost Optimisation
Value, TCO & Cost OptimisationValue, TCO & Cost Optimisation
Value, TCO & Cost Optimisation
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
 
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
 
Microservices: Architecting for Innovation - Level 300
Microservices: Architecting for Innovation - Level 300Microservices: Architecting for Innovation - Level 300
Microservices: Architecting for Innovation - Level 300
 
Accelerating YourBusiness with Security
Accelerating YourBusiness with SecurityAccelerating YourBusiness with Security
Accelerating YourBusiness with Security
 
AWS Enterprise Summit Netherlands - Big Data Architectural Patterns & Best Pr...
AWS Enterprise Summit Netherlands - Big Data Architectural Patterns & Best Pr...AWS Enterprise Summit Netherlands - Big Data Architectural Patterns & Best Pr...
AWS Enterprise Summit Netherlands - Big Data Architectural Patterns & Best Pr...
 
Partnering with AWS
Partnering with AWSPartnering with AWS
Partnering with AWS
 
Cost Optimization at Scale
Cost Optimization at ScaleCost Optimization at Scale
Cost Optimization at Scale
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
Breaking Down the Economics and TCO of Migrating to AWS
Breaking Down the Economics and TCO of Migrating to AWSBreaking Down the Economics and TCO of Migrating to AWS
Breaking Down the Economics and TCO of Migrating to AWS
 
AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...
AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...
AWS APAC Webinar Week - Maintaining Performance & Availability While Lowering...
 
Getting started with the hybrid cloud enterprise backup and recovery - Toronto
Getting started with the hybrid cloud   enterprise backup and recovery - TorontoGetting started with the hybrid cloud   enterprise backup and recovery - Toronto
Getting started with the hybrid cloud enterprise backup and recovery - Toronto
 
Relational Databases Utilising Amazon RDS - Technical 201
Relational Databases Utilising Amazon RDS - Technical 201Relational Databases Utilising Amazon RDS - Technical 201
Relational Databases Utilising Amazon RDS - Technical 201
 
Startups at AWS
Startups at AWSStartups at AWS
Startups at AWS
 
AWS re:Invent 2016: Driving Innovation with Big Data and IoT (GPSST304)
AWS re:Invent 2016: Driving Innovation with Big Data and IoT (GPSST304)AWS re:Invent 2016: Driving Innovation with Big Data and IoT (GPSST304)
AWS re:Invent 2016: Driving Innovation with Big Data and IoT (GPSST304)
 
Cost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel AvivCost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel Aviv
 
Cost optimization at scale toronto v3
Cost optimization at scale toronto v3Cost optimization at scale toronto v3
Cost optimization at scale toronto v3
 
Strategies to Optimize Costs Using AWS - AWS May 2016 Webinar Series
Strategies to Optimize Costs Using AWS - AWS May 2016 Webinar SeriesStrategies to Optimize Costs Using AWS - AWS May 2016 Webinar Series
Strategies to Optimize Costs Using AWS - AWS May 2016 Webinar Series
 
Big Data Architectural Patterns and Best Practices on AWS
Big Data Architectural Patterns and Best Practices on AWSBig Data Architectural Patterns and Best Practices on AWS
Big Data Architectural Patterns and Best Practices on AWS
 

Similar to Architecture Best Practices: Practical Design Steps to Save Costs - Level 200

Cost Optimising Your Architecture Practical Design Steps for Developer Saving...
Cost Optimising Your Architecture Practical Design Steps for Developer Saving...Cost Optimising Your Architecture Practical Design Steps for Developer Saving...
Cost Optimising Your Architecture Practical Design Steps for Developer Saving...Amazon Web Services
 
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...Amazon Web Services
 
Improve your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud SpendImprove your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud SpendAmazon Web Services
 
AWS APAC Webinar Series: How to Reduce Your Spend on AWS
AWS APAC Webinar Series: How to Reduce Your Spend on AWSAWS APAC Webinar Series: How to Reduce Your Spend on AWS
AWS APAC Webinar Series: How to Reduce Your Spend on AWSAmazon 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
 
How to Reduce your Spend on AWS
How to Reduce your Spend on AWSHow to Reduce your Spend on AWS
How to Reduce your Spend on AWSJoseph K. Ziegler
 
메가존과 AWS가 공개하는 AWS 비용 최적화 전략-메가존 김성용 매니저 및 AWS 이우상 매니저:: AWS Cloud Track 3 Ga...
메가존과 AWS가 공개하는 AWS 비용 최적화 전략-메가존 김성용 매니저 및 AWS 이우상 매니저:: AWS Cloud Track 3 Ga...메가존과 AWS가 공개하는 AWS 비용 최적화 전략-메가존 김성용 매니저 및 AWS 이우상 매니저:: AWS Cloud Track 3 Ga...
메가존과 AWS가 공개하는 AWS 비용 최적화 전략-메가존 김성용 매니저 및 AWS 이우상 매니저:: AWS Cloud Track 3 Ga...Amazon Web Services Korea
 
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWSAmazon Web Services
 
Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency Amazon Web Services
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon RedshiftAmazon Web Services
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon RedshiftAmazon Web Services
 
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일Amazon Web Services Korea
 
Achieving Your Department Objectives: Providing Better Citizen Services at Lo...
Achieving Your Department Objectives: Providing Better Citizen Services at Lo...Achieving Your Department Objectives: Providing Better Citizen Services at Lo...
Achieving Your Department Objectives: Providing Better Citizen Services at Lo...Amazon Web Services
 
Argomentazioni economiche per la migrazione al cloud
Argomentazioni economiche per la migrazione al cloudArgomentazioni economiche per la migrazione al cloud
Argomentazioni economiche per la migrazione al cloudAmazon Web Services
 
Cost Optimization Best Practices: Rotem Yosef
Cost Optimization Best Practices: Rotem Yosef Cost Optimization Best Practices: Rotem Yosef
Cost Optimization Best Practices: Rotem Yosef Amazon Web Services
 

Similar to Architecture Best Practices: Practical Design Steps to Save Costs - Level 200 (20)

Cost Optimising Your Architecture Practical Design Steps for Developer Saving...
Cost Optimising Your Architecture Practical Design Steps for Developer Saving...Cost Optimising Your Architecture Practical Design Steps for Developer Saving...
Cost Optimising Your Architecture Practical Design Steps for Developer Saving...
 
TCO
TCO TCO
TCO
 
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
 
Optimize Cost Efficiency on AWS
Optimize Cost Efficiency on AWSOptimize Cost Efficiency on AWS
Optimize Cost Efficiency on AWS
 
Improve your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud SpendImprove your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud Spend
 
AWS APAC Webinar Series: How to Reduce Your Spend on AWS
AWS APAC Webinar Series: How to Reduce Your Spend on AWSAWS APAC Webinar Series: How to Reduce Your Spend on AWS
AWS APAC Webinar Series: How to Reduce Your Spend on AWS
 
Achieving Profitability on AWS
Achieving Profitability on AWSAchieving Profitability on AWS
Achieving Profitability on AWS
 
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
 
How to Reduce your Spend on AWS
How to Reduce your Spend on AWSHow to Reduce your Spend on AWS
How to Reduce your Spend on AWS
 
메가존과 AWS가 공개하는 AWS 비용 최적화 전략-메가존 김성용 매니저 및 AWS 이우상 매니저:: AWS Cloud Track 3 Ga...
메가존과 AWS가 공개하는 AWS 비용 최적화 전략-메가존 김성용 매니저 및 AWS 이우상 매니저:: AWS Cloud Track 3 Ga...메가존과 AWS가 공개하는 AWS 비용 최적화 전략-메가존 김성용 매니저 및 AWS 이우상 매니저:: AWS Cloud Track 3 Ga...
메가존과 AWS가 공개하는 AWS 비용 최적화 전략-메가존 김성용 매니저 및 AWS 이우상 매니저:: AWS Cloud Track 3 Ga...
 
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
 
Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
 
Cost Optimization at Scale
Cost Optimization at ScaleCost Optimization at Scale
Cost Optimization at Scale
 
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
 
Achieving Your Department Objectives: Providing Better Citizen Services at Lo...
Achieving Your Department Objectives: Providing Better Citizen Services at Lo...Achieving Your Department Objectives: Providing Better Citizen Services at Lo...
Achieving Your Department Objectives: Providing Better Citizen Services at Lo...
 
Argomentazioni economiche per la migrazione al cloud
Argomentazioni economiche per la migrazione al cloudArgomentazioni economiche per la migrazione al cloud
Argomentazioni economiche per la migrazione al cloud
 
Cost Optimization at Scale
Cost Optimization at ScaleCost Optimization at Scale
Cost Optimization at Scale
 
Cost Optimization Best Practices: Rotem Yosef
Cost Optimization Best Practices: Rotem Yosef Cost Optimization Best Practices: Rotem Yosef
Cost Optimization Best Practices: Rotem Yosef
 

More from 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
 

More from 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
 

Recently uploaded

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 

Recently uploaded (20)

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 

Architecture Best Practices: Practical Design Steps to Save Costs - Level 200

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Simon Elisha Solutions Architect Manager, Amazon Web Services Level 200 © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Architecture Best Practices: Practical Design Steps to Save Costs
  • 2. What to Expect from the Session We are going to dive RIGHT IN! Assumed knowledge…You know a fair bit about AWS Cover a LOT in a hurry! Operational optimisation Infrastructure optimisation Architectural optimisation Plenty of FOOD FOR THOUGHT All pricing shown will be for Asia Pacific (Sydney) Region and in USD unless stated otherwise
  • 3. SHOW ME THE MONEY!!!
  • 5. A New Domain for Architecture Availability Performance Security Function
  • 6. A New Domain for Architecture Availability Performance Security Function Economy
  • 7. Economy of Architecture Economy  Same or better outcome for the lowest cost  Trial and change during the lifetime of the system  Radical changes are possible – driven by economics  Changes in services that can be consumed  Transaction cost + operational cost
  • 8. What is Your Per-Transaction Cost? Cost per query? Cost per user? Cost per processing unit? Do you know it real time? Do you track it?
  • 9. Actionable Steps Beginner Calculate by hand (Cost Explorer with tags) Intermediate Instrument your system to gather transaction volume Calculate based on tags & billing data periodically Advanced Monitor in real time Display somewhere public Drive the development team to optimise
  • 11. Operational Cost – By Country (median) Skill Country Cost per Hour (USD) Systems Administrator USA $30 Australia $26 UK $18 Japan $47 Germany $24 Brazil $32 Singapore $17 *Source: payscale.com & indeed.com
  • 12. Operational Cost – By Country (median) Skill Country Cost per Hour (USD) Database Administrator USA $35 Australia $25 UK $19 Japan $49 Germany $31 Brazil $45 Singapore $19 *Source: payscale.com & indeed.com
  • 13. What’s the Admin Effort for a Minor DB Version Update? Self-managed • Back up primary • Back up secondary • Back up server OS • Assemble upgrade binaries • Create change record • Create rollback plan • Rehearse in development • Run against staging • Run against production standby • Verify • Failover • Run in production • Verify RDS – admin effort • Verify Update Windows • Create “notification” change record • Verify success in staging • Verify success in production 8 Hours (minimum) 1 Hour
  • 14.
  • 15. Control – Without Operational Cost Country Self Managed @ 8 Hours RDS @ 1 Hour Saving USA $280 $35 $245 Australia $200 $25 $175 UK $152 $19 $133 Japan $392 $49 $343 Germany $248 $31 $217 Brazil $360 $45 $315 Singapore $152 $19 $133 *Median Salary – USD. *Source: payscale.com & indeed.com
  • 17. Use Amazon S3 Storage Tiers Take advantage of Infrequent Access (IA) No code changes – immediate savings Example  Our app stores 100 TB of photos  Each photo is about 10 MB  Using Standard S3, we pay $3,292.78 per month (SYD)
  • 18. Activate a Policy Move data after 30 days Assume we can move 80% of the data Of which 20% is still accessed regularly < twice per month
  • 19. S3 – IA – Result! Same 100 TB (20 TB Standard/80 TB IA) costs only $2,220.65 per month (SYD) 32% Saving
  • 20. Revisit & Right-Size EC2 Revisit your EC2 instance choice at least every 6 months  Families change  Workloads change Cost savings available between EC2 families depending on your workload Use Trusted Advisor for hints
  • 21. Windows Instance Example m4.4xlarge -> $2.353/hr (SYD) m4.xlarge -> $0.294/hr (SYD) Plenty of headroom 87% Saving
  • 23. Use Spot Instances Incredible value for the right workloads Build it into your Auto Scaling groups Can balance price & availability Reserved + On-Demand + Spot
  • 24. Auto Scaling Group Launch Configuration
  • 25. Duplicate Auto Scaling Group – Add One Extra Line Magic happens here…
  • 26. Both Groups Registered to the Same Load Balancer  Set your Spot price > Market < On- Demand  Will always give you the market rate at or under your bid  CloudWatch alarm on number of Spot Instances in group  GroupInServiceInstances  Scale On-Demand group if #Instances in Spot group drops below thresholdOn-Demand Auto Scaling group Elastic Load Balancing Spot Auto Scaling group
  • 27. Understand Price History Price is low and generally stable
  • 28. Spot Price vs On-Demand Type Servers Cost per Hour On-Demand 12 $0.093 Spot 0 $0.013 TOTAL 12 $1.17 Type Servers Cost per Hour On-Demand 2 $0.093 Spot 10 $0.013 TOTAL 12 $0.32 72% saving! A few lines of code
  • 29. Anatomy of the Developer Work Week “Your mileage may vary!” Monday->Friday 10 hours per day = 50 Hours  “Our devs work hard!” Total hours available in the week = 168 Hours Turning things off = immediate 70% saving
  • 30. Automate Dev/Test Elasticity A number of approaches (choose one that works for you):  Tagging with script to shut down/start up  Lambda to drive the shutdown/startup  Start up based on time  Start up based on request  Scheduled Auto Scaling groups  Tagging with different rules based on tags (e.g., run over weekends) Be sure to use something…
  • 31. An Incomplete List of Tools to Help You Use AWS Lambda: https://aws.amazon.com/blogs/compute/creating-an-enterprise-scheduler-using-aws-lambda- and-tagging/ Use AWS Data Pipeline: https://aws.amazon.com/premiumsupport/knowledge-center/stop-start-ec2-instances/ Use Amazon CloudWatch: https://aws.amazon.com/about-aws/whats-new/2013/01/08/use-amazon-cloudwatch-to- detect-and-shut-down-unused-amazon-ec2-instances/
  • 32. Cache for Savings Read-Intensive workloads in particular Handy White Paper: https://d0.awsstatic.com/whitepapers/performance-at-scale-with- amazon-elasticache.pdf Example 30,000 reads per second db.m3.large – 30,000 PIOPS – Single-AZ: $3,889.68 cache.m3.large – 30,000 GETS per second: $355.02 90% saving
  • 34.
  • 35. New Levers to Pull Code changes Architectural tradeoffs Immediate benefits
  • 36. Eliminate Your Web Server Tier How much work is your web server tier actually doing? How much time do you spend on maintenance? How secure is your web tier?
  • 37. S3 Static Website Hosting Not so “static” JavaScript (includes AWS SDK) CORS Plus No servers No patching No scaling rules
  • 38. S3 – Cost Optimised Web Serving – Example Average objects per page: 150 Average size per page: 2 MB 100,000 page views per day = 450,000,000 GETs per month 5.859 TB data transfer out per month Total cost PER MONTH: $1,139.43 (SYD)
  • 39. S3 – Cost Optimised Web Serving Cost avoidance  Web server patching  Capacity planning  Security scanning  Content rollouts/updates Hours per month…
  • 40. Queues – Not Just for Decoupling SQS gives you tremendous power to decouple your architecture However, resilience is only one part of the story Use queues to manage cost
  • 41. SQS Trigger Auto Scaling Groups Based on Revenue Free Queue Paid Queue Images mobile client Auto Scaling instances ApproximateAgeOfOldestMessage > 600 In our example, a single m4.large can process 1,000 images in an hour. We don’t want paid customers to wait more than 10 minutes for their result. ASG MIN 1, MAX 10, DESIRED 1 Auto Scaling instances ApproximateNumberOfMessagesVisible > 1000 ASG MIN 0, MAX 1, DESIRED 0
  • 42. SQS Trigger Auto Scaling Groups Based on Revenue Free Queue Paid Queue Images mobile client Auto Scaling instances In our example, a single m4.large can process 1,000 images in an hour. We don’t want paid customers to wait more than 10 minutes for their result. Auto Scaling instances For example 2,000 TXNs 50/50 free/premium Free queue TXN cost: $0.336/1,000 = $0.000336 *One instance Paid queue TXN cost: ($0.336*6)/1,000 = $0.002016 *Six instances to meet 10 minute SLA
  • 43. Simplify. Less Components. Less Cost. Image Source mobile client AWS Lambda For example Each TXN takes 3750ms Assuming largest Lambda memory size (1536 MB) @ $ 0.000002501 per 100ms Each TXN now costs $0.000937875 Premium queue TXN was $0.002016 S3 Event Lambda Result PLUS The ongoing free tier would give us over 71K free TXNS per month We also eliminated SQS cost (negligible as that is) 53% saving Image Result
  • 45. Can Still Use SQS To Keep Free Tier Cheap Free Queue Images mobile client Auto Scaling instances More optimisation Make free tier even cheaper using EC2 Spot Instances Paid tier now gets instant response (remove the 10 minute delay/SLA) at low cost AWS Lambda Prefix-based Trigger Image Result
  • 46. Database Economic Architecture “Rules of Thumb” Not everything is just relational or just NoSQL Caches are usually more efficient and cost effective  But you might have to do a little-more work up-front! Do not conflate transactional DBs with analytical DBs You will typically have “hot spot” tables or datasets – look to put these in NoSQL or Cache storage
  • 47. Replace “Hot Spots” in RDS With DynamoDB Example 10,000 IOPS (80% Read/20% Write) 3TB Capacity Multi-AZ RDS for MySQL RDS: $4,689.64 DynamoDB: $2,887.70 38% saving
  • 49. Example “Restroom Finder” API Microservice Find me all the toilets in a particular postcode (zip code) in Australia! Started with Python/Bottle/MySQL Lookup table with 18,408 records http://data.gov.au/dataset/national-public-toilet-map
  • 50.
  • 51. Typical EC2 Deployment – ElasticBeanstalk instance instanceAuto Scaling MySQL DB instance MySQL instancealternate ELB Pros  Scalable  Familiar  Reliable Cons  Need to manage API layer  Throttling, security, etc.  Storage layer heavy to ensure availability  Need to patch/manage servers
  • 52. Containerise!!! Auto Scaling MySQL DB instance MySQL instancealternate ELB Amazon ECS Pros  Faster scale-up/scale-down  Reliable  We get to say “Docker” a lot Cons  Need to manage API layer  Throttling, security, etc.  Storage layer heavy to ensure availability  Need to patch/manage containers
  • 53. Lambda-ise!! MySQL DB instance MySQL instance alternate AWS Lambda Amazon API Gateway Pros  Compute scaling perfectly matched to load  Reliable  Ability to manage API  No server patching Cons  Storage layer heavy to ensure availability
  • 54. NoSQL-ise!! AWS Lambda Amazon API Gateway Amazon DynamoDB Pros  Compute scaling perfectly matched to load  Reliable  Ability to manage API  No server patching  No DB Patching  DB tuned to performance workload  We can say “serverless” a lot Cons  Less familiar deployment and operational model
  • 55.
  • 57. HA vs. Cost Optimisation Product owners often push for cost optimisation • Ignoring their availability requirements • Until something fails FIRST availability, THEN cost!
  • 58. Economical Mitigation For AZ-Level Disruption Availability Zone A Availability Zone B Availability Zone A Availability Zone B Availability Zone C Example Always maintain 12 instances even if one AZ is disrupted 24 Instances 18 Instances 25% saving
  • 59. The Cost of Using Your DB as a BLOB Store Databases (particularly RDBMSs) make poor BLOB stores! Negative in terms of performance Negative in terms of management Negative in terms of cost
  • 60. Storing Your BLOB in the RDBMS – Example CREATE OR REPLACE TABLE user_images (userid int, imageguid char(36), image BLOB); For example Each Image = 2MB 2,049K per row 3 million rows = 5.862 TB RDS MySQL cost = $3,279.56 (SYD) per month (multi-AZ, Standard Storage)
  • 61. Store BLOB in S3, Metadata in RDS CREATE OR REPLACE TABLE user_images (userid int, imageguid char(36), imageURL VARCHAR(1000)); Per row we now store 2K in the RDBMS 3 Million rows = 5.722 GB S3 Storage = 5.862TB = $194.94 (storage) + 3MM Puts, 3MM Gets = $212.93 (inclusive, GETs, PUTs, Storage) RDS SQL cost = $1,663.30 (SYD) per Month Total: $1,876.23 42% saving
  • 62. A New Domain for Architecture Availability Performance Security Function Economy
  • 63. Economy of Architecture Economy  Same or better outcome for the lowest cost  Trial and change during the lifetime of the system  Radical changes are possible – driven by economics  Changes in services that can be consumed  Transaction cost + operational cost