Learn More





DNN Community Blog

The Community Blog is a personal opinion of community members and by no means the official standpoint of DNN Corp or DNN Platform. This is a place to express personal thoughts about DNNPlatform, the community and its ecosystem. Do you have useful information that you would like to share with the DNN Community in a featured article or blog? If so, please contact .

The use of the Community Blog is covered by our Community Blog Guidelines - please read before commenting or posting.

3 Easy Steps To Run DNN In The Amazon Cloud (AWS)

A long time has passed since our last posting about this topic and DNN (formally DotNetNuke) as well as AWS have updated their services. Not only the continuous improvements of the AWS Management Console (Web UI of Amazon Web Services) changed the look & feel of the IaaS market leader, but DNN has also had a new major Release with Version 7.

One of the big changes for the open source CMS, DNN, is a pretty obvious one. The UI has been completely reworked and now displays a modern interface. There are a lot of other different improvements as well - like a simplified control panel, a better drag-n-drop feature for modules and auto-save during text editing, just to name a few.

The still pushing strong web services from Amazon have matured pretty nicely. There is a lot of information available and it's pretty easy to handle it - even for users who are new to cloud technology. You can set up virtual servers in the Amazon Cloud in minutes, even if you don't yet have an account!

We want to provide you with a simple step by step guide that will swiftly set you up with a working cloud-based DNN 7.

To get things started you'll need an account for the Amazon Web Services. If you have an AWS account already just skip this paragraph. If you don't - head to and sign up. In addition to some personal information you'll need a credit card since most of the services amazon provides are billed by the hour or 'pay as you go'.

After successfully logging in at you are confronted with the Dashboard. Navigate to the EC2 service and select it to get to the EC2-Service Dashboard.

Currently a pre-configured .ami-based DNN can only be run in the US East (N. Virginia) or EU (Ireland) Region. So make sure one of these specific regions is selected. Once you're sure that you're in the right region you can advance to the 'Launch Instance'-Button.

Step 1: Now we can choose which Amazon Machine Image (.ami) we want to run on our EC2-Server. An AMI usually contains the OS and additional software which is required for the specific use-case. Since we want to run a preconfigured DNN on AWS, select 'Community AMIs' and type 'dnn' into the search-box.

There are currently 5 different AMIs available for DNN. There are slight differences regarding DNN7, IIS and SQL Server depending on the selected option. For our purposes select DNN Platform 07.03.00 with IIS 8.5.
In Step 2 we have a lot of different options to choose an instance type which will host our DNN. A rather small instanceshould be selected since this will only be required for testing. A t2.small or t2.medium-type will fit the purpose, which is going to cost you between USD 27 and USD 49 a month.

