Step by Step Guide to deploy node js application in aws lightsail
Step 1: Log in to your Amazon Management Console and navigate to Lightsail from the Dashboard
Step 2: On the Home Page of Lightsail click on Create Instance
Step 3: After that Select your availability zone and region here in this practical we have selected Mumbai as our region and ap-south-1a availability zone, then select your platform Linux or Windows and in blueprint select Node.js of App+OS
Step 4: After scrolling down you can additional things to your node js application like launching a script which will run on when your instance launches for the first time and the SSH key for connecting to the instance we can also enable automatic snapshots which will be backup of our node js application, in this practical we go with default options
Step 5: After that most crucial step is selecting size of node js application here we have gone with default selected size but we can select our instance size as per needs.click on create instance
Step 6: Wait for some time to become application in running state, when its in running state copy the ip address of instance
Step 7: In the last step, paste the copied ip address in browser and press enter, we can see that node js application is successfully deployed on aws lightsail
How To Deploy Node Js Application In AWS Lightsail ?
Lightsail can be defined as a simple, easy-to-use, and user-friendly service offered by Amazon Web Services (AWS). The main goal of Lightsail is to provide an easy way for individuals, startups, and small businesses to launch and manage virtual private servers (VPS) and other cloud services without any manual handling.
Users or organizations use VPS (Virtual Private Server) instances, which are virtual machines that can be quickly created. Users can choose from different instance sizes and operating systems, including Linux and Windows. which overall reduces the time and effort required to deploy any application.