☁️ Day 31: Deploying and Managing a Web Application | 100 Days of Cloud (Azure)
Welcome to Day 31 of the 100 Days of Cloud (Azure) series! In this lab, you’ll deploy a Python-based Azure Web App using App Service (Code-based deployment model) and configure a custom App Service Plan.
📌 Lab Objective:
Create and configure a Linux-based Azure Web App with Python runtime, disabled Application Insights, and custom tags.
🛠️ Task Requirements:
Web App Name: datacenter-webapp
Region: West US
Resource Group: Default
Publish Method: Code
Runtime Stack: Python (Linux)
App Service Plan: datacenter-learn-python
SKU: Basic (B1)
Application Insights: Disabled
Tags:
Name = WebAppLearning
Environment = Dev
Ensure Web App is in Running state
💻 What You’ll Do in This Lab:
🔹 Create an Azure App Service Plan
🔹 Deploy a Linux-based Web App using Python runtime
🔹 Configure Code-based publishing (no container)
🔹 Disable Application Insights monitoring
🔹 Add metadata using tags
🔹 Validate the application is running successfully
💻 Azure CLI Steps:
🔹 Create App Service Plan
az appservice plan create \
--name datacenter-learn-python \
--resource-group RESOURCE_GROUP_NAME \
--sku B1 \
--is-linux \
--location westus
🔹 Create Web App
az webapp create \
--name datacenter-webapp \
--resource-group RESOURCE_GROUP_NAME \
--plan datacenter-learn-python \
--runtime "PYTHON:3.11"
🔹 Add Tags
az resource tag \
--name datacenter-webapp \
--resource-group RESOURCE_GROUP_NAME \
--resource-type "Microsoft.Web/sites" \
--tags Name=WebAppLearning Environment=Dev
🔹 Verify Web App Status
az webapp show \
--name datacenter-webapp \
--resource-group RESOURCE_GROUP_NAME \
--query state
📚 What You’ll Learn:
Azure App Service deployment workflow
Linux-based Web Apps with Python runtime
Code-based publishing model
App Service Plan (B1 SKU) usage
Tagging and resource management
Cloud application hosting lifecycle
🌟 Why This Lab Matters:
Azure App Service is a fully managed PaaS service that allows developers to deploy applications without managing infrastructure. Understanding Code-based deployment is essential for modern cloud application delivery.
🎯 Series: 100 Days of Cloud (Azure)
Build real-world Azure DevOps and cloud deployment skills step by step.
🔔 Follow OtterTech for more Azure, AWS, Kubernetes, Docker, Linux, and DevOps tutorials!
#Azure #WebApp #AppService #Python #CloudComputing #DevOps #PaaS #100DaysOfCloud #OtterTech #Day31