🟢 What is Azure App Service?
- A Platform as a Service (PaaS) in Azure to host web apps, APIs, and mobile backends.
- You focus on writing code → Azure handles infrastructure, scaling, patching, and security.
- Supports multiple frameworks: .NET, Java, Python, Node.js, PHP, Ruby, Docker containers.
👉 Think of it like: “Just deploy your code, we’ll handle the servers.”
🟢 Key Features
- Deployment Slots → test in staging before swapping to production (zero-downtime).
- Scaling →
- Vertical scaling → increase CPU/RAM.
- Horizontal scaling → add more instances.
- Authentication & Authorization → built-in support for Entra ID (Azure AD), Google, Facebook, GitHub.
- DevOps Integration → CI/CD with GitHub Actions, Azure DevOps, Bitbucket, or FTP.
- Monitoring → Deep integration with Application Insights for performance, exceptions, and telemetry.
- Custom Domains & SSL → easy binding of your own domain with HTTPS.
- Networking → VNET integration, hybrid connections, private endpoints.
🟢 App Service Plans (Pricing Tiers)
- Free & Shared → testing, small apps.
- Basic → simple production apps, dedicated VM.
- Standard → scaling, staging slots, daily backups.
- Premium → better performance, VNET, advanced scaling.
- Isolated → dedicated environment (App Service Environment) for enterprise/secure workloads.
👉 Interview Tip:
They may ask: “If your app needs VNET access, which plan do you choose?” → Answer: Premium or Isolated.
🟢 Deployment Options
- Continuous Deployment → GitHub, Azure DevOps, Bitbucket.
- Manual Deployment → FTP, ZIP deploy, Visual Studio publish.
- Containers → Run custom Docker images or pull from ACR/Docker Hub.
🟢 Security
- Built-in Entra ID / OAuth authentication.
- Integration with Azure Key Vault (store secrets securely).
- Use Managed Identity → avoid hardcoding credentials.
🟢 Monitoring & Diagnostics
- Integrated with Application Insights → monitor requests, failures, and performance.
- Log Streaming → real-time logs for debugging.
- Kudu Console → advanced diagnostics, environment info, and process explorer.
🟢 Common Interview Questions
- What is Azure App Service?
- Difference between App Service and Virtual Machines?
- What are Deployment Slots?
- How does scaling work in App Service?
- Explain App Service Plans (Free vs. Premium vs. Isolated).
- How do you secure secrets in App Service?
- How do you integrate App Service with Key Vault?
- How do you enable CI/CD with App Service?
- Difference between App Service and Function App?
- What are some limitations of App Service?
🟢 Pros & Cons
✅ Pros
- Easy to set up and scale.
- Multi-language support.
- Deep Azure integration (Key Vault, App Insights, VNET).
- Zero-downtime deployment (slots).
❌ Cons
- Cost increases with scaling.
- Some limitations in Free/Shared tiers.
- Less control compared to VMs or AKS.
✅ Quick Recap
- Azure App Service = PaaS for web apps & APIs.
- Key features → deployment slots, scaling, CI/CD, built-in auth.
- Plans → Free → Basic → Standard → Premium → Isolated.
- Always mention → App Insights, Key Vault integration, Deployment Slots in interviews.
Comments
Post a Comment