by Mastodon

Version 3.1.3

OS Ubuntu 18.04


Mastodon allows you to host your own social media platform on your own infrastructure. Using a suite of standard protocols, Mastodon servers can exchange information with each other, allowing users to interact seamlessly.

Software Included

Getting started after deploying Mastodon

On your first SSH login to the droplet, you will be greeted by a setup wizard that will create a working Mastodon server. Going in, you need to be prepared to enter the following information:

  • Domain name (the DNS records should already point to the droplet)
  • SMTP credentials for sending e-mails (this can be SparkPost, Sendgrid, Mailgun, etc)
  • Optional: Amazon S3 credentials for storing user-uploaded files (this can also be Wasabi or Minio)

API Creation

In addition to creating a Droplet from the Mastodon 1-Click App via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB Mastodon Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.

  curl -X POST -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer '$TOKEN'' -d \
      '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"mastodon-18-04"}' \

Support Details

Supported By:Mastodon
Support URL:

More DigitalOcean Links

DigitalOcean Community

Developers supporting developers

Ask a Question

Ask anything related to system administration, programming, devops, open source, or the DigitalOcean platform.

List your 1-Click App in the DigitalOcean Marketplace

Partner with us to build traction for your open source project or software company