Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
cdkfoldingathome
Advanced tools
Run Folding@Home with this prebuild CDK library and never forget to shut off expensive instances. With built-in TTL for your stack, you just define the lifetime of your instances and the stack will be destroyed afterwards.
Folding@home is a project focused on disease research. The problems F@H is solving require many computer calculations – so you can donate your excess compute power to help their research. In that sense, you are part of a huge distributed supercomputer!
The architecture follows this AWS blog post and leverages g4dn.xlarge Spot EC2 instances to maximise GPU vs price efficiency.
Running at spot price drastically reduces the price from 0.59$ per hour to around 0.17 in eu-west-1. That's a nice 70% in savings.
I hope you enjoy this package and together we can make a difference and help the Folding@Home program to succeed in their mission!
After deployment, you can go into CloudWatch logs and open the log group fahlog. You can now see the progress every one of your instances makes towards the goal of unfolding proteins. wu01 represents the work of the GPU and wu00 is the work of the CPU .
Big thanks to cdk-time-bomb for the TTL function and Ash Belmokadem and Vikin Shetty for debugging help!
Create a new CDK app
Install CDK-Folding@Home in your CDK app
npm install cdkfoldingathome
Open your stack.ts file in ./bin
Import cdkfoldingathome
import * as folding from 'cdkfoldingathome';
const fah = new folding.FoldingathomeStack(app, 'folding', {
timeToLive: cdk.Duration.hours(5),
spotPrice: '0.40',
numberOfInstances: 10,
env: {
account: "754834994578",
region: "eu-west-1"
}
})
Ready to build and deploy!
Your stack gets destroyed once the TTL is up
Double-check the first time to be sure your stack got really deleted 😉
If you have any questions reach out on Github or Twitter.
FAQs
![fah](cdkfah.png)
The npm package cdkfoldingathome receives a total of 0 weekly downloads. As such, cdkfoldingathome popularity was classified as not popular.
We found that cdkfoldingathome demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
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.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.