Skip to content

Azure Web App migration

Christian Federmann edited this page Jul 9, 2021 · 5 revisions

Azure Web App migration

Goal: deploy OCELoT instance on Azure Web App instead of dedicated Azure VM. This should simplify deployment while also make instances more fail-safe.

Notes

Random notes from working through the web app migration process:

  • We have to think about static vs user-uploaded files: this brings up STATIC_ROOT vs MEDIA_ROOT questions for ocelot/settings.py. We also need to decide if we want to use/set MEDIA_URL to serve media files?

  • Backup of all non-database data should happen via copying data from the web app's /home/site/wwwroot/ folder.

  • Currently (7/09/2021) there is no support for running cron-like web jobs for Linux-powered app service plans :(

  • Need to define set of OCELOT_... environment variables honoured by code base.

  • Setting up vNet and private link connection to PostgreSQL database server was quite a pain. One open issue is how to connect to the database without having to use a browser-based web SSH shell...

Clone this wiki locally