Deploying

Your Dumb Ideas

With Dokku

Who am I?

Dave Smith-Hayes

  • Developer
  • Father
  • JavaScript Enjoyer
  • Web Software Deployer

What is deploying?

Releasing software to be used.

How it works for Web

  • Have a DNS record point to an IP
  • Have a webserver runnning at that IP
  • Have that webserver proxy requests to the application

My history of deploying

  • cPanel File Manager
  • FTP to Shared Hosting
  • $ git pull
  • Jenkins & Ansible build VM Images
  • Packer & Terraform build Continers

Doing it Yourself

  • Do not use AWS, its too expensive
  • Your small project is not worth the cost
  • Use a small VPS from DigitalOcean or Linode
  • Get a public IP address and root access

Blue/Green Deployment

Create an application.

$ dokku apps:create chat.freedoom.party
-----> Creating chat.freedoom.party...
-----> Creating new app virtual host file...