Open ColinOrr-Asidua opened 10 years ago
I've spiked deploying a Node.js application to Azure Websites (PaaS) and it works like a charm.
Sample code - https://github.com/rogertinsley/AzureWebsite-NodeJS Running website - http://mytestnodejsapp.azurewebsites.net
Next on my spike list: Worker role for MongoDb & Socket.IO.
The application is currently deployed in AppFog, we'd like to move it to Azure. I'd prefer that it ran on their PaaS services, rather than inside a custom VM which we would have to maintain manually.
Database connections are currently configured here https://github.com/ColinOrr-Asidua/chitter/blob/master/db.js. You will almost certainly need to add configuration for Azure.
Finally, all secrets must be kept out of the source code so connection strings, API keys and passwords must be fed to the application via environment variables (or using some other approach).