Purchase a Self-Managed VPS with Rocket.Chat Installation

 
/
 Purchase a Self-Managed VPS with Rocket.Chat Installation

Rocket.Chat is an open source communication platform to connect your team with real-time messaging, voice calls, video meetings, and file sharing. It is a great solution for businesses, remote teams, and organizations that want to have more control over their communication system, while keeping the conversations safe and organized. With this option, you can get full control of your server environment. This means you can tailor settings, enhance security, manage resources, and scale your workspace to suit your team’s needs.

Why Use Rocket.Chat?

Good communication plays a big role in keeping teams productive and organized. Rocket.Chat provides a centralized workspace where teams can collaborate, share updates, and communicate in real time.
One of the biggest advantages of Rocket.Chat has flexibility. It is self-hosted, so you control your data, security settings, user access, and integrations. By hosting on a Self-Managed VPS, you can also customize your server environment for optimized performance according to your needs.

Uses of Rocket.Chat

Rocket.Chat can support different types of communication and collaboration needs, including:

  • Team Collaboration – Create channels for departments, projects, or team discussions.
  • Customer Support – Manage customer conversations and live chat support from one platform.
  • Remote Team Communication – Keep remote employees connected through messaging, calls, and file sharing.
  • Private Messaging Platform – Maintain better control over company data and internal communication.
  • Community Management – Build private or public communities with organized discussion channels.
  • File Sharing – Share documents, images, and project resources securely with your team.

System Requirements for Running Rocket.Chat

Before deploying, ensure your server meets the following minimum hardware requirements. For a stable production deployment, we recommend using higher specifications than the minimum requirements.

Hardware Specifications

Resource Minimum Requirements Recommended
CPU 4 vCPUs 8 vCPUs
RAM 8 GB DDR5 16 GB DDR5
Storage 200 GB NVMe 450 GB NVMe

Software Components

  • MongoDB: Version 8.0 or later is required for Rocket.Chat 8.2 and newer. It must be installed and maintained separately if you are not using the official Docker or Helm deployments.
  • Node.js: Version 22.16.0 is bundled with the official Docker image and Helm chart. For manual installations, you must match this version.
  • Deno: Version 2.3.1 is required and used by the Apps-Engine runtime. Also bundled with official Docker and Helm deployments; otherwise, must be matched manually.

Network Ports Requirements

Port Protocol Purpose
443 TCP Primary entry point for HTTPS traffic (web, desktop, mobile clients)
80 TCP Initial HTTP connection, redirects to 443 for secure access

Ensure these ports are open and properly routed in your server environment for Rocket.Chat to be accessible.

How to Purchase a Self-Managed VPS with Rocket.Chat Installation

To set up and operate Rocket.Chat effectively, start by getting a Self-Managed VPS Hosting plan from Bluehost, then proceed with the following steps:

Pre-configured Setup

Self-Managed VPS - Pre-configured Setup

New to VPS or not sure where to start? No worries! At the top of the Self-Managed VPS purchase page, you’ll see the Pre-configured Setup section. This handy feature is perfect if you’re feeling a bit unsure—just pick the type of project you want, like WordPress Site, AI Agent/Claude Code, Dev/Staging, or eCommerce Store. We’ll take care of the rest by automatically filling in the best plan, operating system, and template for you.

  • Super simple for beginners or anyone who just wants a quick setup
  • Instantly get the recommended settings for your project
  • Skip the guesswork and save time
  • You can still customize things later if you want
