项目
在 GitHub 查看
stanford-mast/blast
关于
开源的虚拟机即服务。
系统与基础设施可以做什么
- Single 7 MB binary. No Terraform. No Packer. No extra dependencies.
- Most permissible license. Code is MIT-licensed and just 3,586 lines, built to keep enterprise security reviews as simple as possible.
- Full orchestration. Unlike other solutions that simply provide utilities for creating sandboxes, BLAST takes a given pool of CPU, memory, disk and optimally serves forking and running sandboxed commands.
- Compatible with VM providers. For a unified control plane across bursty cloud compute and user-provided compute, BLAST is built to integrate with a control plane.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Open-source VMs-as-a-service
Quick Start
cargo install blast_core
blast
VM1=$(curl -s -X POST localhost:7240/v1/fork \
-H "Content-Type: application/json" \
-d '{"image":"ubuntu:24.04"}' | jq -r .vm_id)
VM2=$(curl -s -X POST localhost:7240/v1/fork \
-H "Content-Type: application/json" \
-d "{\"source_vm_id\":\"$VM1\",\"name\":\"feature-xyz\"}" | jq -r .vm_id)
curl -X POST localhost:7240/v1/vms/$VM2/runs \
-H "Content-Type: application/json" \
-d '{"command":"echo hello from fork"}'
Purpose
BLAST is a single binary for local sandbox orchestration given a pool of CPU, memory, disk. More precisely, BLAST abstracts over local sandboxes such as SmolVM, Hypeman, Docker to provides a simple API to fork and run sandboxed commands, sync data, and monitor VMs, sessions, runs while automatically scheduling and placing forks and runs, snapshots, syncing snapshots to durable storage, migration, and managing resource pressure.
Features
Compared to existing solutions for local sandboxing or BYOC sandbox compute, BLAST features:
- Single 7 MB binary. No Terraform. No Packer. No extra dependencies.
- Most permissible license. Code is MIT-licensed and just 3,586 lines, built to keep enterprise security reviews as simple as possible.
- Full orchestration. Unlike other solutions that simply provide utilities for creating sandboxes, BLAST takes a given pool of CPU, memory, disk and optimally serves forking and running sandboxed commands.
- Compatible with VM providers. For a unified control plane across bursty cloud compute and user-provided compute, BLAST is built to integrate with a control plane.
- Built and actively maintained by a growing team of open-source sandboxing and orchestration enthusiasts
Documentation
Visit documentation to learn more.
探索相关项目
加载中…