How to install SharePoint 2010 on Amazon Cloud : EC2

10 Dezember 2009 von Marek Kommentieren »

Last week I have tried to install SharePoint 2010 Beta on Amazon Cloud. It was not possible because at this time Amazon was not supporting Windows Server 2008. Today I have read news from Amazon AWS:

Wow! So let’s try to install SharePoint 2010 on it. And it works!

Below you will find all steps you have to follow and you will need about 1 hour for the installation.

1- You need an EC2 Account by Amazon

2- Go to the AWS Management Console (Beta)

3- Start a new instance. Be aware about the region. I’ve started my server in Europe West.

 
 

 
 

4- The Windows Server 2008 is not available as standard AMI Image, so switch to Community AMI and choose

amazon/Windows-Server2008-x86_64-SqlExpressMultiLang-v1

P.S: Thanks to Helmut for the hint about the new version of the image ( see comment about the problems with the version 1.0). So please use the v101, in my case ami-91ebc0e5

amazon/Windows-Server2008-x86_64-SqlExpressMultiLang-v101

I guess you just want to evaluate SharePoint 2010 and not to build a productive server on a beta version. So embedded SQL Express 2008 Server works for you perfect.

5- Define the number of instances to 1 and define the security group. Here you need to allow the security group to access Remote Desktop – RDP on Port 3389

 
 

 
 

6- After you instance is running, download the password for you new server. Select you instance and click on “Get windows Admin Password”. The password is encrypted so you need you private key which you will receive from Amazon during you account activation. Please notice that it will last for about 5 minutes after start of a new instance until you will be able to get your password. Be patient :- )

7- Now you can connect to you server with Remote Desktop using the public DNS name of you server

8- Now we are on the server, so open IE and download SharePoint 2010 from the technet site. Please select the English Version!

http://technet.microsoft.com/de-de/evalcenter/ee388573.aspx

Please select the Enterprise CAL version. To be able to download you must add this site http://*.microsoft.com to the Trusted Sites

9- The download 0f 561 MB are very fast! So you need about 4 minutes!

10- The Amazon Image has the Power Shell Version 1.0 on it. You need to remove this feature at first. Go to control panel and click on Programs and features to remove it.

 
 

 
 

11- We also need the KB971831 Patch for Windows Server

http://code.msdn.microsoft.com/KB971831/Release/ProjectReleases.aspx?ReleaseId=3235

 
 

Download and install it

 
 

 
 

12- Now we can start the installation of the SharePoint Server 2010 Beta. Click on the OfficeServer.exe which we have download before.

13- The first step: Install software prerequisites:

 
 

 
 

14- And then “Install SharePoint Server”. Please select the “Stand Alone” Version!

15- Enter your Product Key. You will find the MAK for example here:

 
 

http://www.mydigitallife.info/2009/11/22/free-mak-activation-beta-product-keys-for-office-visio-project-and-sharepoint-2010/

 
 

 
 

16- And now wait for until the installation finished!

 
 

 
 

17- And start the configuration Wizard

 
 

 
 

18- Done!!!!

 
 

 
 

19- The SharePoint Server is running. An IE Site pops up. Please enter your server Administrator credentials

 
 

 
 

20- And here we go. Our first site:

 
 

 
 

Enjoy!

Last but not least! What is the price tag on it?

See my bill after 2 hours of using. For 64Bit system you have to use at least the “Large instance”.

So for a month you have to pay about 350$ for the server and additional fee for the transfer.

For testing it is not the perfect price but if you consider a productive system without cost for IT maintenance, so it is very nice price.

In the next time I would like to compare it to Azure but at the moment it is not possible.

Bookmark and Share

