This is web console to easy monitor the nodes of a YAS3FS cluster, i.e. nodes that are listening to the same SNS topic.
YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3. It was inspired by s3fs but rewritten from scratch to implement a distributed cache synchronized by Amazon SNS notifications.
If you use YAS3FS please share your experience on the wiki, thanks!
For more informations please look at the YAS3FS project.
- AWS credentials can be passed using AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
- The AWS_REGION environment variable must point to a valid AWS region (e.g. eu-west-1)
- In an EC2 instance a IAM role can be used to give access to SNS/SQS resources.
The web console is based on Node.js, you can run it with:
git clone git://github.com/danilop/yas3fs.git
cd yas3fs/yas3fs-console
npm install
node server.js
It is using port 3000 by default (e.g. "http://localhost:3000"), but you can change it using the PORT environment variable, e.g.:
export PORT=8080
node yas3fs-console/server.js
Here’s a sample screenshot of the web interface:
The list of nodes and the attributes are updated dynamically depending on the configuration parameters.
In the future I’d like to add management capabilities as well into the console, such as “cache reset on a node”, or alarms, such as “disk cache is running out of space”.
Happy File Sharing!