Upload
amazon-web-services
View
697
Download
0
Embed Size (px)
Citation preview
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Tom Jones, AWS Partner SA
Judd Kaiser, Program Manager, Cloud Computing, Ansys. Inc.
November 29, 2016
GPSISV3
Dollars and SenseTechnical Tips For Continual Cost Optimization
Money vs. Value
- https://flic.kr/p/ActK3Z
Other customers have done this, so can you!
Saves $90,000 / month on unused instances
Tools
https://flic.kr/p/5mcmJC
AWS tools
Amazon CloudWatch
Trusted Advisor
Billing alerts
Cost Explorer
AWS Budgets
Consolidated Billing
Monitoring
Unused Resources
Underused Resources
Forecast
Detailed Billing Reports & Billing Alerts
Trusted Advisor: Enterprise Strength Monitoring and
Optimization
Monitors and
recommends
optimizations for:
Cost
Security
Fault Tolerance
Performance
“Over the last couple years, we’ve sent more than 2.6 million Trusted Advisor
notifications that have saved customers over US$350 million dollars.”
Cost Explorer
Partner solutions
CloudHealth
Rightsizing
RI recommendations
Retrospective tagging (Dimensions)
API
Datadog integration
Cloudability
Rightsize EC2 (and other services)
Storage and Database optimizations
RI recommendations
API
Tactics
https://flic.kr/p/5ZcoBm
Monitoring and forecasting
Kill Zombies!
Rightsize your instances
Avoid complexity where possible
Leverage The Right Storage Classes…
AWS Cloud
Amazon
Glacier
Gateway Appliance/
AWS Storage Gateway
Amazon
S3
Block File
On-premises Data Center
Archive Backup Disaster
Recovery
Amazon
EBS
Amazon S3 Infrequent Access
• For data accessed less than two times a
month
Amazon Glacier
• Same durability as S3
• 3 to 5 hours restore time
• Up to 65% savings
• Great for archiving, long-term backups
and old data
Amazon EFS
Use AWS Managed or Application
Services…
Elastic Load
Balancing
(ELB)
Amazon Relational
Database Service
(RDS)
Amazon
ElastiCache
Amazon
DynamoDBAmazon Simple
Queue Service
(SQS)
Amazon Simple
Email Service
(SES)
AWS
Lambda
Amazon Elastic
MapReduce
(EMR)
Amazon Simple
Notification Service
(SNS)
Amazon
Kinesis
Amazon
Route 53
Amazon
Redshift
To Offload Your Architecture…
+
Standard Setup
4 x Medium Instances
$193
AWS Data Transfer 1 TB
$92
Total = $285
Optimized
1 x Medium Instance
$48
CloudFront Data 1 TB
$87
CloudFront Requests (10M)
$7.5
Total = $142.5
50%
6X
Cheaper
Faster
Choose the right EC2 pricing plan for your business…
On-Demand
Instances
Reserved
Instances
Spot
Instances
Pay as you go for computing
power
Flat hourly rate, no up-front
commitments
Pay an up-front fee for a
capacity reservation and a
lower hourly rate (up to 72%
savings)
1-year or 3-year terms
RI Marketplace: Buy RIs with
short remaining terms
Pay what you want for spare
EC2 capacity: your instances
run if your bid exceeds the
Spot price
Potential for large scale at
low cost: When they’re
available, take advantage of
1,000s of Spot Instances at
up to 90% savings
With Spot the rules are simple
Markets where the price of compute changes based on
supply and demand.
You’ll never pay more than your bid. When the market exceeds your bid you get 2 minutes to
wrap up your work.
50% Bid
75% Bid
You pay the
market
price
Bid Price vs. Market Price
25% Bid
EC2 SPOT Blocks
Run continuously for up to 6 hours
Save up to 50% off on-demand pricing
Using a single additional parameter:
Spot Bid Advisor – aws-spot-labs
Easily use EC2 Spot
instances for
production workloads
Amazon EC2 Spot Bid Advisor
1) We make this easy using the
Spot bid advisor
2) With deliberate pool
selection and bidding, you
will keep your Spot instance
as long as you need to.
3) And with new features like
Spot fleet diversified we do
the heavy lifting for you...
Use Reserved Instances…
You commit to pay for an instance for one or three years
We reserve the capacity, and offer you considerable savings over On Demand
during the term
You decide how you pay:
No Upfront (Just hourly charges for all hours of the term)
Partial Upfont (Upfront Payment, plus hourly charges for all hours of the term)
All Upfront (Upfront Payment only)
Base Price - On Demand: No Commitment, Pay only what you use, no capacity reservation but once started no interruption
10% less - Scheduled Reserved Instances: Commit to Schedule of at least 1200 hours for one year, capacity reservation
30-60% less - Standard Reserved Instances: Commit to one orthree years, capacity reservation
40-60% less - Spot Blocks: Bid for 2-6 hours blocks ofuninterrupted time
Up to 85% less - Spot: Bid for instances, interrupted if market pricehigher than your bid price, 2mins advanced notice
EC2 Cost Optimization Option for Every Need
Advanced Tactics
https://flic.kr/p/dpFTX5
Augmented Auto Scaling
Offloading
Licensing
SaaS Considerations
Auto Scaling – It’s not just for Instances!
Adjust DynamoDB IOPs on the fly:
Dynamic DynamoDB
https://github.com/sebdah/dynamic-dynamodb
DynamoDB Lambda Autoscale
https://github.com/channl/dynamodb-lambda-autoscale
Offload Your Architecture
The more you can offload, the less
infrastructure you need to maintain, scale,
and pay for
Three easy ways to offload:
Introduce caching
Use Amazon CloudFront
Leverage existing Amazon web services
Caching Saves Money
DynamoDB Reads
Saved 3k reads per second
(>20k reads per second in total)Saved 20k reads per second!
Offload Popular Traffic to
Amazon S3 and/or CloudFront
License flexibility via Dedicated Hosts
When running Microsoft Workloads, for example:
Instance-host affinity allows you to comply with the 90-day rule
Per-core and per-socket visibility enables reporting at the
physical level
Placement controls ensure that instances run on the server you
want them to, helping you meet stringent compliance and
regulatory requirements
AWS Config allows you to record when instances start, stop, or
are terminated for license reporting and true-ups
SaaS Specific Tactics
SaaS provides new vectors for optimization:
Allocate cache to your most demanding users
Grant different instances to different customers
AWS Lambda cost model matches the pricing model of SaaS
ARC 301 – Architecting Next Generation SaaS Applications on AWS
ARC 408 – Optimizing SaaS Solutions on AWS
ANSYS enables customers to
predict with confidence that their
products will thrive in the real world.
About ANSYS
Our most innovative customers are rapidly deploying simulation
2005 2015 2020
1 in 22 1 in 6 ALL
The ANSYS Vision: Every Engineer Will Use Simulation
ANSYS Enterprise Cloud(an AWS-based simulation data center)
Key solution components
• Auto-scaling HPC (Cycle)
• Interactive 3D graphics (Nice)
• Cloud storage
ANSYS Journey to Date
The evolution of the solution
architecture, over 16 months:
• Four major versions
• Five regions
• 70% lower operating cost
• 18x better performance
Driving the cost savings
• Adjusted requirements
• Reduced redundancy
• New instance types
• Service consolidation
The Customer Journey
A new business model for hardware
• Elastic HPC capacity
• Use and optimize
• Mix of Reserved, Spot, and On-
Demand instances
How we are tracking at ANSYS?
• Multiple accounts
• Instance tagging for tracking
• Detailed billing reports
• Cloudability
Continuous Cost Optimization
https://flic.kr/p/8Khkek
Monitor and Forecast continually
Actively Manage
Clean up your own mess
Architect for value
Purchase wisely
Invest in tools and automation
Virtuous Cycle
Cost
Tactics
MonitorTune
Thank you!
Remember to complete
your evaluations!