Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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.


The other cloud: Getting started with DotNetNuke using Amazon Web Services (AWS)

As DotNetNuke is based on .Net and as it has seen great improvements last year when it comes to “cloud“ DotNetNuke is kind of married with Azure as a cloud platform. So far, so good. Go ahead and try it. It’s simple, powerful and … beautiful ;).

However, let me try to explain this. Perhaps you’ve heard that Azure is not the only cloud platform on the market ;). There are other big players offering their services on the cloud market. Let’s call them yellow. Yes you got that right: I am talking about Amazon.

So as Amazon (AWS) offers a lot Microsoft related IaaS, you can easily run DotNetNuke on AWS. Storage, database services and Windows Servers (Amazon Elastic Compute Cloud (EC2)) are offered. Just to name a few of their services. What’s offered by Amazon is simply easy to use and pay as you go infrastructure.  A nightmare for every hosting company but a great playground for developers and customers!

However, since today it was never so easy to build your DotNetNuke playground. Just use a preconfigured AWS machine image.
At the end of this step by step tutorial, you will have a newly installed and preconfigured Windows Server 2012, IIS8, SQL Server Express 2012 (no user instance; integrated AppPool authentication) running DotNetNuke CE 7 on AWS. We will have all needed stuff on one machine, comparable to your existing Windows server. If you always wanted to run DNN on AWS: This is one pretty easy way to do it! Think about a test machine or a sample environment you need for one of your customers.

What we will do:
  1. Create an AWS machine (instance)
  2. Set security rules
  3. Run DotNetNuke
We will not use any other offered services like RDS (managed database service) as this is a beginner’s guide.

So, what do you need? Of yourse you need an amazon account. If you don’t have one … this must be your very first day on the internet. If that’s correct, no idea how you found this blog post! However, you better turn off your PC and enjoy life now. For all others having an amazon account already: let’s do it!

First, go to console.aws.amazon.com and complete the registration process to enable AWS for your amazon account. If you have used AWS before: just login. At the landing page / dashboard, just click on EC2.


Now, on the EC2 Dashboard make sure to select the AWS region US East (N. Virginia) in the upper right corner and then click on “launch instance”.


On the next screen just click on “continue”.


Now, switch to the “Community AMIs” tab and search for (guess what) “dotnetnuke”. The search is quit slowly. So be warned. If you selected (as mentioned above) the AWS region N. Virginia correctly you will find an AMI (Amazon Machine Image) as shown. It was preconfigured by myself: use it on your own risk (as always). As of today, you should only find one image containing the name “dotnetnuke” (ami-32cd5b5b; DotNetNuke CE 07.00.03). It contains everything you need. Go ahead and select it.


At the next step don’t forget to select your “Instance Type”. M1 will work great; a smaller one will do it, too. But don’t worry, you can change the instance type later if you want. Proceed for now.


At the next two screens, just click continue.



Now it’s time to give the instance a name.


And now, if you are new on AWS, you need to create a Key Pair to request the Windows Administrator password later. You need it if you want to connect to your sever using the Microsoft Remote Desktop Protocol (RDP). If that’s not necessary for you and you only want to see DNN running on AWS (sometimes HTTP is enough) you could optionally also proceed without a Key Pair.


At the next step you need to set name and rules of the so called “Security Group”. This is a kind of firewall around each AWS instance or a group of instances. Type in a name, select and add the predefined rules HTTP, HTTPS and (if you want) RDP.  You can change the rule set later.


That’s it. Launch now!



After you launched your instance … get a coffee … drink it. Take a long breath. What I’m trying to say here: Leave the instance some time to initialize. It needs to boot, configure and start all services. This may take about 4 to 5 minutes.
After you had your coffee, select the instance in the dashboard (you already did that, right!) and copy the URL to your clipboard … and open it in a new browser window.


Now, if you gave the instance enough time, the default DotNetNuke 7 installation will show up. If this doesn’t happen: time for coffee. And try again some minutes later.
Enter a host username and password. You don’t need to change the database information. Just keep it.



Done. Congrats.


As you pay as long as your instance is running, you perhaps want to shut it down or even terminate it; or if you want to connect to the instance by RDP to see what you have done, you will need your Windows Administrator password. You will find all the needed functionality in the “Actions” menu.


