-
-
Notifications
You must be signed in to change notification settings - Fork 33
Azure Deployment
Here are the steps I took to deploy the TDM Application on my (John Darragh) personal Azure account.
NOTE: Since this procedure was first written, we have decommissioned the personal Azure account, and moved all server environments to the City's Azure account. These instructions are retained as a tutorial on how you might set up the Azure services for your own deployment of the application.
Push the Create Button.
Choose Containers on the left and click on the link "Web App for Containers" on the right.
Click the Create Button.
Find the new App Service in your dashboard and open it:
Click on the Configuration Menu Item on the left panel to set up your Application Settings (i.e., SQL Server connection information)
You will need to click on "New Application Setting" and enter key-value pairs for each application setting / environment variable for the SQL Server connection. (You should not fill out the Connection String section of this page.
The SQL_* settings are the ones you will need to add. Use the appropriate connection information for the SQL Server Database. (The port number will probably be 1433 for a typical SQL Server installation.) Be sure to press the Save button on this panel for your changes to be applied.
Choose TLS/SSL settings on the left panel, and specify HTTPS Only: On and Minimum TLS Version: 1.2
Go back to the Overview tab and locate the url for the site in the upper right-hand area Click on that link to open the new web site (this may take several minutes to start working)
I got this the first time I tried:
Maybe the Application Settings are not applied until the App Service is restarted? Anyway, you can restart the App Service from the Overview Panel by pressing the Restart link on the Toolbar:
Once I did this, then the app ran:
If the web site does not connect, go back to the App service control panel and look for the "Diagnose and solve problems" tab on the left