Difference between revisions of "DigitalOcean"

From Indie IT Wiki
(Created page with "== Introduction == DigitalOcean offers simple, cost-effective cloud hosting solutions for SaaS apps, AI/ML, websites, and more. DigitalOcean has products, tools, and support...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== Introduction ==
 
== 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.
+
[https://www.digitalocean.com/ 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 ==
 
== Command Line Interface ==
 +
 +
=== Documentation ===
  
 
https://docs.digitalocean.com/reference/doctl/
 
https://docs.digitalocean.com/reference/doctl/
Line 10: Line 12:
  
 
https://github.com/digitalocean/doctl/blob/main/README.md
 
https://github.com/digitalocean/doctl/blob/main/README.md
 +
 +
=== Installation ===
 +
 +
Create an API Token ...
 +
 +
[https://cloud.digitalocean.com/account DigitalOcean dashboard] > API > Tokens > Generate New Token
 +
 +
Download the software ...
 +
 +
curl -sL <nowiki>https://github.com/digitalocean/doctl/releases/download/v<version>/doctl-<version>-linux-amd64.tar.gz</nowiki> | 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

Latest revision as of 10:25, 17 February 2024

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