So, what’s next: play around! And don’t forget to take a look at the brilliant EC2 documentation.

Enjoy!

Cross-posted on ITM Labs

Comments

Rodney Joyce
Very interesting - so how does the service compare with Azure? Which is better for an average size website?
Rodney Joyce Thursday, August 29, 2013 2:33 AM (link)
Benjamin Hermann
Hard to say ... the crucial question. Amazon is very strong in IaaS; Azure is rising, started with PaaS. If it comes to other for DNN Platform helpful infrastructure (i.e. CDN) AWS becomes really strong in my eyes. Perhaps this helps also: http://www.gartner.com/technology/reprints.do?id=1-1IMDMZ5&ct=130819&st=sb
Benjamin Hermann Thursday, August 29, 2013 5:25 PM (link)
Brien Parrett
What if you are a Professional or Enterprise customer. Does AWS offer those editions?
Brien Parrett Thursday, September 5, 2013 3:50 PM (link)
Benjamin Hermann
right now they are not available as "ready to run" images as shown above. However you can run them easily on AWS infrastructure. Perhaps one day DNN Corp starts to sell them as AWS appliance (pay as you go). Who knows.
Benjamin Hermann Thursday, September 5, 2013 5:42 PM (link)
Duncan Gallimore
How can I get this in other regions on AWS? I'm based in Europe.
Thanks, Duncan
Duncan Gallimore Thursday, November 14, 2013 8:01 AM (link)
Benjamin Hermann
you can start it up in US east and transfer it to every other region. If you like, I can transfer the image for you. just let me know.
Benjamin Hermann Friday, November 15, 2013 12:40 PM (link)
Mike
Great post! Thanks for the details and step by step instructions. However, I'm trying to figure out what route I should go before setting up another virtual environment, and I'm hoping I can get some feedback from users here. AWS vs Windows? I currently use powerdnn, and their support is great, but the prices just keep going up and up and up. specifically for memory. I run anywhere from 10 to 20 customer sites, 90% dnn, per vmachine. What route would you go if you were going to try and make a gradual transfer into something more affordable: aws or windows? This is also a dumb question but I'll ask it anyways: is plesk or something similar readily available on these virtual pay as you go setups? How do you manage the creation and configuration for a new domain for example? Thanks All!
Mike Tuesday, November 26, 2013 2:38 PM (link)
Bruce Chapman
@Mike you will find that AWS and Azure are incredible similar in pricing. If you're making the switch into using AWS/Azure Virtual Machines (their IaaS platforms) be sure to check your prices across everything including support- which you don't get in the basic plans. Neither support Plesk and many of the tasks such as assigning domains will be more hands on. I would go into each environment and test out the options for creating sites. Just using the IaaS platforms with AWS or Azure means you miss out on some cool features but if you want to take the leap, it just means taking on more control yourself.
Bruce Chapman Tuesday, November 26, 2013 6:28 PM (link)
Benjamin Hermann
Want to to the same more or less manually: http://docs.aws.amazon.com/gettingstarted/latest/computebasics/getting-started-deploy-app-download-app.html
Benjamin Hermann Wednesday, December 18, 2013 10:54 AM (link)
Benjamin Hermann
Find DNN 07.02.00 in ami-8dedc4e4
Benjamin Hermann Wednesday, December 18, 2013 4:09 PM (link)
Benjamin Hermann
Community AMI updated to 07.03.00 ami-d8a35eb0 for us-east-1 and ami-7d26e80a for eu-west-1 #dnncms sandbox
Benjamin Hermann Thursday, June 12, 2014 3:26 AM (link)
Benjamin Hermann
Community AMI updated to 07.03.00 (IIS 8.5) ami-740ef31c for us-east-1 and ami-e36ca294 for eu-west-1
Benjamin Hermann Thursday, June 12, 2014 4:10 PM (link)
Benjamin Hermann
DNN Platform 08.00.00 CTP 1: ami-46f4c42e us-east-1
Benjamin Hermann Saturday, April 4, 2015 3:07 AM (link)
Benjamin Hermann
DNN Platform 08.00.00: ami-bd2c0ad7 us-east-1
https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#LaunchInstanceWizard:ami=ami-bd2c0ad7
Benjamin Hermann Wednesday, January 20, 2016 4:54 PM (link)
Dave R
I know this is old post but could you please tell me how can I apply purchased theme/skin on the amazon web services? I have selected "blank" template at the time of installation so I can apply "creative" template. generally I can do this in my folder by adding skin,container and selecting "creative" template from admin --> site wizard but how to do this on aws?
Dave R Sunday, March 20, 2016 10:15 PM (link)
Benjamin Hermann
Well, just do it the same way as always. Upload the stuff using DNN itself or login to the server (RDP) and copy the content into the folders. There is no difference here to other web server or DNN installations.
Benjamin Hermann Monday, March 21, 2016 9:07 AM (link)
Dave R
I login to remote desktop and works fine. Thanks for the help.
Dave R Monday, March 21, 2016 9:21 PM (link)
Benjamin Hermann
Switched to marketplace to get the AMI published in all AWS regions starting with DNN 08.00.04
https://aws.amazon.com/marketplace/pp/B01LXTL7JW/
Benjamin Hermann Thursday, September 15, 2016 5:19 AM (link)
Benjamin Hermann
Added frist DNN 9 AMI
https://aws.amazon.com/marketplace/seller-profile?id=839e4335-52cb-4c81-8f7c-cf4438c3a04d
Benjamin Hermann Tuesday, October 11, 2016 11:34 AM (link)

