Overview
NodeJS installation and necessary configuration for static wbserver or webservices
Highlights
- A NodeJS installation, Ubuntu 20 OS
- sample web server (express)
Details
Typical total price
$0.012/hour
Features and programs
Financing for AWS Marketplace purchases
Pricing
Instance type | Product cost/hour | EC2 cost/hour | Total/hour |
---|---|---|---|
t2.nano | $0.00 | $0.006 | $0.006 |
t2.micro AWS Free Tier Recommended | $0.00 | $0.012 | $0.012 |
t2.small | $0.00 | $0.023 | $0.023 |
t2.medium | $0.00 | $0.046 | $0.046 |
Additional AWS infrastructure costs
Type | Cost |
---|---|
EBS General Purpose SSD (gp2) volumes | $0.10/per GB/month of provisioned storage |
Vendor refund policy
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Updated OS (Ubuntu 22LTS), NodeJS and npm
Additional details
Usage instructions
NodeJS installation
Installed:
- NodeJS v14.16.0
- PM2 4.5.5
- npm 6.14.11
A sample web server (http & https) based on Express, can be found running (started by PM2). see "nodesample" folder and nodesample/readme.txt for more details. The presented webserver is a NodeJS sample project. It can be used to serve a static website or to add more web services on top. Feel free to use it or develop on top of it, license is MIT
NodeJS web server based on Express:
web80.js - port 80 web server (http) web443.js - port 443 web server (https)
One sample web-site is set in "assets" folder
There is no WebUI to manage the server instance. After first launch you will need to restart PM2 processes in order to have the HTTPS server running. Connect to the instance and type into the console: pm2 restart all
Use PM2 to manage started services. check the PM2 website for related information.
See the running sample website at: http://<your instance ip> https://<your instance ip>
The SSL certificate for the HTTPS server is self signed generated at first run, in browser you will see a warning that the certificate is not valid. You can use it as it is for test purposes, for more you will need a certified certificate. Please read the nodesample/keys/readme.txt for SSL details.
Resources
Vendor resources
Support
Vendor support
email support@qbis.ro
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.