Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
provision-dynamodb
Advanced tools
Automatically scale dynamic dynamodb throughput using CLI or automate it further using serverless framework.
Any reliance you place on provision-dynamodb is strictly at your own risk.
Install CLI tool globally via NPM and verify the CLI tool.
npm install -g provision-dynamodb
provision-dynamodb --help
You will need to ensure that you have both dynamodb:DescribeTable
on the select tables and
cloudwatch:GetMetricStatistics
. Refer to example.json as a guide to automatically scale
the select tables.
DRY_RUN=true provision-dynamodb jsonfile example.json
Tips: Set DRY_RUN system environment for a dry run without actually applying the changes.
Alternatively, JSON can be specified inline:
DRY_RUN=true provision-dynamodb json '[{"name":"my-table-name","readStrategy":{"name":"capacity-ratio","upperThresholdRatio":0.8,"lowerThresholdRatio":0.15,"incrementRatio":3,"decrementRatio":0.8,"lowerBoundUnit":1,"upperBoundUnit":28},"writeStrategy":{"name":"capacity-ratio","upperThresholdRatio":0.8,"lowerThresholdRatio":0.15,"incrementRatio":3,"decrementRatio":0.8,"lowerBoundUnit":1,"upperBoundUnit":28}}]'
Clone this project and update serverless settings in serverless.yml as documented in Serverless.yml Reference. You should consider to fork this and customise it for your own deployment.
Configure scaling strategy. TODO: Give recommendations.
Deploy.
sls deploy
TODO: Explain about throughput calculations.
FAQs
Dynamic DynamoDB provisioning based on serverless framework.
The npm package provision-dynamodb receives a total of 2 weekly downloads. As such, provision-dynamodb popularity was classified as not popular.
We found that provision-dynamodb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.