31 Kommentare

  1. Sebastian sagt:

    sehr schön…

  2. Hi Marek, Nice article… do you have any information how much it is going to cost you to host SP on top of EC2? I know the list prices but it still looks confusing to me…

  3. Jörn K sagt:

    Sehr interessant,

    danke sehr :)

  4. Marek sagt:

    See the new part of the article:

    Last but not least! What is the price tag on it

    Marek

  5. Sebastian sagt:

    this is what I call on demand answering ;)

  6. Helmut Schmidt sagt:

    Danke für die gute Anleitung.

    Im Moment habe ich aber noch ein Problem mit gestoppten Win2008-Instanzen: Sobald ich sie wieder starte, erreiche ich die Maschine nicht mehr. Verbindung über RDP wird abgelehnt, bei den den ec2-tools dasselbe.

    Auch in der Webkonsole kann man nicht mehr machen als start/stop/terminate.
    Erst wenn ich eine völlig neue Instanz aus einem AMI erstelle funktioniert sie wieder… bis ich sie neustarten will.

    Ist das problem vielleicht bekannt?

  7. Marek sagt:

    Hi Helmut,
    first thing: do not click on terminate! This really delete the whole instance. After that you have to install it again

    second thing: just stop the instance. After that you can start it again. But remember: be patient. It really takes longer time to restart.

    third thing: after restarting your public DNS is changing! So you have also to change the Remote Desktop Server URL!

    I hope this helps

  8. Helmut Schmidt sagt:

    Hello Marek and thanks for your response.
    My problem was resolved in the meantime by the Amazon team with a new AMI as described in this post:
    http://developer.amazonwebservices.com/connect/thread.jspa?threadID=39759

    The thread only mentions problems in retrieving the instance’s password, but since the upgrade I also experience no more problems in connectivity.

    I recommend switching to the 1.01 AMI for further testing.

  9. Marek sagt:

    Thanks for all your comments! :)

    @Helmut: thanks for the hint. I’ve just updated the part of this post.

  10. Kevin sagt:

    Hello Marek,

    I think I used a different image, but was wondering, what size EBS volume do think is sufficient for testing? I see MS recommends 80gb, that enough? or overkill? Thanks for the info!

  11. Marek sagt:

    The 80GB is an absolute overkill! You will need about 25-30GB inklusive Office 2010 installation on it.

  12. I found another gotcha: The preinstalled “EC2ConfigService Settings”-Tool had the setting “Set Compute Name” checked by default on my instance.

    That led to another (very similar looking) hostname on the next restart and it cost me some time until I finally noticed the slightly different names.

    Always uncheck that setting and keep your hostname!

  13. Nick Swan sagt:

    with regards pricing, I pressume if you turn the instance off, you don’t get charged? This in my mind makes it very good for testing – as you only switch it on while you need to test something

  14. Marek sagt:

    Hi Nick, this is correct but you have to pay for the storage used by your server instance. So in case of SharePoint installation I’m using incl. the operating systems 9GB of data.

    The price for it:

    Amazon EC2 EBS
    $0.11 per GB-month of provisioned storage 8.723 GB-Mo 0.96$

  15. Kevin sagt:

    What’s the best method for shutting down the server and not losing everything when I start back up? If I simply “Stop” the instance, does this stop the CPU counter so that I’m then only paying for storage?

  16. Marek sagt:

    @Kevin: exactly, it is how it works. After the stop of the server you pay only for the storage

  17. Amy sagt:

    What’s the best method for shutting down the server and not losing everything when I start back up? If I simply “Stop” the instance, does this stop the CPU counter so that I’m then only paying for storage?

  18. Bruce sagt:

    The 80GB is an absolute overkill! You will need about 25-30GB inklusive Office 2010 installation on it.

  19. Steve sagt:

    @Kevin: exactly, it is how it works. After the stop of the server you pay only for the storage

  20. Torsten sagt:

    Have you tried this with an external SQL server? Is there any reason not to create farm setup with EC2?

  21. Tuyen Tran sagt:

    Thanks so much for this doc. I was able to install SP2010 on wins server 2008 SP 2 (image: ami-dde40db4 with SQL 2008)

    I didn’t choose “Stand alone”. I chose “Complete install” and specify SQL server name and account used (on the same box). Had also to install Active Directory.

    After stop and start EC2 box, the “Computer name” is changed. SP2010 can’t connect to SQL server. I have to disconnect and reconnect to the existing farm (with new SQL server name): still get unable to connect to the database.

    Any help? Thanks.

  22. Marek sagt:

    @Tuyen Tran – to avoid that the server name change by every reboot you have to change some settings in Windows Configuration Service

    http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?appendix-windows-config.html

    Please set the property Ec2SetComputerName to DISABLED in C:\Program Files\Amazon\Ec2ConfigSetup\config.xml

    and the property SetSysprep to NO in C:\Program Files\Amazon\Ec2ConfigSetup\BundleConfig.xml

    this must be a step BOFORE you run the SharePoint Wizard. Otherwise every reboot will cause that the SQL DB cann’t be reached by SharePoint Server.

    I hope it works for you!

  23. M Ahmed sagt:

    Hi Marek,
    I am sharepiont developer. Can I get a space on Amazon to install and test sharepoint 2010 application as I want to do work on this in future.
    I have a free developer account on https://aws.amazon.com

Einen Kommentar hinterlassen