网站中用到的功能:
* Web Site (ASP.NET MVC + AngularJS) - works on Azure AppServices
* Songs Processor (.NET Windows Service) - works on Windows VM in Azure
* Azure Blob Storage - storage for music files
* Azure Table Storage - Administration Database (users storage, etc), it's an Azure NoSQL DB
* MongoDB (provided by mlab.com cloud service) - main DB
* Send Grid (sendgrid.com) - e-mails
* Braintree (braintreegateway.com) - Merchant Services
* Cloudflare (cloudflare.com) - reverse proxy with HTTPS support
需要做的工作:重新发布代码, 具体的工作内容:
1. Configure Azure infrastructure (AppServices for WebSite, Windows VM for SongsProcessor, Azure Blob Storage, Azure Table Storage)
2. Restore next parts from backup:
2.1. 发布 Web Site -> Azure AppServices
2.2. 发布 Songs Processor -> Azure Windows VM
2.3. Admin DB -> Azure Table Storage
2.4. Songs Archive -> Azure Blob Storage
2.5. Main DB -> mlab.com
3. Create new SendGrid account
4. Create new BrainTree account
5. 重新配置 WebSite and Songs Processor for new services (Azure Table Storage, Azure Blob Storage, MongoDB/mlab, SendGrid, BrainTree)
6. Create and configure reverse proxy with HTTPS in Cloudflare (or anything else)
会提供已配置的配置文件。