RepoCoreWeaveCoreWeavepublished Jun 26, 2021seen 6d

coreweave/virtual-machine-manager

PowerShell

Open original ↗

Captured source

source ↗

coreweave/virtual-machine-manager

Description: Manage virtual instances on CoreWeave Cloud

Language: PowerShell

Stars: 3

Forks: 0

Open issues: 0

Created: 2021-06-26T20:22:35Z

Pushed: 2022-08-11T13:10:20Z

Default branch: main

Fork: no

Archived: yes

README:

CoreWeave Virtual Machine Manger

This repository contains the CoreWeave Virtual Machine Manager, a PowerShell based tool leveraging Kubectl and Virtctl to manage instances on CoreWeave Cloud.

Launching

Grab the latest executable from the releases section.

Or you're feeling brave, paste this into a PowerShell console window to launch directly:

& $([scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/coreweave/virtual-machine-manager/main/CW_VMM.ps1')))

Features

Start/Stop/Restart your instances

!start_stop

Connect via VNC, Serial Console, and more

!console_vnc

Deploy a new instance, or delete existing ones

!create_delete

Edit an existing instance

!edit

Getting Started

During initial launch of the tool, you'll be prompted to perform three tasks:

1. Load your Kubeconfig file from CoreWeave Cloud API Access:

!image

Selecting "Yes" will allow you to locate your config file and import it:

!image

2. Download Kubectl

>CoreWeave Virtual Machine Manager uses Kubectl under the hood to communicate with the cloud

> It's preferable to run our Windows setup script prior to launching this tool. Doing so will ensure the prompts below will not appear.

!image

Selecting "Yes" will download the latest version for you:

!image

3. Download Virtctl

>CoreWeave Virtual Machine Manager uses Virtctl under the hood to communicate with the cloud

!image

Selecting "Yes" will download the latest version for you:

!image

Usage

Load virtual machines in your namespace

Use the "Load Virtual Machines" button to populate the datagrid with Virtual Machines:

!image

Interact with Virtual Machines:

Once your Virtual Machines are loaded, you may right click on any machine to start, stop, restart, or connect to it.

Multiple machines can be highlighted at once to send commands to multiple machines:

!image

Connect via VNC

Connecting to an instance via VNC creates a local proxy with Virtctl:

!image

The local proxy can be connected to with any VNC Viewer, such as RealVNC

!image

Selecting "Ok" at the VNC Connection prompt will terminate the VNC connection proxy.