Listing Thumbnail

    Node.js 20 with Nginx and PM2 on Amazon Linux 2023 support by Hanwei

     Info
    Deployed on AWS
    AWS Free Tier
    Pre-configured Node.js 20 LTS runtime environment on Amazon Linux 2023. Optimized for production workloads with security hardening, automatic updates, npm included, and ready-to-use development tools. Launch an instance and start building Node.js applications in minutes.

    Overview

    Node.js 20 on Amazon Linux 2023 provides a fully configured, production-ready environment for building and running Node.js applications on AWS.

    This AMI is built on a minimal installation of Amazon Linux 2023, updated to the latest security patches, and includes Node.js 20 LTS runtime pre-installed and configured. It is designed for developers and teams who want to deploy Node.js workloads quickly without spending time on environment setup and configuration.

    Key components included:

    • Node.js 20 LTS runtime
    • npm package manager
    • Nginx web server (reverse proxy)
    • PM2 process manager
    • Core build tools (gcc, make, python3)
    • Git version control

    The system is security hardened following best practices. SSH access uses key pair authentication only. Unnecessary services and packages have been removed to reduce the attack surface. Automatic security updates are enabled by default.

    This AMI is suitable for web application backends, REST APIs, microservices, real-time applications, serverless function development, CLI tools, and general Node.js development workflows.

    Highlights

    • Ready to use - Node.js 20 LTS with npm, Nginx reverse proxy, and PM2 process manager pre-installed and configured. Launch and start coding immediately without manual setup.
    • Security hardened - Built on Amazon Linux 2023 with automatic security updates, key-based SSH only, and minimal attack surface.
    • Production optimized - Minimal footprint with only essential packages installed. Fast boot time and low resource overhead for cost-effective deployments.

    Details

    Delivery method

    Delivery option
    64-bit (x86) Amazon Machine Image (AMI)

    Latest version

    Operating system
    AmazonLinux 2023

    Deployed on AWS
    New

    Introducing multi-product solutions

    You can now purchase comprehensive solutions tailored to use cases and industries.

    Multi-product solutions

    Features and programs

    Financing for AWS Marketplace purchases

    AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
    Financing for AWS Marketplace purchases

    Pricing

    Node.js 20 with Nginx and PM2 on Amazon Linux 2023 support by Hanwei

     Info
    Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time. Alternatively, you can pay upfront for a contract, which typically covers your anticipated usage for the contract duration. Any usage beyond contract will incur additional usage-based costs.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.
    If you are an AWS Free Tier customer with a free plan, you are eligible to subscribe to this offer. You can use free credits to cover the cost of eligible AWS infrastructure. See AWS Free Tier  for more details. If you created an AWS account before July 15th, 2025, and qualify for the Legacy AWS Free Tier, Amazon EC2 charges for Micro instances are free for up to 750 hours per month. See Legacy AWS Free Tier  for more details.

    Usage costs (577)

     Info
    • ...
    Dimension
    Cost/hour
    t3.medium
    Recommended
    $0.10
    t2.micro
    $0.10
    t3.micro
    $0.10
    r6a.48xlarge
    $0.422
    c6in.32xlarge
    $0.365
    r5a.16xlarge
    $0.308
    m5a.xlarge
    $0.10
    m6a.32xlarge
    $0.365
    d3.4xlarge
    $0.148
    t3.small
    $0.10

    Vendor refund policy

    no refund

    Custom pricing options

    Request a private offer to receive a custom quote.

    How can we make this page better?

    Tell us how we can improve this page, or report an issue with this product.
    Tell us how we can improve this page, or report an issue with this product.

    Legal

    Vendor terms and conditions

    Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA) .

    Content disclaimer

    Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.

    Usage information

     Info

    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

    Included Software:

    • Node.js 20.20.2 LTS (JavaScript runtime)
    • npm 10.8.2 (package manager)
    • Nginx 1.30.1 (reverse proxy and web server)
    • PM2 7.0.1 (Node.js process manager)
    • Python 3.9.25 (node-gyp dependency)
    • Git 2.50.1 (version control)
    • GCC 11.5.0 (native module compilation)
    • AWS CLI 2.34.55 (AWS service management)
    • jq 1.7.1 (JSON processing)

    Security:

    • SSH hardened: root login disabled, password authentication disabled
    • Automatic security updates enabled via dnf-automatic
    • Nginx server_tokens disabled
    • AWS Security Groups recommended for network access control

    Optimizations:

    • Minimal installation with only essential packages
    • Nginx pre-configured as reverse proxy
    • PM2 ready for production process management
    • Build tools included for native module compilation

    Additional details

    Usage instructions

    SSH to the instance and login as 'ec2-user' using the key pair specified at launch. For more details on connecting to a Linux instance, see: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html 

    Once connected, refer to the documentation in /home/ec2-user/ for quick start and configuration guidance:

    • README.md - Environment overview and component versions
    • deployment.md - Deployment guide with Nginx, PM2, and common patterns

    Resources

    Vendor resources

    Support

    Vendor support

    For product technical support, please contact prosupport@hanweie.com 

    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.

    Similar products

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 reviews
    No customer reviews yet
    Be the first to review this product . We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.