# Create Azure App Service Resource
## Creating resources (web application)
Go to marketplace or search web app from search field
1. Create App Service (Select Web Application)O

2. Create >

3. Next..... Next review and create
4. Wait till successful deploy

Click Go to resources for over view
5. Preview of the resources

6. When Uploading code, if you want to automatically deploy from a zip file, go to the Configuration page

7. Set the name and value = true and hit ok
SCM_DO_BUILD_DURING_DEPLOYMENT

8. Don't forget to save

Configuration setup for startup command (flask)
If app.py
gunicorn --bind=0.0.0.0 --timeout 600 app:app
## Upload zip file and deploy
```
zipfileexample
├ app.py
└ Other files
```
1.[ Official Implementation: Deploy your application code to azure ](https://learn.microsoft.com/en-us/azure/app-service/quickstart-python?tabs=flask%2Cmac-linux%2Cazure-portal%2Czip-deploy%2Cdeploy-instructions-azportal%2Cterminal-bash%2Cdeploy-instructions-zip-azcli#3---deploy-your-application-code-to-azure)
## Setting up your PC for azure cli
[Install azure cli and deploy as zip](https://hackmd.io/1mwriA6EQyi1ZrPU-446Ww)
Optional
Open Advance tools and Go

You will be redirected to the azure app service
