Complete Setup for Deploying Nodejs App with mongodb

Jun 30, 2017 · Follow the default settings to create an EC2 instance and choose the Amazon Linux OS. select an exiting group or create a new one then open the inbound port 8888. Connect your local port Tagged with mongodb, node. eg. ssh -i "sunilaws.pem" ec2-user@ec2-54-218-8-133.us-west-2.compute.amazonaws.com Note: In my case, user for my ec2 server is ec2-user because I’ve selected Amazon Linux Image.So In your case user will be different if you have selected an Amazon Machine Image other than Amazon Linux. Click the Load button, select the All Files option, select the .pem file you downloaded from Amazon EC2, and click Open. Click OK on the prompt that appears. For increased security you can create a password that you must enter when connecting via SSH with this private key. Jun 15, 2012 · On the instance open “Windows Firewall with Advanced Security”. Now click on “Inbound Rules” on the left-hand pane. Click on “New Rule” in the right-hand pane. You should really use the “Program” option***, but I’m going to use the port option and then click next.

Next prerequisite step is to open port 80 to outside world. This is kind of standard firewall open in networking terminology. In AWS this can be achieved by creating/modifying one Security Group and assign to the EC2 instance. In security group, we should only expose the required ports to the outside world for security reason.

Download Citation | On Jun 1, 2017, Beaulah A. Navamani and others published An Analysis of Open Ports and Port Pairs in EC2 Instances | Find, read and cite all the research you need on ResearchGate

Download Citation | On Jun 1, 2017, Beaulah A. Navamani and others published An Analysis of Open Ports and Port Pairs in EC2 Instances | Find, read and cite all the research you need on ResearchGate

Allow Users To Connect to HTTP or HTTPS Ports on an Amazon®