- Lab
- A Cloud Guru
Migrate an Internet Information Services (IIS) Website
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.
Path Info
Table of Contents
-
Challenge
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
-
Challenge
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
-
Challenge
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
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.