Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
prd
README.md

README.md

DigitalOcean

  • OS ubuntu 18.04
  • region Singapore
  • 2core 2GB
  • floating ip
  • Firewall(22,80,443)
  • DNS

Preparation

  • make API
  • add ssh-key
  • confirm ssh-key
$ ssh-keygen -lf ~/.ssh/id_rsa.pub | awk '{print $2}'
  • confirm d.o ssh-key
$ curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer <API>" "https://api.digitalocean.com/v2/account/keys" | jq .
 
{
  "ssh_keys": [
    {
      "id": 123456,   # memo
      "fingerprint": "1a:7c:d5:6c:bf:d6:cf:93:49:39:66:cc:dc:ed:c5:04",
      "public_key": "...",
      "name": "mojamoja"
    },
    ...
  ]
}
  • make aws s3 bucket
You can’t perform that action at this time.