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): 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. 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |