Deploying a Static Website to Digital Ocean - setting https with lets encrypt

Subscribers:
7,970
Published on ● Video Link: https://www.youtube.com/watch?v=xPg65WN1FLw



Duration: 10:05
360 views
6


Creating a website is the first step, but we need to deploy it somewhere, preferrably someplace that won't cost an arm and a leg. Digital Ocean Droplets are a great resource to use for this since they gaurentee the maximum cost that you will be charged per month. Using the VPS solution from Digital Ocean further reduces costs since we can deploy multiple applications to the same VPS.

This course will walk you through spinning up a Digital Ocean droplet, locking it down, and deploying multiple static web sites to it.

You don't need to use Digital Ocean for this course, but it is what I'm using.

If you want some credit for Digital Ocean you can create a new account using this link which will give you $100 for 60 days. This will easily cover the costs that we'll be spending on this course.

https://m.do.co/c/aaf63280f701

Other Links

Code: https://github.com/brooks-builds/markdown_book_blog

Markdown book documentation: http://rust-lang.github.io/mdBook/index.html

Setting up a Server on Digital Ocean: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ubuntu-20-04-server-on-a-digitalocean-droplet

Choosing an ssh key algorithm: https://www.ssh.com/academy/ssh/keygen#what-is-ssh-keygen?

Adding an ssh key to the ssh agent: https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

Setting up multifactor authentication using google authenticator: https://www.digitalocean.com/community/tutorials/how-to-set-up-multi-factor-authentication-for-ssh-on-ubuntu-20-04







Tags:
digital ocean
brooks builds