MongoDB 3.6 with XFS and Password Security Open for Connections – Linux

Visits: 1231

MongoDB 3.6 is the most popular document oriented Database. This Cyber Secured instance is configured for optimal usage with large datasets. Database files are  installed on an XFS volume which allows the WiredTiger storage system to work incredibly fast, even with conflicting write commands from different clients. We have configured it for you with a password and opened it to other networks.

This page refers to Per-installed EC2 availble at:

  • Perfect for production, development and learning
  • WiredTiger Storage System on an XFS Volume

MongoDB 3.6 Access Instructions Below

MongoDB 3.6 is an open-source, cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas. Mongo means humongous.   This Server is great for research, web platforms,  developers who want a server that can be easily managed.  This instance has been installed following MongoDb best practices, It uses the WiredTiger storage system on a pre-formatted XFS volume.

New Features in MongoDb 3.6

  • Enable real time updates with Change streams. Update game scores or market prices
  • Retryable writes means that you can write less code, since the retries are built in for when the DB inaccessible
  • Find Anything easily with Fully Expressive Array Updates

Access Instructions to Secured MongoDB 3.6 with XFS

These instructions refer to an AMI in AWS MarketPlace:

To access mongodb you need to connect via SSH with your key as directed in the EC2 console

To login to your server from a Linux Shell prompt  ssh -i location-of-your-key-file.pem ec2-user@publicDNS .

To login using other clients follow their directions.

The Database Password is your Instance-ID

The Password for scripts installed for the Floating Cloud Servers, including this MongoDB Server, use the Instance ID as a password. This can be found in the ec2 panel of AWS.

Only the ssh and Main MongoDB ports are open, we suggest that you limit external access to your server and only allow IPs that you need to connect to the Database, Do this with Security Groups. You can always select your current IP address or the IP address of the your application server.

The Username for MongoDB is charming

To login from your MOngoDB CLI shell from the Linux Shell type:

mongo admin -u charming -p <INSTANCE-ID>

To login remotely from a server that has a MongoDB installed.

mongo mongodb://HOSTNAMEORIP:27017/admin -u charming -p i-INSTANCE-ID

Only ports 22  and 27017 for ssh are exposed

Remote CLI connection to MongoDB using a password.

In the above command, “admin” is the DB name. The remote connection URL below has the DB name admin at the end. Use a different db name to connect to one that you created.

From the Mongo Shell you can see installed DB’s type”show dbs”

From here you can build, develop and learn,

You can download MongoDB drivers from

To connect your app remotely to MongoDB

Good luck!

See our selection of pre-installed MongoDB servers:

[products category=”mongodb”]