Skip to content

fordaz/lamblbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lamblbs

Unofficial Lambdalabs CLI

⚡ Minimalistic CLI to manage your Lambdalabs Cloud instances ⚡


Introduction

This is a personal project that helped me automate the provisioning and deprovisioning of Lambdalabs Cloud instances while I was playing with Ray on-prem clusters. I thought it might be useful for others and decided to share it for anyone to use it. This CLI is leveraging the Lambdalabs API, but it is by no means endorsed by or associated with the Lambdalabs company.

Pre-requisites

Configure your Lambdalabs API key using

export LAMBDALABS_API_KEY=....

Installation

pip install lamblbs

Usage

List instance types

lamblbs instance types

List running instances

lamblbs instance show-all

Launch a new instance

lamblbs instance launch \
--name ray-head-node \
--type gpu_1x_a10 \
--region us-west-1 \
--ssh_key lambdalabs-ssh-ray \
--qty 1

NOTE: This assumes you've created the lambdalabs-ssh-ray before hand.

Check and wait for your instances to be active

lamblbs instance check-status --status active

There are other supported commands as well which can be displayed using:

lamblbs --help

About

Unofficial Lambdalabs CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages