Join the DZone community and get the full member experience.
Join For Free
Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database on AWS. Try it now! Brought to you in partnership with MongoDB.
- You will need boot2docker installed and running on your laptop
- You will need a Nirmata account – you can sign up for a free trial
Follow these steps to setup Nirmata and deploy applications:
- Login to Nirmata web console and go to the Host Groups section
- Select ‘Other’ from the left navigation panel and click on ‘Add Host Group’ button. You can specify the host group name and on Resource Selection Tab, select Environment type as Sandbox. Click Finish to create a new host group. On the host group page, note the host group id.
On your laptop, ensure boot2docker is installed and initialized. Verify docker is running (use ‘docker ps’ command). Run the following command to install the Nirmata agent:
curl -sSL http://www.nirmata.io/nirmata-host-agent/nirmata-b2d.sh |sh -s <host group id>
The agent should get installed and will be up and running in a couple minutes.
Go to Nirmata web console and verify your laptop is connected.
Now go to the Application section and import a sample blueprint.
Next go to the Environment section and add an environment. Provide an environment name, select Sandbox as the environment type and select the recently imported application. Click finish to start deployment of the application.
Thats it! You are now setup to deploy and manage complex applications on to your laptop.
You can also find the nirmata agent install script on github. Feel free to take a look at it and customize it for your needs.
Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.