Give the Pre-configured Setup a try and get your Bluehost Self-Managed VPS up and running in no time!
  1. In your browser, go to https://www.bluehost.com/vps-hosting.
  2. Click the Choose Plan button under your preferred VPS hosting plan.

    VPS Hosting-Choose Plan
     

  3. Select your preferred Data Center location.

    Select Location
     

  4. On the Cart page, you can configure your server to fit your needs in the following section:
    1. Hardware:
      1. Pre-selected:

        You can select a different Self-Managed VPS plan in this section.

        Pre-selected
         

      2. Configure:

        Click Configure to customize your package.

        Configure your server
         

    2. Software:
      1. Click the Application tab.
      2. Select Rocket.Chat.

        Self-Managed VPS - Application tab - Rocket-chat
         

      3. In the pop-up, click Confirm.

        Self-Managed VPS - Application tab - Rocket-chat pop-up
         

  5. Add-Ons:
    • Support & Security:
      • Premium Support - Recurring:

        This service provides you with priority access to our expert team for faster responses and personalized assistance whenever you need it.

        Support and Security
         

    • AI Credits:

      Purchase an AI credit package to effortlessly connect your application to leading LLMs through a single API key and bill. This step is optional.

      AI Credits
       

    • In the Advanced options:
      • Extra IP's: You can add extra IP addresses for an additional fee.
        Pricing changes based on how many IPs you add.
      • Hostname: Assign a custom hostname to easily identify your server. This is optional.
      • SSH Key: Add an SSH public key for secure, password-less access after provisioning.

      Advanced Options
       

  6. Next, select your preferred billing term and review your Order Summary, then click Continue to Checkout.

    Self-Managed VPS - n8n - Continue to Checkout
     

  7. Do the following on the Checkout page:

    If you're new with Bluehost:

    1. Create your Bluehost account by using your email address or by connecting with your Google, Apple, or GitHub account — whichever you prefer!

      Checkout page - Create an account
       

    2. Select your preferred payment method: credit card, Google Pay, or PayPal. Enter your billing information.

      Checkout page - Billing Information
       

    If you have an account with us, you will see your Bluehost login details when you are logged into your Bluehost Portal. If you are not logged in, please click the Log In link.

    log-in to account in bh
     

  8. In the Shopping Cart section, you can still adjust your billing term if needed.

    Self-Managed VPS - service terms
     

  9. Review the items in your cart, add a Promo Code if you have one, and then click Submit Payment to complete the purchase.

    Self-Managed VPS - service terms
     

After completing the purchase, your VPS hosting will begin provisioning. You can access and manage your new VPS hosting in the Hosting tab of your Bluehost Portal.

If you have questions about purchasing the Self-Managed VPS hosting, please contact us for assistance.

Getting Started with Your New Rocket.Chat Server

  1. Log in to your Bluehost Portal.
  2. In the left-hand menu, click Hosting, then select My Plans.

    Self Managed VPS
     

  3. Locate the server you want to manage, then click View Details in the bottom-left corner to expand the section and access additional server information.

    Self Managed VPS
     

  4. Click the Reset Password.

    Self Managed VPS
     

  5. In the pop-up window, type your new root password, then click Reset Password again to confirm and save the changes.

    Self Managed VPS
     

  1. Connect to your VPS via SSH.
    Open your computer's terminal (or an SSH client like PuTTY) and run the following command to log into your server as the administrator, using your server's public IP address:
    ssh root@your_server_ip
    Follow the prompts and enter the new root password you created in the step above.
  2. Now that you are connected to the server, run the following command to view your pre-configured site URL:
    cat /root/.app_passwords

    Example result:

    root@server-123456:~# cat /root/.app_passwords
    SITE_URL=https://12.3.4.567
  3. Copy the site URL displayed on your screen and paste it into your preferred web browser. This will automatically route you to the Rocket.Chat landing page to begin your configuration.

Activating Your New Workspace

  1. Create Your Admin Account
    First, create your primary administrator profile. Enter your name, choose a username, and pick a strong password. This account will have full master control over your entire chat platform.

    Rocket.chat Admin Info
     

  2. Enter Your Organization Details
    Tell the system a little bit about your team. You will be asked to select your organization type, your company name, and your expected team size so Rocket.Chat can properly optimize your environment.

    Rocket.chat Organization Info
     

  3. Register Your Workspace
    To unlock important features like push notifications for mobile devices and the app marketplace, you will be prompted to register your server. Simply input your preferred Admin Email Address to link this server to the Rocket.Chat network.

    Register your Workspace
     

  4. Confirm and Verify Your Registration
    Check your inbox! Rocket.Chat will automatically send a security confirmation email to the address you just provided.

    Email Verification
     

    1. Open the email and click the Verify Registration button.

      Rocket.chat Email Verify Button
       

    2. A new browser tab will open, confirming your account is verified.

      Rocket.chat Email Confirmed
       

    3. You will also receive a second email confirming that you have been successfully placed on the Rocket.Chat Starter Plan.

      Rocket.chat Second Email Confirmation
       

  5. Access Your Dashboard
    Switch back to your original setup wizard page. You will be securely logged right into your brand-new Rocket.Chat administration dashboard!

    Rocket.chat Dashboard
     

Additional Information and Example Documentation Output

You can run cat /root/README.md to see more information and useful commands:

Example Output:

root@server-123456:~# cat /root/README.md
# Rocket.Chat

## Description

Rocket.Chat is an open-source team messaging platform that lets you create secure, real-time communication channels for your organization or community.
It supports channels, direct messages, video calls, file sharing, and integrations with third-party apps, giving teams a fully self-hosted way to stay connected and collaborate efficiently.

