The ability to get changes of all types – including new features, configuration changes, bug fixes and experiments into production, or into the hands of users, safely and quickly in a sustainable way. Jez Humble
Continuous Delivery – Software is always Deployable
Continuous Deployment – Deploy as the final stage of CI
In this workshop we will deploy sample Asp.net project to Azure Platform as a service.
Follow below steps
- Build Continuous Integration with Microsoft VSTS for sample asp.net project
- If you have Azure access then login to Azure otherwise lets Signup Azure cloud
- Login to Azure with the outlook account we have created from the above link and add subscription with credit card details.
- Create Web App in Azure Portal
- Fill in below details to create web app. Enter unique App name, select available Subscription, select Windows as OS, select basic App Service plan/Location, enable Application Insights for Monitoring. click on create button
- Add Azure service endpoint in VSTS
- Navigate to Build definitions and select Release option from previously created CI build
- Search for Azure task and add it to release task
- Click on 1 phase, 1 task
- Select Azure subscription and App service name web app name which we have created in Azure portal
- Make sure right CI build artifact is selected for this release
- Click on Pipeline tab, enable Continuous Deployment trigger and select master branch. Every code checked-in to master will be deployed to this server. Click on Create Release action
- Click Queue to run Continuous Deployment
- Click on Release number to see as it deploys
- Click on Logs to see whats happening in deployment.
- Deployment succeeded, open azure web app from portal. Sample asp.net application is deployed to azure
- Click Web App URL