In this hands-on lab scenario, you are working on a team that is in the middle of upgrading an application environment, and as part of that effort, you are migrating an IIS website to a newer version. To do this, you will be utilizing the Web Deploy Tool to check for website dependencies and package your website to be migrated to a newer version.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Configure the Web Server Environment
- Install Internet Information Services (IIS) on both servers: This step can be automated using the
webserver
PowerShell script from the GitHub repository - Turn off Internet Explorer Enhanced Security
- Install the Web Deploy Tool on both servers: Download link can be found in the
commands
file from the GitHub repository
- Install Internet Information Services (IIS) on both servers: This step can be automated using the
- Configure the Website
- Create a simple HTML website on
server1
: Command to create simple HTML website can be found in thecommands
file from the GitHub repository - Using the Web Deploy Tool, confirm if there are any dependencies that will need to be installed on the the target server: Dependency command can be found in the
commands
file from the GitHub repository - Create a backup of the website: Backup command can be found in the
commands
file from the GitHub repository - Package the website into a zip file using Web Deploy: Package command can be found in the
commands
file from the GitHub repository
- Create a simple HTML website on
- Migrate the Website
- Copy the website package file to the root of the C drive of
server2
- Run
whatif
on sync command to confirm that there are no dependencies missing on the server: Whatif command can be found in thecommands
file from the GitHub repository - Run
sync
command to extract website package on new version of IIS: Sync command can be found in thecommands
file from the GitHub repository - Confirm website has successfully migrated
- Copy the website package file to the root of the C drive of