Skip to main content

Microsoft Azure Web App Service

Three steps to create a FREE web app on Microsoft Azure using Azure CLI.

  • Create Resource Group - Name: myResourceGroup
  • Create App Service Plan - Name: lthwnodejs
  • Create Web app - Name: lthwnodejs

Create Resource Group


az group create --name myResourceGroup --location "South Central US"



Create FREE App Service Plan

MUST add --sku FREE

az appservice plan create --name lthwnodejs --resource-group myResourceGroup --sku FREE



Create Web App


az webapp create --name lthwnodejs --resource-group myResourceGroup --plan lthwnodejs

Yet another example creating a python webapp

PS F:\Projects\github\iflask> .\env\Scripts\activate
(env) PS F:\Projects\github\iflask> az webapp up --sku F1 -n iflask -l centralus
webapp iflask doesn't exist
Creating Resource group 'tuyendq_rg_Linux_centralus' ...
Resource group creation complete
Creating AppServicePlan 'tuyendq_asp_Linux_centralus_0' ...
Creating webapp 'iflask' ...
Configuring default logging for the app, if not already enabled
Creating zip with contents of dir F:\Projects\github\iflask ...
Getting scm site credentials for zip deployment
Starting zip deployment. This operation can take a while to complete ...
Deployment endpoint responded with status code 202
You can launch the app at http://iflask.azurewebsites.net
{
  "URL": "http://iflask.azurewebsites.net",
  "appserviceplan": "tuyendq_asp_Linux_centralus_0",
  "location": "centralus",
  "name": "iflask",
  "os": "Linux",
  "resourcegroup": "tuyendq_rg_Linux_centralus",
  "runtime_version": "python|3.7",
  "runtime_version_detected": "-",
  "sku": "FREE",
  "src_path": "F:\\Projects\\github\\iflask"
}
(env) PS F:\Projects\github\iflask> code .
(env) PS F:\Projects\github\iflask> az webapp up --sku F1 -n iflask -l centralus
Webapp iflask already exists. The command will deploy contents to the existing app.
Creating zip with contents of dir F:\Projects\github\iflask ...
Getting scm site credentials for zip deployment
Starting zip deployment. This operation can take a while to complete ...
Deployment endpoint responded with status code 202
You can launch the app at http://iflask.azurewebsites.net
{
  "URL": "http://iflask.azurewebsites.net",
  "appserviceplan": "tuyendq_asp_Linux_centralus_0",
  "location": "centralus",
  "name": "iflask",
  "os": "Linux",
  "resourcegroup": "tuyendq_rg_Linux_centralus",
  "runtime_version": "python|3.7",
  "runtime_version_detected": "-",
  "sku": "FREE",
  "src_path": "F:\\Projects\\github\\iflask"
}
(env) PS F:\Projects\github\iflask>

Free tier limit

PS F:\Projects\github\iflask> az webapp up --sku F1 -n iflask -l centralus
webapp iflask doesn't exist
Exceeded the limit of 1 free tier linux server farm per subscription.
PS F:\Projects\github\iflask>

Popular posts from this blog

Qubes OS: Fedora 30

Create a new Standalone VM based on fedora-29 VM template Extend root partition: run command on dom0 tuyen@dom0:~ $ qvm-volume extend fedora-30:root 12288MB Set qrexec_timeout to 600 seconds tuyen@dom0:~ $ qvm-pref --set fedora-30 qrexec_timeout 600 $ sudo dnf upgrade --refresh $ sudo dnf install dnf-plugin-sytem-upgrade $ sudo dnf system-upgrade download --release=30 Install fedora-30 template Run the following command on dom0 terminal $ sudo qubes-dom0-update qubes-template-fedora-30 Install Adobe Flash Player Adobe Flash Player will not go away soon. So, let's grab the latest version of Adobe Flash Player , then install using yum or dnf command. Verify if Adobe Flash Player is installed and works by visiting https://helpx.adobe.com/flash-player.html [user@fedora-30 ~]$ sudo dnf install Downloads/flash-player-npapi-32.0.0.238-release.x86_64.rpm Last metadata expiration check: 0:37:03 ago on Fri Aug 30 09:18:10 2019. Dependencies resolved. =========...

How to charge your device from USB Port

First of all, check BIOS Settings of your laptop or desktop Dell Look for USB PowerShare BIOS Settings: USB PowerShare Lenovo Look for Always On USB Charge in Off Mode BIOS Settings: Enable Always On USB Charge in Off Mode

Python: Free Online Courses

Ever thinking about which programming language to learn first? You can learn Python for free with these online courses.