How to deploy Magnolia CMS to cloud

By | July 25, 2011
Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

This is a step-by-step tutorial on getting your own instance of Magnolia CMS – one of the most popular open-source Content Management Systems (CMS) running in Jelastic Java cloud cloud for you (scroll down if you want to see a video version of the same procedure).

(Jelastic can natively run any Java application with no code changes required so the procedure below is applicable to most Java applications.)

1. Create the environment

  1. Go to
  2. If you don’t have an account there yet – sign-up for one – it is free.
  3. Login with your Jelastic credentials by clicking the Log In link on the page.
  4. Click Create environment in the top left corner of the dashboard:


5. In the environment constructor, select Tomcat as your App server, set the Cloudlets limit (“cloudlet” is a chunk of memory (128 MB) and processing power measuring how much resources are granted to your server) to at least 4 (don’t be afraid to set to a higher limit – e.g. 16 – in reality Jelastic will be only using the minimum the application needs), and specify your environment name: e.g. Magnolia, then click Create:

magnolia cms

In a minute or so your environment will be ready.

2. Download Magnolia CMS package

Now that we have created a hosted environment we need to get the actual Magnolia CMS package to host there.

  1. Go to and click Download Magnolia CMS Now,
  2. This will get you to the Magnolia downloads page, where you can either register for the enterprise edition trial, or click Download and try for the community edition:

download magnolia

3. You don’t need the Tomcat bundle (we’ve got Tomcat running already!) so ignore the bundle and go into the magnolia folder:

magnolia hosting

4. Click the folder with the latest version:

magnolia cms hosting

5. Download the WAR package that you need:

magnolia war

3. Deploy Magnolia CMS

Now that we’ve got the environment and the Magnolia CMS package it is time to deploy!

  1. Back in Jelastic dashboard, click the Upload button in middle left of the screen:

host magnolia

2. Browse to the Magnolia CMS WAR package, optionally provide any comment you would like, and click the Upload button:

host magnolia cms

3. You will see that the Archive uploading task got added to the Tasks list and can track the upload progress:

upload magnolia cms

4. Once the upload is over, click the Deploy to… button next to the package in the Deploy manager, and pick your environment as the target:

deploy magnolia cms

5. You can then optionally create a context for the deployment (you would do that if you want to run multiple applications on one server – each would get a subURL based on the context you specify – e.g., just leave it as ROOT if you don’t need subURLs:

deploy magnolia

6. Once the deployment is finished you can click the Open in browser button for the environment:

install magnolia cms

With the “One click” install option you can have Magnolia CMS up and running within minutes. Our application packaging gives you rapid and stable multitenancy. The process is simple. Just a few clicks and you are done. Navigate to our Solutions page, select Magnolia from the list of available apps and get it hosted in a minute, skipping the steps of manual installation. You can find more details about Jelastic App Packaging here.

7. And in the browser, basically follow Magnolia’s instructions. First click the Start install button:

magnolia cms configs

8. Then Start up Magnolia:

run magnolia cms

9. Then just sign-in at the login page:

    • Username: superuser
    • Password: superuser

connect magnolia cms

That is it. You now have your own private instance of Magnolia CMS up and running!

Here’s also a video version of the same procedure:


Bottom-line is: Jelastic makes it extremely easy to get any Java application up and running.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

Subscribe to get the latest updates

  • diego

    Hi. When I deploy magnolia-bundled-webapp-4.4.4.war , the images aren’t showing.
    Do I have to upload any lib ?

    • Dmitry Sotnikov

      Diego, just to be clear, so you get to 3.4. and cannot then open it in browser?

  • diego

    hi Dmitry, I could start the magnolia installation and open the login page, but all the images is not loading. thanks

    • Dmitry Sotnikov

      OK, got it now. I’ll take it offline to troubleshoot the issue with you.

  • Pingback: Deploying Corinis CMS to the Cloud « Jelastic — Rock-Solid Java in the Cloud, Java Server Hosting, Java Cloud Computing()

  • Jay

    Cool, this works like a charm 🙂 wonderful work Jelastic Team !


  • Ngoni

    Hie guys, how can have the Author and Public instance views, The author instance seems to be the one that comes up there, how about the public instance?? The webapp folder of my jelastic Tomcat shows just one folder for the Author, how do i get the public instance there ??


  • Anis

    Hi. where can i find .war file? i have problem installing author instance.
    Thank you.

    • Marina Sprava

      Hello, Anis!

      Please look through subsection “Download Magnolia CMS package”.

      Best regards,

  • Anis

    i’d follow the instruction.but still, there’s error “The requested resource is not available.”
    What should i do?

    • Marina Sprava


      Please try one more time and check all the configurations, maybe you’ve missed something. If you’ll get this error one more time you can contact our or your hoster’s support.

      Best regards,