Apache Airflow allows you to define almost any workflow in Python code, no matter how complex. Because of its versatility, Airflow is used by companies all over the world for a variety of use cases.

Creating an App using the Control Panel

Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.

Deploy to DO

Creating an App using the API

In addition to creating a Droplet from the Airflow 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Airflow Droplet in the SFO2 region, you can use the following curl command. You need to either save your API access token) to an environment variable or substitute it in 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": "airflow"}' \

Getting Started After Deploying Airflow

After droplet is created airflow will be fully functional in 5-10 minutes. It can be accessible on default HTTP port - http://{$DROPLET_IP}. On your first SSH login to the droplet or launch of the Droplet console of your Airflow Droplet 1-Click, you will be greeted by a Airflow welcome message. Admin password will be shown in the welcome message. Use this password to enter the Airflow droplet website.

Certbot is installed, run it to setup HTTPS.