gotoni
v1.0.0
Published

Readme
gotoni

Automate Lambda.ai with Ansible-inspired Go CLI
Installation
curl -fsSL https://raw.githubusercontent.com/atoniolo76/gotoni/main/install.sh | bashSetup
Export your Lambda API key:
export LAMBDA_API_KEY=your_token_hereWorkflow
1. Launch an Instance (with Filesystem)
Launch an instance with a persistent filesystem attached. If the filesystem doesn't exist, it will be created. The --wait flag ensures the command polls until the instance is ready.
gotoni launch my-project \
-t gpu_1x_a10 \
--filesystem my-data \
--wait2. Open in IDE
Once launched, instantly open the remote workspace in your preferred IDE (defaults to Cursor).
Prerequisite: Ensure you have installed the command-line tool for your IDE.
- Cursor:
Cmd+Shift+P> "Install 'cursor' command"- VS Code:
Cmd+Shift+P> "Install 'code' command"
gotoni open my-projectOr force VS Code:
gotoni open my-project --code3. Share Access Securely
Share SSH access with a friend or colleague using Magic Wormhole.
Sender:
gotoni share my-project
# Generates a secure code like: 7-guitarist-revengeReceiver:
gotoni receive 7-guitarist-revenge
# Automatically configures SSH keys and host entry
ssh my-projectAdd Tasks on creation
Create tasks that can be executed on instances during launch. You can also start services that will run in the background with systemd, such as an inference server.
Example: Install and Build vLLM
gotoni tasks add --name "install depedencies" --command "pip install vllm"
gotoni tasks add --name "run vllm" --command "vllm serve moonshotai/Kimi-K2-Thinking" --depends-on "install dependencies" --type serviceLaunch with Tasks
gotoni launch ml-instance
-t gpu_1x_a100
-r us-west-1
--wait
--tasks "install depedencies,run vllm"Commands Reference
gotoni launch- Launch instances (supports waiting, filesystems, and tasks)gotoni open- Open remote instance in Cursor/VS Codegotoni share- Securely share SSH accessgotoni receive- Receive SSH access and auto-configuregotoni tasks- Manage automation tasksgotoni provision- Run tasks on an existing instancegotoni list- List active instancesgotoni available- List available instance types and regionsgotoni run- Execute remote commandsgotoni delete- Terminate instancesgotoni filesystems- Manage filesystemsgotoni ssh-keys- Manage SSH keys
Configuration
Configuration is automatically managed in a local SQLite database.