Comment Form

Only registered users may post comments.

NewsArchives


Aderson Oliveira (22)
Alec Whittington (11)
Alessandra Daniels (3)
Alex Shirley (10)
Andrew Hoefling (3)
Andrew Nurse (30)
Andy Tryba (1)
Anthony Glenwright (5)
Antonio Chagoury (28)
Ash Prasad (37)
Ben Schmidt (1)
Benjamin Hermann (25)
Benoit Sarton (9)
Beth Firebaugh (12)
Bill Walker (36)
Bob Kruger (5)
Bogdan Litescu (1)
Brian Dukes (2)
Brice Snow (1)
Bruce Chapman (20)
Bryan Andrews (1)
cathal connolly (55)
Charles Nurse (163)
Chris Hammond (213)
Chris Paterra (55)
Clint Patterson (108)
Cuong Dang (21)
Daniel Bartholomew (2)
Daniel Mettler (181)
Daniel Valadas (48)
Dave Buckner (2)
David Poindexter (12)
David Rodriguez (3)
Dennis Shiao (1)
Doug Howell (11)
Erik van Ballegoij (30)
Ernst Peter Tamminga (80)
Francisco Perez Andres (17)
Geoff Barlow (12)
George Alatrash (12)
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 (274)
John Mitchell (1)
Jon Henning (14)
Jonathan Sheely (4)
Jordan Coopersmith (1)
Joseph Craig (2)
Kan Ma (1)
Keivan Beigi (3)
Kelly Ford (4)
Ken Grierson (10)
Kevin Schreiner (6)
Leigh Pointer (31)
Lorraine Young (60)
Malik Khan (1)
Matt Rutledge (2)
Matthias Schlomann (16)
Mauricio Márquez (5)
Michael Doxsey (7)
Michael Tobisch (3)
Michael Washington (202)
Miguel Gatmaytan (3)
Mike Horton (19)
Mitchel Sellers (40)
Nathan Rover (3)
Navin V Nagiah (14)
Néstor Sánchez (31)
Nik Kalyani (14)
Oliver Hine (1)
Patricio F. Salinas (1)
Patrick Ryan (1)
Peter Donker (54)
Philip Beadle (135)
Philipp Becker (4)
Richard Dumas (22)
Robert J Collins (5)
Roger Selwyn (8)
Ruben Lopez (1)
Ryan Martinez (1)
Sacha Trauwaen (1)
Salar Golestanian (4)
Sanjay Mehrotra (9)
Scott McCulloch (1)
Scott Schlesier (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)
Steven Fisher (1)
Tony Henrich (3)
Torsten Weggen (3)
Tycho de Waard (4)
Vicenç Masanas (27)
Vincent Nguyen (3)
Vitaly Kozadayev (6)
Will Morgenweck (40)
Will Strohl (180)
William Severance (5)
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out