Migrate a .NET application from Amazon Web Services

  • Last updated on: 2016-01-19
  • Authored by: Rackspace Support

Previous section: Provision cloud resources when migrating from Amazon Web Services

This article describes the migration of a .NET web application from Amazon Web Services (AWS) to Rackspace Cloud. It takes an estimated 30 minutes to complete, if you follow the instructions step by step.

The topology of the application in this scenario is represented in the following figure:

Prerequisites

  • Microsoft Windows Server on AWS running a .NET web application on Internet Information Services (IIS) (Windows Server 2012 with IIS 8 is used in this use case.)
  • Valid and enabled account on Rackspace Cloud

Preparation

  • Identify the resources to migrate, including application and database resources.
  • If you have not already, create a Cloud Server instance and any supporting Rackspace Cloud services.

Install software packages

  1. Install the Rackspace Cloud Files client as follows:

    1. Connect to the AWS instance by using Remote Desktop Connection.

    2. After you are connected, install a client that you will use to back up data to Rackspace Cloud Files (for example, Cyberduck, available at http://cyberduck.ch/). You can use any browser to download the client.

    3. Create a connection to Rackspace Cloud Files by using your Rackspace account user name and API key. You will use this connection to back up data during the migration steps.

  2. Install IIS 8 by using the instructions located at http://www.iis.net/learn/get-started/whats-new-in-iis-8/installing-iis-8-on-windows-server-2012 .

Back up data from AWS to Rackspace Cloud Files

Using the client that you installed in the preceding section (for example, Cyberduck), upload the .NET project folder to the Rackspace Cloud Files container that you created in the article Provision cloud resources when migrating from Amazon Web Services.

Restore data from Cloud Files to Cloud Servers

  1. Connect to your Rackspace Cloud Servers instance by using Remote Desktop Connection.
  2. Copy the .NET web application folder from the Cloud Files container to the cloud server at the following location:

    C:\inetpub\wwwroot
    
  3. Open IIS Manager, click Add Website, and enter details: site name, physical path, and host name.

  4. After the website is created, stop the Default Web Site pre-installed application and start your web application.

Test your application

Click on Browse *:80 (http) to see the application in the browser.

Next step

Post-migration considerations when migrating from Amazon Web Services

For other migration scenarios, see the following articles:

Continue the conversation in the Rackspace Community.