---

## Image contents

This image installs and configures:
- Rocket.Chat 8.3.2 running via Docker
- MongoDB 8.0 running via Docker with replica set rs01
- Docker and Docker Compose for container management
- Nginx as a reverse proxy with HTTP and HTTPS support
- UFW firewall with ports 22, 80, and 443 open
- Log rotation at /etc/logrotate.d/rocketchat
- This README at /root/README.md

---

## Services

| Service     | Ports   | Purpose                                        |
|-------------|---------|------------------------------------------------|
| Rocket.Chat | 3000    | Rocket.Chat application (internal only)        |
| Nginx       | 80, 443 | TLS termination and reverse proxy to port 3000 |
| MongoDB     | 27017   | Database backend (container only)              |
| OpenSSH     | 22      | Remote access                                  |

Ports are protected using UFW. MongoDB port 27017 is not exposed externally.

---

## How-to-use

### 1. Access Rocket.Chat

Once the server has booted, open your browser and navigate to:

```
https://
```

Accept the self-signed certificate warning on first access, then complete
the setup wizard to create your admin account.

### 2. Get your credentials

The site URL is stored in /root/.app_passwords:

```bash
cat /root/.app_passwords
```

### 3. SSL / HTTPS certificate behavior

On first boot, a TLS certificate is automatically provisioned:

- A Let's Encrypt certificate is requested for the server's public IP.
- If Let's Encrypt is unavailable, a self-signed certificate valid for
  365 days is generated automatically as a fallback.

Nginx terminates TLS on port 443 and proxies traffic to Rocket.Chat on
port 3000. The X-Forwarded-Proto: https header signals HTTPS to Rocket.Chat.

To manually request a Let's Encrypt certificate after deployment:

```bash
/opt/certbot/bin/certbot certonly --webroot --webroot-path /var/www/html \
  -m [email protected] --agree-tos --non-interactive --ip-address 

nginx -t && systemctl reload nginx
```

### 4. Useful commands

```bash
docker ps                              # Check container status
docker logs rocketchat --tail 50       # Recent Rocket.Chat logs
docker logs mongo --tail 20            # Recent MongoDB logs
docker compose -f /opt/rocketchat/docker-compose.yml restart   # Restart all
systemctl status nginx                 # Nginx status
systemctl status ssh                   # SSH status
```

### 5. MongoDB

```bash
docker exec mongo mongosh                             # Open MongoDB shell
docker exec mongo mongosh --eval "rs.status()"        # Check replica set health
```

---

## Minimum Resources

| Resource | Minimum |
|----------|---------|
| CPU      | 2 vCPUs |
| RAM      | 6 GB    |
| Disk     | 20 GB   |

---

## Security hardening

| Hardening    | Detail                                             |
|--------------|----------------------------------------------------|
| UFW firewall | Only ports 22, 80, 443 open. Default deny incoming |
| SSH          | Port 22 rate limited - brute force protection      |
| MongoDB      | Not exposed externally - container only            |
| Credentials  | Stored in /root/.app_passwords (mode 0600)         |

---

## Configuration files reference

| File                                           | Purpose                         |
|------------------------------------------------|---------------------------------|
| /opt/rocketchat/docker-compose.yml             | Docker Compose configuration    |
| /etc/systemd/system/rocketchat.service         | Rocket.Chat systemd service     |
| /etc/nginx/sites-available/rocketchat          | Nginx site config               |
| /var/lib/cloud/scripts/per-instance/001_onboot | First-boot configuration script |
| /root/.app_passwords                           | Site URL (generated at boot)    |
| /etc/logrotate.d/rocketchat                    | Log rotation config             |

---

## Links

- Manage: [https://{server_ip}](https://{server_ip})
- Documentation: [https://docs.rocket.chat](https://docs.rocket.chat)
- Ubuntu deployment guide: [https://docs.rocket.chat/docs/deploy-with-ubuntu](https://docs.rocket.chat/docs/deploy-with-ubuntu)
- Rocket.Chat releases: [https://github.com/RocketChat/Rocket.Chat/releases](https://github.com/RocketChat/Rocket.Chat/releases)

Summary

Rocket.Chat is a flexible communication platform that allows teams to work together through messaging, calls, file sharing, and organized channels. Rocket.Chat on a Self-Managed VPS from Bluehost gives you the freedom to customize your server environment, manage your security settings, and scale your workspace as your team grows. This setup is ideal for businesses and organizations looking for a secure and reliable self-hosted communication solution.

Did you find this article helpful?