MERN Stack Powered by GlobalSolutions
We have installed the MERN stack which makes it easier for our customers to focus on building modern web applications rather than spending time building the stack. The MERN stack consists of four components to build an end-to-end web application: MongoDB, Express.js, React.js, and Node.js. The application involves a backend server using Node.js and Express.js, connected to a MongoDB database, and a frontend application built with React.js. MERN is one of the most popular full-stack JavaScript stacks that can be used to build scalable, production-ready web applications.
- MongoDB: A highly scalable and flexible document database with efficient querying and indexing.
- Node.js: A JavaScript runtime environment that allows developers to run JavaScript code on the server.
- Express.js: A back-end web framework that helps developers build APIs and server-side applications.
- React.js: A front-end library that helps developers build user interfaces.
We have made sure the image is hardened so it is secured from all existing vulnerabilities.
Why Subscribe to Our Offering in AWS Marketplace
- We update the software constantly to the latest version to address security issues.
- Customers can kick-start their core work right away with our pre-packaged AMIs.
- Production-ready application stacks.
Accessing Your AMI from AWS Marketplace
To get started with your MERN stack:
- Subscribe: Purchase the MERN Stack AMI from the AWS Marketplace.
- Connect via RDP:
- In the AWS Console, select your launched instance and click Connect.
- Choose RDP Client, upload your .pem key file, and decrypt the password using your private key.
- Download the .rdp file and connect using the username Administrator and the decrypted password.
Installation Paths and Versions
The MERN stack is installed in standard Windows directories for easy access:
| Category | Packages | Version | Location |
|---|---|---|---|
| MongoDB | Database | 8.3.7 | C:\Program Files\MongoDB |
| Node.js | Server Runtime | 24.18.0 | C:\Program Files\nodejs |
Getting Started
The MERN offering from GlobalSolutions comes pre-packaged with all the dependent components. All you have to do is subscribe to our AMI and start using it right away.
Sample MERN Application
Your MERN stack app is located at:
C:\projects\mern-app
Broken down further:
- React frontend (client): C:\projects\mern-app\client
- Express backend (server): C:\projects\mern-app\server
- MongoDB: not inside this folder — it runs as a separate Windows service, with its program files at C:\Program Files\MongoDB\Server\<version>\ and its data stored at C:\Program Files\MongoDB\Server\<version>\data\. It connects to a database named mernapp.
So C:\projects\mern-app holds your actual application code (React + Express), while MongoDB lives independently as a system service.
To access the sample application
Both the client and server components are managed by PM2 and configured to start automatically on instance boot via pm2-windows-startup.
A desktop shortcut named MERN has been created to open http://localhost:5173/, which launches the React frontend of the MERN stack application in a browser.
Double-clicking this shortcut connects to the Vite development server that's already running in the background (managed by PM2 as mern-frontend), which serves the React app's user interface. That frontend, in turn, calls the Express backend running on port 5000, which connects to MongoDB to fetch data — so opening this shortcut displays the full working MERN application without needing to open PowerShell or start anything manually.
You should see your MERN Stack Test page load, showing the message pulled from Express/MongoDB — confirming everything is working as expected.
| Port | Component | Purpose |
|---|---|---|
| 5173 | React frontend (client) | Served by Vite's development server — what you see when you open http://localhost:5173/ |
| 5000 | Express backend (server) | Handles API requests, e.g. /api/test |
| 27017 | MongoDB | Database's default port — not typically opened to a browser |
AWS Cost Optimizer — CloudInsider
Our other popular offering is the AWS Cost Optimizer aka CloudInsider, available in AWS Marketplace. This service has helped our customers save significantly on AWS and other cloud spending. It is easy to subscribe and you can see the savings in minutes.
▶ Watch Demo Video Subscribe on AWS Marketplace
Support
For any questions or assistance with our AWS Marketplace offering, reach out to us at support@theglobalsolutions.net.