MongoDB in my Own hosting (a2hoting.com)

306 views
Skip to first unread message

Maravilho Singa

unread,
Aug 21, 2016, 7:54:51 PM8/21/16
to mongodb-user
A2hosting.com support:

- MongoDB 
- Node.js
- Python

I'm using Parse.com hosted and i want to migrateto my own Parse server, without using any MongoDB provider service. 

Can any one explain how to create e new MongoDB database using ssh ?

Stephen Steneker

unread,
Aug 22, 2016, 2:14:04 AM8/22/16
to mongodb-user
Hi Maravilho,

This question would be better directed to your hosting provider as the answer will vary depending on the hosting plan you are paying for and the included features/access.

Generally:
  • For shared hosting, the hosting provider will likely have an administrative control panel or interface for managing database access (eg. cPanel, Plesk, Webuzo, ...).

  • For semi-managed VPS hosting, your provider may also provide an administrative control panel or shortcuts for managing MongoDB.

  • If you have a fully unmanaged VPS hosting plan, you probably need to install a MongoDB server using the relevant tutorial for the operating system your VPS is using. See: MongoDB Installation Tutorials. You should also review the MongoDB Security Checklist to ensure your deployment is properly secured (limited network access, authentication enabled, ...).
In all of the above cases, your provider may give you ssh access but with different restrictions in terms of installing or managing software from the command line. For the most relevant advice I would check with your hosting provider or the documentation/FAQs appropriate to your hosting plan.

Databases do not need to be explicitly created in MongoDB - the first insert to a collection will create the database, assuming appropriate user/role permissions. Your database should be created during the process of restoring/migrating data from your Parse deployment.

Parse has a helpful guide for Migrating an Existing Parse App. If you follow this migration guide, the Parse migration tool should be able to migrate your data from Parse to your self-hosted MongoDB.

If you still have questions about, please let us know.

Regards,
Stephen
Reply all
Reply to author
Forward
0 new messages