Overview
This AMI runs the self-hosted Rocket.Chat team messaging platform, version 9.0.0, with a MongoDB replica set on Ubuntu 24.04 LTS. Rocket.Chat brings channels, direct messages, file sharing and basic voice and video calls together for a team or a community, with a web, desktop and mobile client.
What Perimattic adds
A random 24-character administrator password is generated on your server, and the one administrator account is created during first-login setup through Rocket.Chat's own administrator bootstrap variables, before the site is published. Self-registration is then switched off. Apache provides HTTPS with a free Let's Encrypt certificate for your domain.
Limits you should know
The database runs as a single-node replica set (Rocket.Chat requires a replica set even for one server); it is not a cluster and has no failover. No outgoing mail server is configured: e-mail notifications need your own SMTP settings after you sign in. A t3.medium is the recommended starting size. No Rocket.Chat Enterprise Edition licence key is installed, so Enterprise-only features stay off.
Licence and attribution
The core application is released under the MIT licence. Built on the open-source Rocket.Chat (MIT core). Not affiliated with, endorsed by, or sponsored by Rocket.Chat Technologies Corp; Rocket.Chat is a trademark of its owner.
Getting Started Launch the AMI and open ports 22, 80 and 443 in the security group SSH in and answer the setup prompts (domain and admin email) Open https://your-domain and sign in with the username admin and the password printed at the end of setup
A domain name with an A record pointing at the instance is required, because the site is served over HTTPS.
This AMI is built and supported by Perimattic.
Book a free setup consultation at https://cal.com/gaurav-pareek-perimattic/marketplace-setup-consultations or email us at aws-support@perimattic.com .
Support Managed and supported by Perimattic, a cloud infrastructure company with 13+ years of experience serving global clients. We offer free setup assistance, custom integrations, infrastructure consulting, and 24/7 support.
Highlights
- Self-hosted Rocket.Chat 9.0.0 (MIT core), pinned and pre-installed, with a MongoDB replica set: channels, direct messages, file sharing and calls for a team or a community.
- Secure first login: a random 24-character administrator password is created through Rocket.Chat's own bootstrap variables, in a short-lived container, before anything is published; self-registration is then switched off and HTTPS is served through Apache and Let's Encrypt.
- Built on patched Ubuntu 24.04 LTS and supported by Perimattic: free setup assistance at aws-support@perimattic.com.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t3.medium Recommended | $0.03 |
t3.micro | $0.03 |
c3.2xlarge | $0.03 |
c3.4xlarge | $0.03 |
c3.8xlarge | $0.03 |
c3.large | $0.03 |
c3.xlarge | $0.03 |
c4.2xlarge | $0.03 |
c4.4xlarge | $0.03 |
c4.8xlarge | $0.03 |
Vendor refund policy
For any questions or concerns, please contact: Perimattic.com Email: aws-support@perimattic.com
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
Initial release.
- Application: Rocket.Chat 9.0.0 (container image pinned, baked into the AMI).
- Base: Ubuntu 24.04 LTS, fully patched at build time, built by an automated EC2 Image Builder pipeline.
- TLS: Apache reverse proxy with a Let's Encrypt certificate requested by certbot at first login.
- Credentials are generated on the instance at first login; none are present in the image.
- A random administrator password is generated at first login and the one administrator is created through Rocket.Chat's own ADMIN_USERNAME/ADMIN_EMAIL/ADMIN_PASS bootstrap variables, in a short-lived container so the password is not kept in the long-running one, before the site is published. Self-registration is then switched off through the admin API. Setup verifies the password works, a wrong or default login and self-registration are refused, and anonymous API requests are refused.
- Application: Rocket.Chat 9.0.0 (image rocketchat/rocket.chat:9.0.0, MIT core with a separately licensed Enterprise Edition module that stays inert without a licence key) with MongoDB 7.0.45 as a single-node replica set (pinned).
- MongoDB runs with authentication and a randomly generated intra-cluster keyfile; the application connects with its own generated password.
- Database: reachable only inside the Docker network.
Additional details
Usage instructions
-
Launch an Instance
From AWS Marketplace, click Continue to Subscribe and then Continue to Configuration to launch the AMI.
-
Choose the Recommended Instance Type
t3.medium (4 GB of memory) is the recommended size: the two containers used under 2 GB in total in our tests. Larger teams or heavy file sharing need more. First login (replica-set startup and the administrator bootstrap) takes about three to five minutes.
-
Configure Security Group
Allow inbound traffic on the following ports:
- 22 (SSH) - terminal access for setup
- 80 (HTTP) - needed to validate your domain for the TLS certificate
- 443 (HTTPS) - access to Rocket.Chat
-
Point a domain at the instance
Create a DNS A record (for example chat.example.com) pointing to the instance's public IP before you log in.
-
Connect to the Instance
ssh -i <your-key.pem> ubuntu@<public-ip>
-
First-Login Setup
The first SSH login runs a guided setup:
- Prompts for your domain and admin email and checks the DNS A record
- Generates a random 24-character admin password and the database passwords on your server
- Starts the MongoDB replica set and waits for it to elect a primary
- Creates the administrator through Rocket.Chat's own bootstrap variables in a short-lived container, so the password never sits in the long-running container's environment, then closes self-registration through the admin API
- Starts the permanent application container and checks that the password works, that a wrong or default login and self-registration are refused, and that anonymous API requests are refused
- Configures Apache as an HTTPS reverse proxy and requests a Let's Encrypt certificate
- Prints the URL and the admin credentials; they are also stored in /opt/app/access.txt (root only)
If a step fails, fix the problem shown and log in again: the setup resumes where it stopped.
-
Access Rocket.Chat
Open https://<your-domain> and sign in with the username admin and the generated password (view it again with: sudo cat /opt/app/access.txt). Invite teammates from Administration > Users and set SMTP under Administration > Email.
-
Credentials
Generated on your server, never shared between customers. View them again with:
sudo cat /opt/app/access.txt
-
Manage the Services
cd /opt/app sudo docker compose ps sudo docker compose restart
Data is in MongoDB in /opt/app/data/db: back up all of /opt/app or snapshot the volume before upgrades. The database is a single-node replica set, not a cluster, and has no automatic failover. This ships the vendor's unmodified image, which includes its Enterprise Edition code; no Enterprise Edition licence key is installed, so Enterprise-only features stay off. No outgoing mail server is configured.
Thank you for subscribing.
Need Support or Customization? Perimattic's team can help with setup issues, custom features and integrations:
Email us: aws-support@perimattic.com WhatsApp: +91-92142 66896 Learn more: <www.perimattic.com >
We offer free setup assistance, custom development and integrations, and infrastructure consulting.
Resources
Vendor resources
Support
Vendor support
Support by Perimattic
Perimattic provides 24/7 support for all AWS Marketplace products. Our team has 13+ years of cloud infrastructure expertise serving global clients.
Contact Channels: Email: aws-support@perimattic.com WhatsApp: +91-92142 66896 Website: <www.perimattic.com >
What We Help With: Initial setup and configuration assistance (free) Troubleshooting connectivity, performance, and backup issues Custom development and integrations Infrastructure consulting and architecture review Migration planning from other solutions Automation solutions and scaling guidance
Instance Sizing Guidance: t2.medium or t3.medium: Development environments, small applications m5.large: Production workloads with moderate traffic m5.xlarge: High-traffic production deployments and larger datasets
For workload-specific sizing recommendations, contact our team for a free consultation.
Refunds and Issues: If you experience any issues or need to request a refund, contact us at aws-support@perimattic.com and we will respond promptly.
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.