@itssergio91/sandman
v0.2.1
Published
Provision disposable cloud environments in seconds
Maintainers
Readme
Sandman
____ _
/ ___| __ _ _ __ __| |_ __ ___ __ _ _ __
\___ \ / _` | '_ \ / _` | '_ ` _ \ / _` | '_ \
___) | (_| | | | | (_| | | | | | | (_| | | | |
|____/ \__,_|_| |_|\__,_|_| |_| |_|\__,_|_| |_|Provision disposable cloud environments in seconds.
Sandman is an open-source CLI that creates disposable cloud environments for AWS and GCP in seconds.
Perfect for:
- DevTool demos
- AI builders testing infrastructure
- Rapid prototyping
- Disposable sandbox environments
- Infrastructure experimentation
Instead of manually configuring billing, IAM, APIs, and services, Sandman spins up a working environment instantly.
Why Sandman?
Creating cloud infrastructure manually is slow.
Even experienced engineers must:
AWS
• configure IAM
• create VPCs
• provision compute
• configure credentials
GCP
• create a project
• connect billing
• enable APIs
• configure service accounts
This can take 30–90 minutes.
Sandman reduces that to seconds.
Features
• Create disposable cloud environments
• Automatic project provisioning
• Billing configuration helpers
• Enable common cloud services
• Credential management
• Environment teardown
Supported providers:
- AWS
- GCP
Future support:
- Cloudflare
- DigitalOcean
- Render
Installation
Using npm
npm install -g @itssergio91/sandmanOr run without installing:
npx @itssergio91/sandmanQuick Start
Initialize a cloud provider.
sandman init gcpCreate a sandbox environment.
sandman create demoEnable services.
sandman enable compute storage cloudrunConnect to the environment.
sandman connect demoDestroy the environment when finished.
sandman destroy demoExample Workflow
Create a sandbox for testing.
sandman init gcp
sandman create demo-env
sandman enable compute storage cloudrun
sandman connect demo-envRun your application or tests against the environment.
Then destroy it when finished.
sandman destroy demo-envCommands
Initialize provider
sandman init aws
sandman init gcpAuthenticates and configures credentials.
Create environment
sandman create <environment-name>Example:
sandman create demoEnable services
AWS example:
sandman enable ec2 s3 lambdaGCP example:
sandman enable compute storage cloudrunList environments
sandman listConnect environment
sandman connect <environment-name>Outputs environment credentials.
Destroy environment
sandman destroy <environment-name>Deletes all associated resources.
Architecture
Sandman consists of three layers.
CLI
↓
Provisioning Engine
↓
Cloud Provider APIs
Components:
- CLI layer
- Provisioning engine
- Provider adapters
Providers
AWS
Uses AWS SDK to provision:
- VPC
- EC2
- S3
- IAM roles
GCP
Uses Google Cloud APIs to provision:
- projects
- billing connections
- cloud run
- storage buckets
- service accounts
Use Cases
DevTool demos
Create disposable environments for product demos.
Rapid experimentation
Spin up temporary environments to test infrastructure or integrations.
Learning cloud infrastructure
Practice working with cloud services without maintaining long-lived infrastructure.
Project Structure
sandman/
src/
cli/
providers/
templates/
utils/
docs/
PRD.md
package.jsonRoadmap
Planned features:
• Environment templates
• Multi-cloud provisioning
• GitHub demo environments
• Local testing environments
Contributing
Pull requests are welcome.
To contribute:
git clone https://github.com/your-org/sandman
cd sandman
npm install
npm run devLicense
MIT
