{"_id":"58e52a320ab7b03b00f4a97b","__v":1,"user":"55c50e9ca13abc25008c9088","version":{"_id":"55d3b644f77e6d0d00b1b273","project":"55c505b41469ad2500fa2ab7","__v":6,"createdAt":"2015-08-18T22:48:36.632Z","releaseDate":"2015-08-18T22:48:36.632Z","categories":["55d3b645f77e6d0d00b1b274","55d3b645f77e6d0d00b1b275","55d3b645f77e6d0d00b1b276","55d3b645f77e6d0d00b1b277","55d3b645f77e6d0d00b1b278","55d3b645f77e6d0d00b1b279","55d3b645f77e6d0d00b1b27a","55d3b645f77e6d0d00b1b27b","55d3b645f77e6d0d00b1b27c","55d3b645f77e6d0d00b1b27d","55d7c2939510f00d007ec6fe","56fac9925df15a20002972a2","56fb2f7668e1d30e00a0b672","583498d411e8af2500f6b334","58e52a180ab7b03b00f4a97a"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"project":"55c505b41469ad2500fa2ab7","category":{"_id":"58e52a180ab7b03b00f4a97a","__v":0,"version":"55d3b644f77e6d0d00b1b273","project":"55c505b41469ad2500fa2ab7","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-04-05T17:32:08.264Z","from_sync":false,"order":9999,"slug":"tutorials","title":"Tutorials"},"updates":["58e7e93faeff6f2500e8c6cf"],"next":{"pages":[],"description":""},"createdAt":"2017-04-05T17:32:34.674Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":999,"body":"## ** Steps ** \n\n1/ Add your [AWS keypairs](http://docs.neptune.io/docs/aws-integration) in Neptune.\n2/ [Go here](https://www.neptune.io/neptuneio.html#/awsDynamoDB), and click enable or disable autoscaling and set the appropriate scaling thresholds. \n\n## **How it works** \nNeptune is an event-driven system. So, it will create AWS CloudWatch alarms based on the threshold conditions you specify and whenever the CloudWatch alerts trigger, Neptune calls AWS APIs to scale up or down your provisioned throughput on your dynamoDB tables. Neptune notifies over email, Slack and Hipchat whenever scale up or down events happen. \n\nPlease see our [Part-I](http://blog.neptune.io/one-click-autoscaling-of-dynamodb/) and [Part-II](http://blog.neptune.io/dos-and-donts-of-dynamodb-autoscaling/) blog posts about autoscale DynamoDB solution.\n\n## Resources\n\n  * [Part-I](http://blog.neptune.io/one-click-autoscaling-of-dynamodb/) blog post talks about load and time-based autoscaling. \n  * [Part-II](http://blog.neptune.io/one-click-autoscaling-of-dynamodb/) blog post talk about various guidelines (do's and dont's) with respect to scaling DynamoDB tables.\n\n\n## FAQ\n\n** What is DynamoDB Autoscaling? **\nAmazon DynamoDB doesn't have an automated mechanism for scaling the read and write provisioned throughput in response to traffic peaks. Neptune provide a simple, easy-to-use, managed solution to automatically scale your tables, very much along the lines of EC2 autoscaling. \n\n** Why should I autoscale by DynamoDB tables? ** \nAutoscaling helps you to easily handle your traffic bursts and save costs when idle. This helps in reducing downtime, this improving your customer experience. You can also save 30-60% of your DynamoDB monthly costs by downscaling during lull periods. \n\nTo learn more about autoscaling best practices, [refer to this blog post.](https://medium.com/neptune-io/dos-and-don-ts-of-dynamodb-autoscaling-e8abcf8672e0)\n\n** How can I get started with DynamoDB Autoscaling?\nYou can get started in less than 5 minutes. Just enter your AWS keypair, and start scaling your tables. To learn more, [refer to this blog post.](https://medium.com/neptune-io/one-click-autoscaling-of-dynamodb-aa675f757ab7)\n\n** How does DynamoDB autoscaling work with Neptune? **\nNeptune is an event-driven system. So, it will create AWS CloudWatch alarms based on the threshold conditions you specify and whenever the CloudWatch alerts trigger, Neptune calls AWS APIs to scale up or down your provisioned throughput on your dynamoDB tables. Neptune notifies over Email, Slack and Hipchat whenever scale up or down events happen.\n\n** How fast can Neptune react to autoscaling events? ** \nNeptune can react as fast as 60 seconds. This is the lowest granularity supported by CloudWatch. Neptune depends on CloudWatch metrics to react to autoscaling events. \n\n** What are the key features of Neptune DynamoDB Autoscaling? **\n* Extremely simple setup, you can get it done in minutes \n* No ongoing maintenance as we offer a managed service\n* Slack/HipChat integration\n* Automatic (e.g. PagerDuty) escalation in case of failures\n* Highly available (99.9% SLA), can tolerate data center and region wide outages\n* Support both load-based scaling and time-based scaling\n* Awesome support team!\n\n## Alternatives\n\n**Why should I use Neptune instead of open source tools like Dynamic DynamoDB? **\n\nA few reasons:\n  * crystal clear user interface, and much better user experience (less error-prone & better peace of mind). In fact, the user interface is so simple that anyone in your team can use it (not just the owner). Absolutely, no training required. You can get it done for all your tables in couple of hours and forget about it! \n  * With Dynamic DynamoDb (other open source solutions), config is finicky and challenging to tune correctly. For example, the default config file for a single table looks like [this](https://dynamic-dynamodb.readthedocs.io/en/latest/example_configuration.html). This can get challenging if your account more than 5-10 tables. \n  * It's a managed service so you don't have to maintain EC2 instances. Neptune provides data-center and region-wide fail over capabilities with a 99.5% SLA. With Dynamic DynamoDB, you've to create/manage EC2 instances and create high-availability. \n  * Neptune is pretty cheap and you can get it done in a couple of hours and just forget about it! Being a startup, our response times for customers are pretty amazing! \n  * Awesome slack integration (so you are on top of what's happening) - get notified for any autoscaling event\n  * Ability to configure automatic (PagerDuty) escalation in case of failures\n  * not just load-based, but you can do time-based autoscaling.The other solutions don't support this.  \n\nUltimately it's time vs pricing decision. If you've the resources to maintain the one-off tools, go with open source tools. Instead, if you prefer simplicity, clean user interface, slack integration or a managed service, Neptune is a better fit.\n\n## DynamoDB Cost Explorer \n\n**How can I estimate by Amazon DynamoDB monthly costs? **\n[Go here.](https://www.neptune.io/dynamodb_cost_explorer.html)\n\n**How do you calculate Amazon DynamoDB costs? **\nOur costs are approximate costs, but may not be 100% accurate to the exact dollar figure. We query the read and write provisioned throughput for each table, and use Amazon published pricing for estimating the monthly costs. Our pricing doesn't take into account any discounts (e.g. credits, and reserved capacity).\n\n**How do you calculate the potential savings from auto-scaling? **\nWe are approximating the cost savings based on actual dollars saved from hundreds of users ranging from startups to enterprises. The actual savings might vary according to the customer use cases.","excerpt":"Load-based and time-based autoscaling of dyanmodb tables; Reduce downtime and save 40-60% costs","slug":"autoscale-dynamodb","type":"basic","title":"Autoscale DynamoDB"}

Autoscale DynamoDB

Load-based and time-based autoscaling of dyanmodb tables; Reduce downtime and save 40-60% costs

## ** Steps ** 1/ Add your [AWS keypairs](http://docs.neptune.io/docs/aws-integration) in Neptune. 2/ [Go here](https://www.neptune.io/neptuneio.html#/awsDynamoDB), and click enable or disable autoscaling and set the appropriate scaling thresholds. ## **How it works** Neptune is an event-driven system. So, it will create AWS CloudWatch alarms based on the threshold conditions you specify and whenever the CloudWatch alerts trigger, Neptune calls AWS APIs to scale up or down your provisioned throughput on your dynamoDB tables. Neptune notifies over email, Slack and Hipchat whenever scale up or down events happen. Please see our [Part-I](http://blog.neptune.io/one-click-autoscaling-of-dynamodb/) and [Part-II](http://blog.neptune.io/dos-and-donts-of-dynamodb-autoscaling/) blog posts about autoscale DynamoDB solution. ## Resources * [Part-I](http://blog.neptune.io/one-click-autoscaling-of-dynamodb/) blog post talks about load and time-based autoscaling. * [Part-II](http://blog.neptune.io/one-click-autoscaling-of-dynamodb/) blog post talk about various guidelines (do's and dont's) with respect to scaling DynamoDB tables. ## FAQ ** What is DynamoDB Autoscaling? ** Amazon DynamoDB doesn't have an automated mechanism for scaling the read and write provisioned throughput in response to traffic peaks. Neptune provide a simple, easy-to-use, managed solution to automatically scale your tables, very much along the lines of EC2 autoscaling. ** Why should I autoscale by DynamoDB tables? ** Autoscaling helps you to easily handle your traffic bursts and save costs when idle. This helps in reducing downtime, this improving your customer experience. You can also save 30-60% of your DynamoDB monthly costs by downscaling during lull periods. To learn more about autoscaling best practices, [refer to this blog post.](https://medium.com/neptune-io/dos-and-don-ts-of-dynamodb-autoscaling-e8abcf8672e0) ** How can I get started with DynamoDB Autoscaling? You can get started in less than 5 minutes. Just enter your AWS keypair, and start scaling your tables. To learn more, [refer to this blog post.](https://medium.com/neptune-io/one-click-autoscaling-of-dynamodb-aa675f757ab7) ** How does DynamoDB autoscaling work with Neptune? ** Neptune is an event-driven system. So, it will create AWS CloudWatch alarms based on the threshold conditions you specify and whenever the CloudWatch alerts trigger, Neptune calls AWS APIs to scale up or down your provisioned throughput on your dynamoDB tables. Neptune notifies over Email, Slack and Hipchat whenever scale up or down events happen. ** How fast can Neptune react to autoscaling events? ** Neptune can react as fast as 60 seconds. This is the lowest granularity supported by CloudWatch. Neptune depends on CloudWatch metrics to react to autoscaling events. ** What are the key features of Neptune DynamoDB Autoscaling? ** * Extremely simple setup, you can get it done in minutes * No ongoing maintenance as we offer a managed service * Slack/HipChat integration * Automatic (e.g. PagerDuty) escalation in case of failures * Highly available (99.9% SLA), can tolerate data center and region wide outages * Support both load-based scaling and time-based scaling * Awesome support team! ## Alternatives **Why should I use Neptune instead of open source tools like Dynamic DynamoDB? ** A few reasons: * crystal clear user interface, and much better user experience (less error-prone & better peace of mind). In fact, the user interface is so simple that anyone in your team can use it (not just the owner). Absolutely, no training required. You can get it done for all your tables in couple of hours and forget about it! * With Dynamic DynamoDb (other open source solutions), config is finicky and challenging to tune correctly. For example, the default config file for a single table looks like [this](https://dynamic-dynamodb.readthedocs.io/en/latest/example_configuration.html). This can get challenging if your account more than 5-10 tables. * It's a managed service so you don't have to maintain EC2 instances. Neptune provides data-center and region-wide fail over capabilities with a 99.5% SLA. With Dynamic DynamoDB, you've to create/manage EC2 instances and create high-availability. * Neptune is pretty cheap and you can get it done in a couple of hours and just forget about it! Being a startup, our response times for customers are pretty amazing! * Awesome slack integration (so you are on top of what's happening) - get notified for any autoscaling event * Ability to configure automatic (PagerDuty) escalation in case of failures * not just load-based, but you can do time-based autoscaling.The other solutions don't support this. Ultimately it's time vs pricing decision. If you've the resources to maintain the one-off tools, go with open source tools. Instead, if you prefer simplicity, clean user interface, slack integration or a managed service, Neptune is a better fit. ## DynamoDB Cost Explorer **How can I estimate by Amazon DynamoDB monthly costs? ** [Go here.](https://www.neptune.io/dynamodb_cost_explorer.html) **How do you calculate Amazon DynamoDB costs? ** Our costs are approximate costs, but may not be 100% accurate to the exact dollar figure. We query the read and write provisioned throughput for each table, and use Amazon published pricing for estimating the monthly costs. Our pricing doesn't take into account any discounts (e.g. credits, and reserved capacity). **How do you calculate the potential savings from auto-scaling? ** We are approximating the cost savings based on actual dollars saved from hundreds of users ranging from startups to enterprises. The actual savings might vary according to the customer use cases.