Skip to main content

Build production-ready apps with React instead of Angular.

Similar to the industry-standard MEAN stack, the MERN swaps out Angular for React for the application’s front-end. The individual components within a MERN stack are well-established and backed by communities of developers: MongoDB, a document database used to persist your application’s data; Express, which serves as the web application framework; React, used to build your application’s user interfaces; and Node.js, which serves as the run-time environment for your application.

Whether you’re a seasoned MERN stack developer or want to experiment, it’s easier than ever to deploy MERN on Linode. Start a new project or migrate existing work to Linode using the MERN Stack One-Click App.

Software Included

The MERN Stack One-Click App will install the following required software on your Linode:

MongoDBDocument-based database
ExpressWeb application framework
ReactJavaScript Library
Node JSRuntime Environment
(Uncomplicated Firewall)
Firewall utility. Ports 22/tcp for IPv4 and IPv6 will allow incoming traffic. All other ports will have the following firewall rules: deny (incoming), allow (outgoing).

MERN Options

The limited sudo user to be created for the LinodeThis is the limited user account to be created for the Linode. This account has sudo user privileges.
The password for the limited sudo userSet a password for the limited sudo user. The password must meet the complexity strength validation requirements for a strong password. This password can be used to perform any action on your server, similar to root, so make it long, complex, and unique.
The SSH Public Key that will be used to access the LinodeIf you wish to access SSH via Public Key (recommended) rather than by password, enter the public key here.
Disable root access over SSH?Select Yes to block the root account from logging into the server via SSH. Select No to allow the root account to login via SSH.
Your Linode API TokenYour Linode API Token is needed to create DNS records. If this is provided along with the subdomain and domain fields, the installation attempts to create DNS records via the Linode API. If you don’t have a token, but you want the installation to create DNS records, you must create one before continuing.
SubdomainThe subdomain you wish the installer to create a DNS record for during setup. The suggestion given is www. The subdomain should only be provided if you also provide a domain and API Token.
DomainThe domain name where you wish to host your website. The installer creates a DNS record for this domain during setup if you provide this field along with your API Token.

Linode Options

Select an ImageDebian 10, Debian 11, and Ubuntu 20.04 LTS are currently the only images supported by the MERN Marketplace App. Required.
RegionThe region where you would like your Linode to reside. In general, it’s best to choose a location that’s closest to you. For more information on choosing a DC, review the How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the network routes between you and each of our data centers. Required.
Linode PlanYour Linode’s hardware resources. The Linode plan you deploy your MySQL/MariaDB on should account for the estimated workload. If you are standing up a simple web page, you can use a 1GB Linode (Nanode) or 2GB Linode. If you will deploy a more robust web app, then consider a plan with higher RAM and CPU allocations. If you decide that you need more or fewer hardware resources after you deploy your app, you can always resize your Linode to a different plan. Required.
Linode LabelThe name for your Linode, which must be unique between all of the Linodes on your account. This name will be how you identify your server in the Cloud Manager’s Dashboard. Required.
Root PasswordThe primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. The password must meet the complexity strength validation requirements for a strong password. Your root password can be used to perform any action on your server, so make it long, complex, and unique. Required.

Getting Started After Deployment

After your MERN One-click App has finished installing, you can:

The MERN Stack One-Click App was built by Linode. For support regarding app deployment, contact Linode Support via the information listed in the sidebar.