Skip to main content

Command Line Utility to connect or redirect ports to a Cloud Virtual Machine

Project description

CLVM

Downloads Changelog Lint Type

A Cloud VM command line tool for powerful and efficient management of cloud instances

This tool addresses the inefficient hassle of having to use your mouse to click lots of buttons to start/stop instances and configure and use these cloud services via a web interface. This is an unproductive way to work. If you use VSCode Remote or port redirection to access your cloud instance resources, then the steps are doubled.

To improve the development experience, we have replicated various solutions for handling different steps of using cloud virtual machines and combined them with VSCode Remote to deliver maximum convenience for fellow developers and engineers.

CLVM currently works with cloud instances on AWS, Azure and GCP. It is built on top of DynaCLI, another excellent open-source tool from BST Labs. For more detail on using CLVM, see the blog post Simplify Cloud Instance Management from your Command Line.

Capabilities of CLVM

  1. Instance start/stop and listing operations
  2. SSH key generation and tunneling
  3. Session management
  4. Port redirection (forwarding)
  5. VSCode Remote utilities
  6. Support for AWS, GCP, and, Azure

Installation

$ pip3 install pyclvm

Quick start

Each cloud platform can require different authorization procedures. For detailed authorization information please check the respective provider's documentation.

$ clvm ssh new <vm_instance_name> platform=<aws, gcp or azure>
$ clvm vscode start <vm_instance_name>

How to install for local development

$ flit install --symlink

This will give you clvm command installed.

Some Useful Tools

ssh-over-ssm

ssm-tools

vscode remote over ssm

aws-mfa

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyclvm-1.1.11.tar.gz (41.5 kB view hashes)

Uploaded Source

Built Distribution

pyclvm-1.1.11-py3-none-any.whl (47.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page