Step by step guide.pdf

Jun 24, 2011 - Website www.orbitone.com .... Provide the SQL Azure database name to create. 2. ... Create website in IIS and point to c:\inetpub\umbraco b.
1MB Sizes 2 Downloads 330 Views
Umbraco on Windows Azure Step-by-step guide

th

This guide is used in the Workshop training on 24 June 2011 at OneOffice in Ghent. Presentation can be found on: http://www.slideshare.net/orbitone

It describes the installation and migration of an existing Umbraco website to Windows Azure using the new accelerator by Microsoft. http://waacceleratorumbraco.codeplex.com

Date: Developed by: Reference: Developed for:

Orbit One BVBA Raas van Gaverestraat 83 B-9000 GENT, BELGIUM Website www.orbitone.com

E-mail Tel. VAT Bank

24 June 2011 Wim De Coninck Umbraco on Azure Workshop

[email protected] +32 9 330 15 00 BE 456.457.353 442-7059001-50 (KBC)

Contents 1.

Prerequisites _______________________________________________________________ 3

2.

Umbraco Windows Azure accelerator ___________________________________________ 4

3.

4.

2.1.

Prepare the Storage Account ____________________________________________ 4

2.2.

Run the setup script ___________________________________________________ 5

2.3.

Prepare the Accelerator for deployment ___________________________________ 5

2.4.

Prepare the hosted service ______________________________________________ 6

2.5.

Prepare the SQL Azure Server ___________________________________________ 7

2.6.

Configure Umbraco with the setup script __________________________________ 7

2.7.

Upload a clean Umbraco ________________________________________________ 8

Migrate with SQL Azure Migration Wizard _______________________________________ 9 3.1.

Configure the source database ___________________________________________ 10

3.2.

Configure the destination database _______________________________________ 11

Umbraco from CodePlex _____________________________________________________ 12 4.1.

Install _______________________________________________________________ 12

4.2.

Configure ____________________________________________________________ 12

Umbraco on Azure Workshop Umbraco on Windows Azure - Step-by-step guide - 24 June 2011

2

1.

Prerequisites

For running the setup scripts and generating the deployment package you will need the following pre-requisites:  Visual Studio 2010 and .NET 4  Windows Azure SDK and Tools for Visual Studio (March 2011) version 1.4  SQL Express 2008 R2  A Windows Azure account: You can request a free (no credit card required) account by visiting http://windowsazurepass.com/, enter your country and cloudcover for promo code. It will take a couple of days before you will receive your account, so please request it a week before attending the training.

Once you’ve installed those, let’s go get the rest:  The accelerator on CodePlex  SQL Azure Migration wizard

Umbraco on Azure Workshop Umbraco on Windows Azure - Step-by-step guide - 24 June 2011

3

2.

Umbraco Windows Azure accelerator

2.1.

Prepare the Storage Account

First we need a Storage account. Follow the steps below. 1. Log on to the Windows Azure platform at http://windows.azure.com 2. Click New Storage account found in the ribbon 3. Choose a subscription 4. Enter a valid name for your storage account 5. Select a region: West Europe 6. Click OK

7. 8.

Select the storage account click View in the properties pane to see the Primary Access Key. Copy the Primary Access Key to the clipboard

Umbraco on Azure Workshop Umbraco on Windows Azure - Step-by-step guide - 24 June 2011

4

2.2. 1. 2. 3.

Run the setup script Double click the Setup.cmd from