No doubt that Cloud service helps developers so munch in deployment. One of the most effective serices is App Serivce with features like scale automation, available interaction with mysql and webJobs, easy to deploy by VSCode... Now, I will instruct to create an app service on portal.



First of all, App serivce supports 3 types: Web app, static Web app and Web app and database. For my circumstand, I use web app because my app use spllite (Database store in file). Coder have to define the subdomain (can config custom domain later). I prefer Code and Linux in instance detail because I will clone my code from repository and I get familiar with terminals in linux more than window.

Image


Next step, developers have to enabled Github Action to Appservice automatically clone new code and build them on machine. Then, we authorize github account. We also can custom reposotiry if don't use github.



Image

The rest steps I use default configurations. As result, we get appservice successfully

Image

The important thing when developers maintaince an application is logging. Fortunately, Azure App service supports log system is log stream.

Image

However, we can access to machine app service by SSH to see logs files.

Image

Steve Nguyen

© Steve CV. All rights reserved.
Design - TemplateFlip