

- #Rockmongo port bitnami mean stack how to#
- #Rockmongo port bitnami mean stack for mac#
- #Rockmongo port bitnami mean stack password#
- #Rockmongo port bitnami mean stack download#
Ssh -N -L 8888:127.0.0.1:8080 -i default.pem command instructs your system to tunnel any requests to port 8080 on your Lightsail instance. In your terminal open a second window and make sure you're in the directory with your default.pem file and create the SSH tunnel by entering the following command: Once you've configured Putty, pick up the instructions below at step 2.
#Rockmongo port bitnami mean stack for mac#
Note: Step 1 below is for Mac and/or Linux users - if you're on Windows using Putty please see the instructions on the Bitnami page. However, by defauit it can only be accessed via connections from localhost or hosts with the IP address of 127.0.0.1.īecause your web browser is running on your local machine, you'll need to establish an SSH tunnel between your local machine and the Lightsail instance. The MEAN instance includes Rockmongo, a web-based GUI for MongoDB. Next create a new user ( tasks) with admin permissions for the tasks database by entering the following command: The application uses a database named tasks so switch to that now by entering use tasks. You should now be running the MongoDB CLI. When prompted enter the application password. Start the Mongo command shell: mongo admin -username root -p.
#Rockmongo port bitnami mean stack password#
Note: Jot this password down somewhere as you will need it again in a few steps. Use cat to view the password: cat bitnami_application_password The password we'll need to access MongoDB is stored in the home directory in a file named bitnami_application_password Make sure you're in the home directory for the bitnami user by entering cd ~ Move back into your terminal windows (or start another SSH session if you've closed the previous one). By default that username is root and the password is stored on a file in the home directory of the instance. In order to access MongoDB we'll need the admin username and password. The application database name is tasks and the username and password for the application database will also be tasks. Now that Apache is running on port 8080, you can assign port 80 to our application.īefore you can run the application, you'll need to create a user and assign it the right permissions in MongoDB. In your browser visit to verify the Bitnami page appears. We'll need to open up port 8080 in the firewall. Move back to your web browser, and from the Lightsail menu click the three dot menu in the upper right corner of your intances's card and choose 'Manage`Ĭlick on Networking from the horizontal menu Next you'll need to open up port 8080 in the instance's firewall. This is incorrect, you've reconfigured it to run on port 8080. Note: The comman output will say Apache is running on por 80. Run the following command to restart Apache: sudo /opt/bitnami/ctlscript.sh restart apache Open up /opt/bitnami/apache2/conf/bitnami/nf in your editor of choice and look modify the line that reads to read Open up /opt/bitnami/apache2/conf/nf in your editor of choice and look for the line Listen 80 change it so it reads Listen 8080. Ssh -i default.pem Make sure you replace in the SSH command with the actual IP address of your Lightsail instance.

On a Mac or Linux machine the command would be as follows (make sure you're in the directory where your default.pem file is located):
#Rockmongo port bitnami mean stack download#
You can download the the default SSH key from Lightsail, and the username for the intance is bitnami. This means Apache is using port 80, and we'll need to adjust that so your application can use the port instead Once the instance is up and running navigate to its IP address in your browser. While in most cases you could use the integrated terminal, for this tutorial you'll need to use something like Putty on Windows or the integrated terminal on a Mac as you will need to open an SSH tunnel later in this walkthrough. Once your intance is up and running, you will need to SSH into it. Scroll to the bottom of the page, and click Create You can leave all the remaining settings at their defaults.
#Rockmongo port bitnami mean stack how to#
Note : This walkthrough assumes you are familiar with both ssh and how to edit files in a Linux environment**įrom the AWS console click Lighsail under Compute.įrom the Lightsail console click Create Instance. In order to deploy an application there are a few things that should be configured. The Lightsail MEAN stack blueprint includes components such as Node, Express, Apache, and Rockmongo. If you're not check out this VIM tutorial and this aritcle using SSH to connec to Linux instances. Note: This example assumes you're familiar with SSH and how to edit files in a Linux operating system.

Amazon Lightsail's MEAN stack blueprint.The application is a super simple Node / Express application that connects back to a Mongo database. A couple ways to deploy an app on Amazon Lightsail
