Introducing MongoDB 3.0 Support
Today we're excited to announce the availability of MongoDB 3.0 and the ability to provision MongoDB instances in our Joyent Amsterdam region. MongoDB 3.0 provides significant stability and performance improvements over the previous versions.
The current MongoDB deployment regions are now AWS us-east-1a, Joyent us-east-1, and Joyent eu-ams-1. We're still investigating DigitalOcean as a MongoDB region, but their current storage options limitations makes that a challenge.
How to Create MongoDB 3.0 Instance
Selecting the new instances can be done by changing the Provider and Region drop down in the database create dialog:
New databases can also be created using the CLI and the "modulus mongo create" command.
Upgrading to MongoDB 3.0
Upgrading a previous instance to MongoDB 3.0 can be done by using mongodump/mongorestore to migrate the data between your instances. More information can be found in our help center
1. Create a new instance as described above.
2. Download the latest version of mongodump from MongoDB's website
3. Create a snapshot of your previous database:
mongodump -h host -u user -p pass --authenticationDatabase dbId --db dbId
The database host and dbId can be found by inspecting your connection string. It will be the following format: mongodb://host:27017/dbId. Replace the -h parameter with your specific host and the --db parameters with your specific database ID.
4. Restore the snapshot into the new database:
mongorestore -h host -u user -p pass --authenticationDatabase dbId --db dbId path/to/dump
Just like with the mongodump, check your connection string for your database's specific host and database ID.
5. Switch your application to connect to the new database
6. Thoroughly test!
7. Delete the previous instance
Meteor Users and OpLog Tailing
Just like with previous versions of our MongoDB instances, oplog access is not available on the public shared plans. Dedicated databases are available with oplog access. Prices and options can be found by contacting firstname.lastname@example.org.