UCL-CloudLabs / user-portal

Front end user portal for CloudLabs
0 stars 0 forks source link

Automate the deployment of the portal on Azure #3

Open jonc125 opened 7 years ago

jonc125 commented 7 years ago

Ideally merges to development should update the staging host, and to master the production host.

See also https://github.com/UCL-CloudLabs/deployer/issues/11 about the private key(s) needed by staging & production systems. More generally we need to figure out how secrets can be stored and automatically decrypted on the portal systems.

jonc125 commented 7 years ago
ageorgou commented 6 years ago

An update on this:

@raquel-ucl and I tried the Azure Web Apps framework, which is meant to offer suitable development environments and linking with version control systems (either local repositories or GitHub). You can create a Web App resource (through the portal), but it only offers NodeJS, Ruby and PHP frameworks. There is a Flask resource which should work, but it only offers Python 3.4 (or 2.7), and has a problem with the package installation (specifically during Jinja installation due to an async keyword, introduced in Python 3.5). There is apparently a way to use more recent versions, but I couldn't get it to work. The latest attempts are in the docker-sample repo for future reference.

There is also the App Service, which is supposed to offer similar functionality and support Flask more directly, but we couldn't figure out whether we need a new account/subscription, nor make one, so we couldn't explore this more.