Using Infrastructure as Code to Deploy My Discord Bot to the Cloud


DISCLAIMER: I am a DigitalOcean employee and so I chose to deploy my application to DigitalOcean. My opinions on this blog are my own and do not reflect the opinions of my employer.


I iterated on my Discord bot’s deployment architecture in my previous blog post so that it would be better suited for deployments to “the cloud.”

Just a quick refresher, here’s what the topology looks like as of this writing:

Step 1: Create Base Images

Step 2: Deploy MariaDB and MySQL

Step 3: Deploy the Discord bot with Terraform