Deploying DotNetNuke 6.0 to Windows Azure
Learn How to deploy/publish DNN 6.0 to Windows Azure in a few simple steps!
Are you tired of searching online for a good guide on how to get DotNetNuke 6.0 running on Windows Azure?
Well your worries stop here.
I will guide you through an easy process where you deploy in no time.
Please read below and also I would be very interested to hear your comments and feedback.
First of all, I am assuming that you already have a Windows Azure Platform account and you have set everything up and you can successfully log in and see the portal (image on the right - you can log in at the first link below).
If you do not have an account please create one and then come back :)
You will find all the links you need at the "Helpful Links" section below
YOU NEED TO create a Hosted Service before you begin by clicking "New Hosted Service" on the top left of your screen (first button).
Step 1 - Create Storage
You need to create a Windows Azure Storage Services instance. You can do that by clicking what is illustrated in the image above.
Enter the URL you wish for the storage, choose a region and press OK.
Step 2 - Create a new SQL Azure Server
You have to create a new SQL Azure Server.
Please see image above on how to.
Provide a username and a password for the administrator.
DON'T FORGET to check the "Allow other Windows Azure Services to access this server". Press finish.
Step 3 - Running DNN Azure Accelerator Wizard
After you've successfully done the steps above, you need to download DotNetNuke Azure Accelerator found at the second link above in the "Helpful Links" section.
Download it to your computer and extract it to a new folder.
Run DNNAzureWizard executable found in that folder and the install wizard will start up. (image on the right)
Move onto the next step (Step 4) to get an idea on how to go through the wizard.
Step 4 - SQL Azure connection Settings
Ok, you did run the wizard and pressed next on the first screen.
You now see the image on the right...right?
Now we have to be careful on that type into those fields!
I will list the fields below with some hints on what to fill them with!
SQL Azure Server : Click on the Database button on the bottom left, then click your instance (top left). You should be able to see the Server Name on the grid in the middle of your screen.
Admin User Name: The username of the admin you created in Step 2.
Admin Password : The password you used for the admin on Step 2.
PLEASE TEST CONNECTION - If it fails you are doing something wrong.
Database Name: This is the DNN database that will be created on the server. Pick any name that suits you.
DB User Name : This is the user name of the DNN Database User. Pick one.
DB Password : This is thepassword of the DNN Database User. Pick one.
Confirm Password : The Password above.
Click Next! (Go to Step 5)
Step 5 - Windows Azure connection settings
Continuing from Step 4.
You are now into the Windows Azure connection settings page of the wizard (picture on the right).
Storage Account Name: Use the name you used in Step 1.
Storage account key : Click on the "Hosted Services, Storage Accounts& CDN" button on the bottom left of your screen (second button). Then expand your instance and click on the storage you created. You should see "Properties" on the right of your screen. What you need is the "Primary Access key". Click view and get it!
PLEASE click test. If it fails you are doing something wrong!
Now for the last field.
Bindings: This is your hosted service name but followed with "cloudapp.net". So if your hosted services name is DNNAzureTutorial then the bindings should be DNNAzureTutorial.cloudapp.net
The hosted service name is found by going to the "Hosted Services" menu on the left.
Click Next! Go to Step 6!
Step 6 - Accelerator deployment packages
After you finished with Step 5 you are asked to choose a package.
You can find the differences of these two packages by clicking and reading the third link on the "Helpful Links" above.
Click next, please take your time and read the "Summary of Settings" in case you missed something or typed something wrong and click next!
You will be asked if you are sure you want to continue. Click OK and DotNetNuke 6.0 will start deploying!
You can go to your instance name followed by "cloudapp.net" to start configuring DotNetNuke.
Interesting Azure Books!
Have a look at these helpful books found below. They are not expensive yet they offer basic and advanced learning on Azure.
Interesting DotNetNuke Books!
Have a look at these helpful books found below. They are not expensive yet they offer basic and advanced learning on DotNetNuke.