Looking to Scale MongoDB on the Cloud? Try a PaaS
A guest post from Isaac Roth of Red Hat OpenShift
Two weeks ago a few members from the OpenShift team made it down to Santa Clara to hang out at MongoSV (Silicon Valley), take in a few sessions and have some great conversations with other MongoDB enthusiasts. If you didn't make it out to the conference, you really missed out. There were some great sessions that covered MongoDB scaling strategies, schema design, performance tuning, internals and even a preview of MongoDB 2.2.
As you know, there's a vibrant ecosystem of partners around MongoDB with everything from hosted MongoDB to Platform-as-a-Service (PaaS) providers that offer managed MongoDB. I was fortunate to meet the developers of several interesting open source projects that add on to MongoDB or use MongoDB internally. I was also able to speak with many developers who use MongoDB in their projects from mobile and enterprise social applications to a control system that leverages real-time sensor data.
Ok, if you didn't catch the announcement at the show, you might be asking yourself, what's OpenShift? It's Red Hat's Platform-as-a-Service (PaaS) that supports Java, Ruby, PHP, Perl, Python and of course MongoDB. What's the point of a PaaS? To make a developer's life easier. How? By automating the tedious and often complex tasks of configuring middleware and scaling applications.
At the conference, we took the opportunity to launch what we feel is the industry’s best support for MongoDB on a PaaS. Our goal is to make MongoDB easy AND powerful for developers who want to take advantage of it in the cloud. You can think of OpenShft as a MongoDB PaaS.
Here’s a recap of what we announced at the conference, plus some new features that just went live today:
MongoDB 2.0 Support
MongoDB 2.0 introduces a bunch of cool features that you can easily test drive in the cloud. How? OpenShift has a simple sign up that requires just an email address. Next, you install the OpenShift client tools or use the web UI, issue one command to add MongoDB to your project and congrats! You are now running MongoDB on the cloud, on a PaaS to be specific.
Big Instances, for FREE!
When you sign up for OpenShift you get up to five, free 512 MB instances on which to deploy your applications and MongoDB. What’s the catch? There is none. Getting started with MongoDB in the cloud is fast, free and easy! If you haven’t used Mongo, this is a great way to start experimenting with it.
Log Tailing in the Cloud
We’ve also added the ability tail MongoDB logs on OpenShift. (You can do this with application log files too.) Just because you’re running on the cloud doesn’t mean you don’t want to audit what is going on at any given time. You get the best of both worlds here: Simplicity and economy by outsourcing the platform, but also visibility and feedback as if MongoDB was running locally.
With a simple command you can backup and restore MongoDB instances running on the OpenShift PaaS. Don’t worry about filesystems and dump commands and whatever - let OpenShift do it for you.
RockMongo Admin GUI
We’ve made it easy to manage MongoDB on OpenShift with the ability to deploy the RockMongo web administration GUI alongside your MongoDB instance with a single command. We've got a step-by-step blog and video that walks you through the process.
Again, our aim is to make working MongoDB in the cloud as easy as if you were working with it locally. OpenShift has integrated the MongoDB Shell into its client tools so that you can administer MongoDB from the same prompt you use to administer your. We've got a step-by-step blog and video that shows you how to use it.
MongoDB Monitoring Service from 10Gen
With one command, you can add MMS to your OpenShift-hosted MongoDB. This simple but powerful service allows you to keep an eye on your MongoDB and visually check its pulse at any point, displaying a rich set of key performance indicators and much more. As you'd expect, we've created a detailed blog and video that shows how to get started with MMS on OpenShift.
If you want to see MongoDB in action on OpenShift, or try it yourself, we've got a ton of resources to get you started. Here's a few:
Deploying Python Apps in the Cloud with MongoDB and OpenShift - blog and video.
Deploying PHP Apps in the Cloud with MongoDB and OpenShift - blog and video.
Getting Started with MongoDB Monitoring Service on OpenShift - blog and video.
Getting Started with MongoDB Shell on OpenShift - blog and video.
Or, you can attend our webinar co-presented with 10Gen today, Dec 20, 2011 at 2 PM EST. You can register here.
To recap, MongoDB is a core data storage platform for the OpenShift PaaS and we’re excited to embrace it. Let us know what you think by blogging or tweeting about your experience. You can also interact with us on Twitter, Facebook, in the forums or on IRC at freenode - #openshift !