Knowledge bird language: https://www.yuque.com/seanyu/azure/appservice
No public: Cloud computing actual combat
Overview
1. Web hosting applications used, and the movable backend RESTful API;
2.Paas product, without user management infrastructure;
3. Automatic scaling, high availability;
4. The back-end system supports Windows and Linux;
5. Support GitHub, Azure DevOps, Git repository for automatic deployment;
6. Multi-language: .NET, Node.js, PHP, Java, Python (Linux), HTML, etc.
7.SLA 99.95%
Product integration with Azure
1. custom domain name;
2.SSL protection;
3.CDN support;
Case I deploy Node.js Site
1. Download and install Node.js
2. Prepare Node.js test site
Use npm tool npx run the following command directly:
npx express-generator myExpressApp --view pug --git
Then execute:
cd myExpressAppnpm install
Elevation start
Open a browser and navigate to HTTP: // localhost: 3000 , which should be something like this will show
3. Prepare the development environment Visual Studio Code
Code Studio download and install Visual: https://code.visualstudio.com/
Download extensions:
Azure is set to expand in China Azure (If you are using Internet century version, you need this step):
Azure account login:
4. Create a Web App in Azure
5. Release Node.js website to Azure Web App
Open VS CODE, open the Node.js project site
输入 (CTRL + SHIFT + P) 进行部署,方法是键入“deploy to web app”并运行“Azure App Service: Deploy to Web App”命令。
点击Browse Website 查看网站。