
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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 0 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.