Overview:

Infrastructure as a service (IaaS) and platform as a service (PaaS) are cloud service models.

IaaS offers access to computing resources like servers, storage, and networks. The IaaS provider hosts and manages this infrastructure. Customers use the internet to access the hardware and resources.

In contrast, PaaS provides a framework for developing and running apps. As with IaaS, the PaaS provider hosts and maintains the platform’s servers, networks, storage, and other computing resources. But PaaS also includes tools, services, and systems that support the web application lifecycle. Developers use the platform to build apps without having to manage backups, security solutions, upgrades, and other administrative tasks.

App Service overview

Azure App Service is an HTTP-based service for hosting web applications, REST APIs, and mobile back ends. You can develop in your favorite language, be it .NET, .NET Core, Java, Node.js, PHP, and Python. Applications run and scale with ease on both Windows and Linux-based environments.

App Service adds the power of Microsoft Azure to your application, such as security, load balancing, autoscaling, and automated management. Additionally, you can take advantage of its DevOps capabilities, such as continuous deployment from Azure DevOps, GitHub, Docker Hub, and other sources, package management, staging environments, custom domain, and TLS/SSL certificates.

With App Service, you pay for the Azure compute resources you use. The compute resources you use are determined by the App Service plan that you run your apps on.

Overview – Azure App Service | Microsoft Learn

Why use App Service?

Azure App Service is a fully managed platform as a service (PaaS) offering for developers. Here are some key features of App Service:

  • Multiple languages and frameworks – App Service has first-class support for ASP.NET, ASP.NET Core, Java, Ruby, Node.js, PHP, or Python. You can also run PowerShell and other scripts or executables as background services.
  • Managed production environment – App Service automatically patches and maintains the OS and language frameworks for you. Spend time writing great apps and let Azure worry about the platform.
  • Containerization and Docker – Dockerize your app and host a custom Windows or Linux container in App Service. Run multi-container apps with Docker Compose. Migrate your Docker skills directly to App Service.
  • DevOps optimization – Set up continuous integration and deployment with Azure DevOps, GitHub, BitBucket, Docker Hub, or Azure Container Registry. Promote updates through test and staging environments. Manage your apps in App Service by using Azure PowerShell or the cross-platform command-line interface (CLI).
  • Global scale with high availability – Scale up or out manually or automatically. Host your apps anywhere in Microsoft’s global datacenter infrastructure, and the App Service SLA promises high availability.
  • Connections to SaaS platforms and on-premises data – Choose from many hundreds of connectors for enterprise systems (such as SAP), SaaS services (such as Salesforce), and internet services (such as Facebook). Access on-premises data using Hybrid Connections and Azure Virtual Networks.
  • Security and compliance – App Service is ISO, SOC, and PCI compliant. Create IP address restrictions and managed service identities. Prevent subdomain takeovers.
  • Authentication – Authenticate users using the built-in authentication component. Authenticate users with Azure Active Directory, Google, Facebook, Twitter, or Microsoft account.
  • Application templates – Choose from an extensive list of application templates in the Azure Marketplace, such as WordPress, Joomla, and Drupal.
  • Visual Studio and Visual Studio Code integration – Dedicated tools in Visual Studio and Visual Studio Code streamline the work of creating, deploying, and debugging.
  • Java tools integration – Develop and deploy to Azure without leaving your favorite development tools, such as Maven, Gradle, Visual Studio Code, IntelliJ, and Eclipse.
  • API and mobile features – App Service provides turn-key CORS support for RESTful API scenarios, and simplifies mobile app scenarios by enabling authentication, offline data sync, push notifications, and more.
  • Serverless code – Run a code snippet or script on-demand without having to explicitly provision or manage infrastructure, and pay only for the compute time your code actually uses (see Azure Functions).

Limitations

  • App Service on Linux is not supported on Shared pricing tier.
  • The Azure portal shows only features that currently work for Linux apps. As features are enabled, they’re activated on the portal.
  • When deployed to built-in images, your code and content are allocated a storage volume for web content, backed by Azure Storage. The disk latency of this volume is higher and more variable than the latency of the container filesystem. Apps that require heavy read-only access to content files may benefit from the custom container option, which places files in the container filesystem instead of on the content volume.

Scenarios

There are two main options available for deployment in PaaS (Platform as a Service). The first option is App Service, which offers several sub-options.  And the second option is ASE (App Service Environment)

1. Web App (Host Web Aps with App Service):

This option allows you to host and deploy web applications easily. It provides a fully managed platform and supports different programming languages and frameworks.

2. Static Web App:

If you have a static website, this option is suitable for you. It simplifies the deployment process by automatically building and deploying your static web content.

3. WebApp + database:

This option enables you to deploy a web application along with a database. It provides seamless integration between your web app and the database, making it easier to manage and scale.

4. Host Web Apps with App Service Environment

reference architecture demonstrates a common enterprise workload that uses App Service Environment version 3. Enterprise deployment using Azure ASE – Azure Reference Architectures | Microsoft Learn

5. Host Web Apps with Azure Spring Apps

Azure Spring Apps is a managed service for hosting Spring apps, with Basic, Standard, and Enterprise plans, each one adding features to the previous plan.

reference architecture describes how to run Java Spring Boot workloads on Azure Spring Apps. The design uses zone redundancy to achieve high availability. Implement this design to prevent an application from failing if there’s an outage in all datacenters in a zone.

6. Serverless Web Apps with Azure Function

architecture shows a serverless web application. The application serves static content from Azure Blob Storage, and implements an API using Azure Functions. The API reads data from Azure Cosmos DB and returns the results to the web app.

These options provide flexibility and scalability for deploying applications in the PaaS environment. Choose the option that best suits your specific needs and requirements.

Description of these App Services

App Services:

Azure App Service enables you to build and host web applications in the programming language of your choice without managing infrastructure. Learn how to create a website through the hosted web app platform in Azure App Service.

Static Web Apps:

App Service Static Web Apps is a streamlined, highly efficient solution to take your static app from source code to global high availability. Pre-rendered content is distributed globally with no web servers required. 

Azure Spring Apps:

Azure Spring Apps provides managed infrastructure and application lifecycle management, with built-in capabilities to monitor and operate your Spring Boot applications.

Container Apps:

Azure Container Apps are containerized apps that scale on demand without requiring you to manage cloud infrastructure. You’ll need a container and an environment for your first app. Select existing resources or create them now.

App Spaces (preview):

Deploy web, API, or containerized apps from your GitHub repository.

 Ten design principles for Azure applications

Design principles for Azure applications – Azure Architecture Center | Microsoft Learn

Follow these design principles to make your application more scalable, resilient, and manageable.

Conclusion

In conclusion, when it comes to deploying applications in a PaaS environment, App Service and Azure Spring Apps are two viable options to consider. Each option provides different deployment choices and features to meet the specific needs of your applications. Whether you choose App Service or Azure Spring Apps, Microsoft Azure offers a robust and scalable platform for deploying and managing your applications in the cloud.

References:

https://learn.microsoft.com/en-us/azure/app-service/overview

https://learn.microsoft.com/en-us/azure/architecture/guide/design-principles

17 thoughts on “App Service Overview”

Leave a Reply