DigitalOcean

From Indie IT Wiki

Introduction

DigitalOcean offers simple, cost-effective cloud hosting solutions for SaaS apps, AI/ML, websites, and more. DigitalOcean has products, tools, and support to grow your business with predictability, reliability, and scalability.

Command Line Interface

Documentation

https://docs.digitalocean.com/reference/doctl/

https://github.com/digitalocean/doctl?tab=readme-ov-file#examples

https://github.com/digitalocean/doctl/blob/main/README.md

Installation

Create an API Token ...

DigitalOcean dashboard > API > Tokens > Generate New Token

Download the software ...

curl -sL https://github.com/digitalocean/doctl/releases/download/v<version>/doctl-<version>-linux-amd64.tar.gz | tar -xzv
sudo mv ~/doctl /usr/local/bin
doctl --version
doctl auth init

Usage

doctl compute droplet list
doctl compute domain list
doctl compute domain records list mydomain.com