Overview Version History Q & A Rating & Review
digital-ocean-manager
Manage your Digital Ocean droplets on Visual Studio Code! You can just create a droplet (aka server or VPS) when starting work, and then destroy it before left.
[toc]
Get Started
Install
Search for digital ocean manager
in Visual Studio Code extension market and Install it.
Setup your token
Visit here to generate your Digital Ocean Token.
Search Digital Ocrean Manager
in your Settings (UI).
Enter your token.
RELOAD your Visual Studio Code.
Enjoy! 🥰
Usage
View your droplet list
Click this icon on the sidebar, or the button on the top.
List was updated.
Click items to copy value, for example, you can click ip_address
to copy "xx.xx.xx.xx" to your clipboard.
Create a droplet
To start, you can:
F1
and find the command: Digital Ocean Manager: Create Destroy
Click "add" button on the top view.
Select a droplet template.
Enter the name of new droplet.
A new droplet will be created.
Destroy a droplet
To start, you can:
F1
and find the command: Digital Ocean Manager: Droplet Destroy
Click "remove" button inline.
(Optional) Select droplet to destroy.
Enter to destroy it.
Create a droplet template
It's a list of object in your Settings (JSON). Default is:
{
"do.manager.dropletTemplate": [
{
"name": "temp-droplet",
"region": "sgp1",
"image": "ubuntu-20-04-x64",
"size_slug": "s-1vcpu-1gb",
"backups": false
}
]
}
Change API
You can deploy other do-cli
servers. 👉do-cli repo .
Available API now:
https://do.chiro.work
https://do-cli.deta.dev
Attentions
I manage droplets by name, destroying droplet will destroy all droplets with the same name!