Overview
MongoDB version and service status
MongoDB Community Server version and systemd service status on a freshly launched instance.
MongoDB version and service status
Per-instance credentials file
MongoDB shell insert and query
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
Overview
MongoDB Community Server is the open source document database designed for ease of development and scalability. It stores data in flexible, JSON-like documents, supports rich queries and powerful indexing, and is the database of choice for modern applications that need to evolve their schema as the product evolves. This AMI delivers MongoDB Community Server fully installed and configured on a hardened image, so a working database node is running within minutes of launch.
Why Choose This AMI Over Alternatives
Many MongoDB AMIs on the marketplace ship with authentication disabled and use shared default credentials, requiring manual security hardening before production use. This image takes the opposite approach - authentication and role-based access control are enabled from the moment the database starts. No buyer ever connects to an open, unprotected database. Fresh, strong passwords are generated uniquely for every instance on first boot, eliminating the risk of credential reuse across deployments.
What Is Included
- MongoDB Community Server installed from the official MongoDB package repository
- mongosh shell preinstalled for local administration and scripting
- Dedicated Amazon EBS data volume for database files and journal, independently resizable and snapshotable
- Authentication enabled by default with role-based access control active from first start
- Two per-instance passwords generated on first boot: an admin superuser and an application user with read/write access
AWS Integration
This AMI is designed to work seamlessly within your AWS environment:
- Amazon EBS - Database files live on a dedicated EBS volume that can be grown, snapshotted, and backed up independently using AWS Backup or EBS Snapshots.
- Amazon CloudWatch - Monitor instance health, disk utilization, and network throughput using standard CloudWatch metrics.
- Amazon VPC - Deploy within your existing VPC and control access using security groups on port 27017.
- AWS Systems Manager - Use Session Manager for secure shell access without exposing SSH ports to the internet.
Secure First Boot
On the first boot of your instance, a one-shot service generates two fresh, strong passwords unique to that instance: an admin superuser in the admin database and an application user with read and write access to an application database. Both passwords are written to a file readable only by the root user. No shared or default database credentials ship in the image.
Data on Its Own Volume
Database files and the journal live on a dedicated Amazon EBS volume. Database storage is kept off the operating system disk so it can be grown, snapshotted, and backed up on its own schedule using AWS Backup or manual EBS snapshots.
Getting Started
- Launch the AMI in your preferred AWS region within your VPC.
- SSH into the instance (or connect via AWS Systems Manager Session Manager).
- Read the generated credentials from the root-only file.
- Connect using mongosh and begin creating collections and indexes.
The node runs as a single-node deployment by default. The included user guide explains how to add further nodes to build a replica set for high availability.
Use Case: IoT Event Ingestion
Teams collecting telemetry from connected devices can use this AMI as an event ingestion store. Sensor readings arrive as JSON documents and are written directly without schema transformation. The flexible document model accommodates evolving payloads as new sensor types are added, while secondary indexes enable real-time queries across device fleets.
Additional Use Cases
- Web and mobile application backends
- Content management and product catalogs
- Real-time analytics and personalization engines
- Document and metadata repositories
cloudimg Support
24/7 technical support by email and live chat. Our engineers help with deployment, replica set configuration, schema design, performance tuning, indexing, and database administration. Critical issues receive a one-hour average response time.
To discuss your deployment architecture or request a replica-set design consultation, contact our team at support@cloudimg.co.uk .
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
Highlights
- Authentication enabled from first boot - unlike many marketplace MongoDB AMIs that ship with security disabled, this image activates role-based access control immediately and generates two unique, strong passwords per instance (admin superuser and application user), stored in a root-only file. No shared or default credentials ever exist on the image, eliminating the manual hardening step most alternatives require.
- Dedicated Amazon EBS data volume separates database files from the OS disk, enabling independent resizing, snapshots, and backups via AWS Backup. The mongosh shell is preinstalled and the database accepts connections within minutes of launch as a single-node deployment with no manual setup - ready for queries immediately after reading the generated credentials.
- 24/7 technical support from cloudimg engineers with a one-hour average response time for critical issues. Support covers deployment, replica set configuration, schema design, performance tuning, and indexing. Integrates with Amazon CloudWatch for monitoring, Amazon VPC for network isolation, and AWS Systems Manager for secure access without exposed SSH ports.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
- ...
Dimension | Description | Cost/hour |
|---|---|---|
m5.large Recommended | m5.large | $0.08 |
t2.micro | t2.micro instance type | $0.04 |
t3.micro | t3.micro instance type | $0.04 |
c8in.metal-48xl | c8in.metal-48xl instance type | $0.24 |
m5ad.2xlarge | m5ad.2xlarge instance type | $0.24 |
c8ine.2xlarge | c8ine.2xlarge instance type | $0.24 |
r5n.2xlarge | r5n.2xlarge instance type | $0.24 |
i7ie.3xlarge | i7ie.3xlarge instance type | $0.24 |
t3.xlarge | t3.xlarge instance type | $0.12 |
m8i.32xlarge | m8i.32xlarge instance type | $0.24 |
Vendor refund policy
Refunds available on request.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Remediates flagged CVEs: full apt update (kernel + userspace); rng-tools added.
Additional details
Usage instructions
Connect via SSH on port 22 as the default login user for your operating system variant (the user guide lists it per variant). MongoDB Community Server and the mongosh shell are already installed and the database is running with authentication enabled. The admin and application passwords are written to /root/mongodb-credentials.txt (root only) on first boot. To open a shell as the admin user run: sudo cat /root/mongodb-credentials.txt to read the password, then: mongosh --host 127.0.0.1 --port 27017 -u admin -p '<password>' --authenticationDatabase admin. The application user 'cloudimg' has readWrite and dbAdmin on the 'appdb' database.
Resources
Vendor resources
Support
Vendor support
cloudimg provides 24/7 technical support for this MongoDB Community Server AMI by email and live chat.
How to Get Help
Contact our engineering team at support@cloudimg.co.uk for any issues including deployment, configuration, troubleshooting, updates, and refund requests.
What We Cover
- Initial deployment and instance sizing guidance
- Replica set configuration and high availability setup
- Schema design and indexing strategy
- Performance tuning and query optimization
- Security configuration and access control
- Backup and recovery procedures using Amazon EBS snapshots and AWS Backup
Response Times
Critical issues receive a one-hour average response time. Our engineers are available around the clock to help resolve production-impacting problems.
Deployment Consultation
Need help planning your architecture? Contact us to discuss replica set design, instance sizing for your workload, or migration from an existing MongoDB deployment.
Prerequisites for Support Requests
When contacting support, please include your instance ID, AWS region, and a description of the issue. For performance concerns, include relevant CloudWatch metrics or mongosh diagnostic output.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.