We want this guide to be simple and to offer a result as fast as possible. This can be achieved by selecting "Review and Launch" which leads us to the third and final step in our tutorial. (The next step in the Management Console is Step 7 - but don't be confused by this, since this is a possible shortcut within the GUI.)

Our new (almost) created DNN in the AWS-cloud should be available via HTTP for everyone. Now we have to tweak our Security Groups a little. Just click on Edit security groups to define rules such as which protocol, ports and IPs are allowed to access our DNN 7.3.

Remove the rule for RDP on Port 3389 by clicking on the 'x'-Button at the end. RDP is for Remote Desktop Protocol and this would be needed if you wanted to connect to the server via the Remote Desktop Client, but for now we don't want to connect to it. Let's make the server available via TCP on Port 80.

Just click on 'Add Rule', select 'Custom TCP Rule' and define 80 in the 'Port Range'-Box. This opens the server to all internet TCP traffic through port 80. By clicking on Review and Launch we're back at the 'Review'-Step and are ready to launch our EC2-Instance with a running DNN.

Optional (if you have a key pair already):

The last question we're asked is to specify a key pair. This is needed for remote access to the EC2-Machine. We don't currently have one, so we're going to have to create a new pair. Simply select 'Create a new key pair', specify an identifiable name and store it safe for after your download. The click on 'Launch Instances' is going to start your server so pay attention since it's going to cost you real money (it isn't much - but still dineros.)

After you have launched the instance, it will take some time until the machine is up and running. A rough estimate would be 5-10 minutes and then you're able to setup DNN with the familiar setup wizard provided by DNN7. You can check the status of your instance in the Instances context of the EC2-Service.

The 'Status Checks' indicates whether your instance is still initializing or already running. As soon as it shows the 'running' status you can use the public DNS and call it via your web browser. If you did everything accordingly you will be able to setup your DNN. Just enter a host password and a valid e-mail adresse to continue.

cross posted at ITM Labs


Hans Zassenahaus
Now that I have established DNN as a AWS website, how do I connect to the DNN software directories and the content directories to upload/modify files. I have no problem with the various FTP software packages, the difficulty comes in the user name and password for the FTP access. When I attempt to get the password using AWS, I am informed that the password has been changed by the AMI.

What to do ... besides unmounting disks and the like.
Hans Zassenahaus Friday, October 31, 2014 9:36 AM (link)
Benjamin Hermann
DNN Platform 08.00.00 CTP 1: ami-46f4c42e us-east-1
Benjamin Hermann Saturday, April 04, 2015 3:08 AM (link)
Ainsof So'o
Any answers to @Hans' request?

Also is it possible to switch data centre location after installing the DNN ami?
Ainsof So'o Monday, June 15, 2015 1:50 PM (link)
Benjamin Hermann
Not sure if I understood your questions. You can request the windows password using the typical AWS way. The offered images are sysprepped.
If you want to move an AMI; well keep the pwd and just move it and reuse the existing password; or, sysprep and move ... get a new password.
I think it makes most sense to just move the offerd AMI and then install in your target DC.
Benjamin Hermann Thursday, June 18, 2015 3:50 PM (link)
John Black
Thanks for all your work Benjamin. I've got many DNN sites at Amazon and I love the ease of use and performance.

I am having the same experience as the other commenter. I tried to use your AMI but it is not possible to decrypt the Windows Admin password in the usual AWS way. The warning is:

"This instance was launched from a custom AMI, or the default password has changed. A password cannot be retrieved for this instance"

This seems to be specific to ami-d8a35eb0. I am now using ami-32cd5b5b and it works fine.

Hope this helps.

John Black Tuesday, November 24, 2015 5:52 PM (link)
Benjamin Hermann
DNN Platform 08.00.00: ami-bd2c0ad7 us-east-1
Benjamin Hermann Wednesday, January 20, 2016 4:54 PM (link)
Benjamin Hermann
Switched to marketplace to get the AMI published in all AWS regions starting with DNN 08.00.04
Benjamin Hermann Thursday, September 15, 2016 5:20 AM (link)
Benjamin Hermann
Added DNN Platform 9 Sandbox - SQL 2016, IIS 8.5, .Net 4.6, W2K12R2
Benjamin Hermann Tuesday, October 11, 2016 11:31 AM (link)

Comment Form

Only registered users may post comments.


2sic Daniel Mettler (125)
Aderson Oliveira (15)
Alec Whittington (11)
Alex Shirley (10)
Andrew Nurse (30)
Anthony Glenwright (5)
Antonio Chagoury (28)
Ash Prasad (22)
Ben Schmidt (1)
Benjamin Hermann (25)
Benoit Sarton (9)
Beth Firebaugh (12)
Bill Walker (36)
Bob Kruger (5)
Brian Dukes (2)
Brice Snow (1)
Bruce Chapman (20)
Bryan Andrews (1)
cathal connolly (55)
Charles Nurse (163)
Chris Hammond (203)
Chris Paterra (55)
Clinton Patterson (28)
Cuong Dang (21)
Daniel Bartholomew (2)
Dave Buckner (2)
David Poindexter (3)
David Rodriguez (2)
Doug Howell (11)
Erik van Ballegoij (30)
Ernst Peter Tamminga (74)
Geoff Barlow (6)
Gifford Watkins (3)
Gilles Le Pigocher (3)
Ian Robinson (7)
Israel Martinez (17)
Jan Blomquist (2)
Jan Jonas (3)
Jaspreet Bhatia (1)
Jenni Merrifield (6)
Joe Brinkman (270)
John Mitchell (1)
Jon Henning (14)
Jonathan Sheely (4)
Jordan Coopersmith (1)
Joseph Craig (2)
Kan Ma (1)
Keivan Beigi (3)
Ken Grierson (10)
Kevin Schreiner (6)
Leigh Pointer (31)
Lorraine Young (60)
Malik Khan (1)
Matthias Schlomann (15)
Mauricio Márquez (5)
Michael Doxsey (7)
Michael Tobisch (3)
Michael Washington (202)
Mike Horton (19)
Mitchel Sellers (28)
Nathan Rover (3)
Navin V Nagiah (14)
Néstor Sánchez (31)
Nik Kalyani (14)
Peter Donker (52)
Philip Beadle (135)
Philipp Becker (4)
Richard Dumas (22)
Robert J Collins (5)
Roger Selwyn (8)
Ruben Lopez (1)
Ryan Martinez (1)
Salar Golestanian (4)
Sanjay Mehrotra (9)
Scott McCulloch (1)
Scott S (11)
Scott Wilkinson (3)
Scott Willhite (97)
Sebastian Leupold (80)
Shaun Walker (237)
Shawn Mehaffie (17)
Stefan Cullmann (12)
Stefan Kamphuis (12)
Steve Fabian (31)
Timo Breumelhof (24)
Tony Henrich (3)
Torsten Weggen (2)
Vicenç Masanas (27)
Vincent Nguyen (3)
Vitaly Kozadayev (6)
Will Morgenweck (37)
Will Strohl (163)
William Severance (5)
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?