Professional Documents
Culture Documents
DAT315-R
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Cost optimization
overview Open discussion
One hour
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cost optimization at a glance
Schema design
Reserved
Access pattern
capacity
Capacity mode Storage mode
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Inputs to your Amazon DynamoDB bill
ALL
email => e
userId => uid
INCLUDE
KEYS_ONLY
Shrink item attribute Compress item attributes Selectively project
names item attributes
Storage Capacity
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Access pattern
4 WCU 1 WCU
Export to Amazon S3 Amazon global tables ?
or consider a scan
us-east-1
Price
Price
us-west-2
Description
Description Amazon
Bucket eu-west-1
DynamoDB
Storage Capacity
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Capacity mode
max
Capacity
Capacity
Auto scaling
min
Time Time
Pay for every hour, whether you use it or not Pay-per-request
Capacity
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
When storage is more than
42% of throughput costs,
consider Standard-IA.
Sean (the presenter)
AWS
Storage
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DynamoDB reserved capacity
Not compatible with global table replicated write capacity units or the Standard-IA table class
Billing
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Open discussion
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
Udi Hershkovich Sean Shriver
@sean_shriver
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.