- Stay within resource usage requirements.
- Do not engage in or encourage activity that is illegal.
- Do not engage in cryptocurrency mining.
Ready for the real environment experience?
Azure App Service Web Apps (Web Apps) are the instances of your websites, API, or mobile backend hosted in Azure App Service. Each Web App is deployed into an App Service plan that can handle one or multiple applications. Web Apps are also DevOps-ready and can be deployed using a variety of continuous deployment tools.
The software development process often uses local variables when developing the application. However, during deployment, the need for environment variables is fulfilled by Application Settings in App Service. You can store the secrets and plaintext information for the application to use during the runtime without hardcoding the information.
In this hands-on lab, you will discover how to connect Azure Web App to a CosmosDB Account by leveraging application settings to pass the information as an environment variable. You will use a sample NextJS application running on a Windows app service.
Upon completion of this intermediate-level lab, you will be able to:
- Create CosmosDB Accounts
- Troubleshoot NextJS on Azure App Service common issues
- Use Log Streams to read application logs
- Add Application Settings to web app settings
- Candidates for the Azure Administrator Exam (AZ-104)
- Cloud Architects
- Data Engineers
- DevOps Engineers
- Software Engineers
Familiarity with the following will be beneficial but is not required:
- Azure App Service
- Azure CosmosDB
The following content can be used to fulfill the prerequisite:
Parveen is an Azure advocate with previous experience in the professional consulting services industries. He specializes in infrastructure and DevOps with a wide range of knowledge in security and access management. He is also an Azure Certified - DevOps Engineer Expert, Security Engineer, Developer Associate, Administrator Associate, CompTIA Certified - Network+, Security+, and AWS Cloud Practitioner.
Parveen enjoys writing about cloud technologies and sharing the knowledge with the community to help students upskill in the cloud.