One Platform, any Stack – DotCloud
While researching, I came across a neat and gritty solution – DotCloud.com. Basically what they do is to help you create a platform of any stack, building and deploying your stack within instance. Do away with stacking up your linux playbox, and pile up your stack cloud right away.
What is DotCloud good for?
It definitely can do a whole lot more. The stack can support a wide range of various services, framework and databases. Hence you can mix and match whichever services based on your requirements.
The next kid in the block are nodej.js and mongodb. For more information on the services, check http://docs.dotcloud.com/services/roadmap/.
Is DotCloud easy to use?
You bet. Just follow the Steps below and refer to the links as stated.
DotCloud Setup Steps:
- Signup a DotCloud account
- Install the CLI (Follow the steps for the various OS here: http://docs.dotcloud.com/firststeps/install/)
- Look for the API Key inside the DotCloud Dashboard Setting
- Paste and complete the CLI installation
DotCloud Examples:
I find the DotCloud Docs pretty clear and concise.
Pushing a static html file to DotCloud – http://docs.dotcloud.com/firststeps/quickstart/
Dynamic PHP with database – http://docs.dotcloud.com/firststeps/in-depth/
DotCloud Summary:
Creating the app:
$ dotcloud create helloworldapp2
Pushing your code:
$ dotcloud push helloworldapp2 .
Setting your database:
$ dotcloud info helloworldapp2.db
Creating database credentials and grant access:
$ dotcloud run helloworldapp2.db -- mysql -u root -pOLZeLLBdKFAiI2lGqSn4
Restart your app:
$ dotcloud restart helloworldapp2.www
Try your app:
$ dotcloud url helloworldapp2
Delete services:
$ dotcloud destroy helloworldapp2.www
Destroying whole application:
$ dotcloud destroy helloworldapp2
Personally I would think it is great for a playground and experimental ground for application and projects, and creating a stack is almost instantaneous.