Deploying to prod – Docker pt. 1

It’s been a while since I’ve tried to deploy a web app to production. Honestly, the last time I did this was in a coding bootcamp almost 5 years ago. I’m not really sure what deployment strategies are recommended these days, but after doing some research and talking to a few friends, I think I’ve generally got a direction:

  • Containerize with Docker – I don’t have experience with virtualization technology, but I know that in working with larger teams, having containers can be helpful in isolating dependencies and making sure that everyone is developing off of the same set of tech
  • Deploy with Kubernetes or ECS – I’m still a little unsure of which approach I’ll take here, but because the app I’m looking to deploy is pretty light, I’m hoping that either option will be pretty straightforward

So far, I’ve downloaded Docker for Desktop and I plan to go through some basic tutorials to learn basic commands.

The app I’m looking to deploy is running locally with the following:-

  • Django – backend python framework
  • sqlite3 – DB
  • Node – frontend server
  • React – frontend js framework

Hopefully once I get a grip on Docker, I can utilize Docker Compose, and then by that time, have an idea of what I will use to take my web app live.

My next post will be about working with Docker and where I’ll go from there!


Leave a comment