Azure App Services
Azure App Services provide a hosting service that developers can use to develop mobile or web apps. Apart from this, developers can also use it to build API apps or Logic apps, which provide integration with SaaS. It replaces several separate Azure services, which include Azure Website, Azure Mobile Services, and Azure BizTalk Services, and gives you a single product called Azure App Services.
App Service not only adds the security, load balancing, auto-scaling, and automated management features of Microsoft Azure to your application. It also has DevOps features including continuous deployment via Azure DevOps, GitHub, Docker Hub, and other sources, package management, staging environments, custom domains, and TLS/SSL certificates.
Azure Web Apps
- Azure Web Apps provides a platform to build an app in Azure without having to deploy, configure and maintain your own Azure VM’s.
- You can build Web App using the ASP.NET, PHP, Node.js and Python.
- They also integrate common development environments like Visual Studio and GitHub.
- You need to pay for the Azure compute resources you use.
Azure Web Apps Features
- Multiple Languages and Frameworks: Web Apps supports multiple languages and frameworks, including ASP.NET, ASP.NET Core, Java, Ruby, Node.js, PHP, and Python. Azure PowerShell and other scripts or executables can also be used as background services.
- Global Scale and Availability: Manually or automatically scale up or down. With Web Apps, you can host your apps anywhere in Microsoft’s global datacenter infrastructure.
- Easy Deployment: We may use DevOps features with Web apps and deploy our applications straight from source code repositories such as Visual Studio Team Services, GitHub Bitbucket, and others.
- Security and Compliance: App Service complies with ISO, SOC, and PCI standards. Users can log in using their Azure Active Directory, Google, Facebook, Twitter, or Microsoft accounts.
- Visual Studio Integration: Dedicated tools in Visual Studio and Visual Studio Code make it easier to create, deploy, and debug code.
- API and Mobile Features: App Service simplifies mobile app scenarios by enabling authentication, offline data sync, push notifications, and more, as well as providing turn-key CORS support for RESTful API scenarios.
- Serverless Code: Run a code snippet or script whenever you want, without needing to provision or manage infrastructure, and only pay for the compute time your code really requires.
- Managed Production Environment: The OS and language frameworks are automatically patched and maintained via App Service.
- Application Templates: In the Azure Marketplace, you may choose from a variety of application templates, including WordPress, Joomla, and Drupal.
Azure Web Apps: Deploying Web Apps
You can deploy your web apps by using several methods
- Copying files manually by using FTP
- Synchronizing files and folders to App Service from a cloud storage service, such as OneDrive or Dropbox
Azure App Service also supports deployments by using the Web Deploy technology. This approach is available with Visual Studio, WebMatrix, and Visual Studio Team Services. If you want to perform deployments by using Git or FTP, you must configure deployment credentials. Knowledge of deployment credentials will allow you to upload the web app’s code and content to the new web app, to make it available for browsing.
How to deploy a Web App?
The step by step process in deploying a Web App is as follows:
- Login to the Azure portal and click on + Create a resource
- Click on Web App to create a new Web App resource.
- Then the name, resource group, and app service plan should all be filled up.
- Select Subscription type and resource group if it already exists or create a new resource group.
- Fill all the details as per your requirement and click on Review + create.
- Review all the details entered and then click on Create.
- After clicking on create it will start deploying the Web App resource.
- Once deployment is complete the portal will display:
- Then go to the resource group in which the Web App was created and click on the created Web App.
- Click on Quickstart in Deployment to select the deployment method of your choice.
Watch this Azure Active Directory video
Azure Mobile Apps
It provides a platform to build mobile applications like storing and accessing your data recieving notifications. Mobile Apps help developers to tackle challenging requirements for modern mobile devices apps which include,
- Storing and accessing structured data
- Receiving notification in response to custom defined events
- Authenticating and authorizing users based on Facebook, Twitter, Microsoft account
- Incorporating business logic
It allows developers to build cross-platform apps that can run on Windows, IOS, or Android similar to AWS Amplify or GitHub. These apps can operate exclusively in the cloud or connect with your on-premises infrastructure for authentication. They can also benefit from the built-in push notification engine that can send personalized push notifications to almost any mobile device that is using iOS, Android, or Windows
Azure Logic Apps
- Azure Logic Apps automate business processes by linking together cloud- based apps such as Office 365, Google Services and Salesforce
- With the Logic Feature you can use a visual designer to combine connectors available from Azure Marketplace for different integration scenarios.
- Logic Apps uses a workflow engine to implement business processes that you designed and relies on connectors to provide user access
- Each step in the workflow is an action that accesses data through a connector
Azure App Service Environment
- Business critical apps often require highly scalable, isolated and dedicated environments
- To accommodate this requirement, you can use the Azure App service Environment
- Azure App Service Environment can be used to host web apps, mobile apps and API apps that require highly scalable compute resources, isolation and direct virtual network connectivity.