Deploying a Node App on Amazon #ec2
▻https://hackernoon.com/deploying-a-node-app-on-amazon-ec2-d2fb9a6757eb?source=rss----3a8144eabf
Deploying a Node application on an EC2 instance may seem like a daunting task but if you know how to configure your instance it is not that hard.We will be deploying a chat application written in #nodejs in the following stepsLaunch an EC2 instance and SSH into it.Install Node on EC2 instance.Copy code on your EC2 instance and install dependencies.Start server to run forever.So let’s get started.1. Launch an EC2 instance and SSH into itYou can refer to my article Launching an Amazon EC2 instance to launch an EC2 instance and SSH into it.When configuring the security group make sure you open the port on which your Node application will run. In my case, the port is 5000.2. Install Node on EC2 InstanceAfter doing SSH into your instance we will install Node on the instance.To install node run the (...)
#amazon-ec2 #aws #servers