Cost to complete the project:  The estimated cost to complete this project is $0.04. This cost assumes that you are within the AWS Free Tier limits, you follow the recommended configurations, and that you terminate all resources within 1 hour of completing the project.

Monthly Billing Estimate: The total cost of launching a Node.js stack web application will vary depending on your usage and configuration settings. Using the default configuration recommended in this guide, it will typically cost $27.42 a month if you are within the AWS Free Tier. Your use case may require different configurations that can impact your bill. Use the Pricing Calculator to estimate costs tailored for your needs

Individual service usage and cost: AWS pricing is based on your usage of each individual service. The total combined usage of each service will create your monthly bill. Explore the tabs below to learn what each service does and how it affects your bill.

  • Amazon EC2

    Description: Amazon EC2 provides the virtual application servers, known as instances, to host your Node.js web application. Amazon EC2 allows you to configure and scale your compute capacity easily to meet changing requirements and demand. It is integrated with Amazon’s proven computing environment, allowing you to leverage the AWS suite of services. 

    How Pricing Works: Amazon EC2 pricing is based on four components: the instance type you choose (EC2 comes in 40+ types of instances with options optimized for compute, memory, storage and more), the region your instances are based in, the software you run, and the pricing model you select (on-demand instances, reserved capacity, spot, etc.). For more information, see Amazon EC2 Pricing

    Cost Example: This project will set up an environment that runs on 2 t2.micro EC2 instances. This will cost approximately $19.04/month.

  • Elastic Load Balancing

    Description: An Elastic Load Balancing load balancer distributes requests to the EC2 instances running your Node.js application. This allows you to achieve greater levels of fault tolerance in your application, seamlessly providing the required amount of load balancing capacity needed to distribute application traffic.

    How Pricing Works: Elastic Load Balancing pricing is based on two main components: the number of hours or partial hours your Elastic Load Balancer is running and the amount of data (GB) transferred through your Elastic Load Balancer. For more details, see Elastic Load Balancing Pricing.

    Cost Example: This project uses 2 Elastic Load Balancing balancers transferring 10 GB a month. This will cost approximately $36.68/month.

  • Amazon DynamoDB

    Product DescriptionAmazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and supports both document and key-value store models.

    How Pricing Works: Amazon DynamoDB pricing is based on five components: the rate of read and write requests per second you need (this is known as Provisioned Throughput Capacity), the yearly term you purchase on (Reserved Throughput Capacity), the data you store on DynamoDB (Indexed Storage), the data you transfer out of DynamoDB (Data Tranfer), and any time-ordered sequence of item-level chnages of your DynamoDB table (DynamoDB Streams). For more information, see DynamoDB Pricing

    Cost Example: This project uses a 5KB item in DynamoDB. Because DynmaoDB is free upto 25GB and 25WCU and RCU, you will not incur a cost if you are within the AWS Free Tier. 

  • AWS Elastic Beanstalk

    Description: AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling your Node.js application onto the AWS platform. Elastic Beanstalk handles the details of your hosting environment, including provisioning AWS resources such as EC2 application servers, and configuring load balancing, scaling, and monitoring.

    How Pricing Works: There is no additional charge for using AWS Elastic Beanstalk to deploy your Node.js application. 

  • Auto Scaling

    Description: The Auto Scaling service ensures that your Node.js environment is optimized for availability.  You can set a minimum number of available application servers and can add or remove application servers as demand on your Node.js application.

    How Pricing Works: There is no additional charge for using the Auto Scaling service to deploy your Node.js application.

  • Amazon SNS

    Product Description: Amazon Simple Notification Service (Amazon SNS) is a fast, flexible, fully managed push notification service that lets you send individual messages or to fan-out messages to large numbers of recipients.

    How Pricing Works: Amazon SNS customers receive 1,000,000 Amazon SNS Requests, 100,000 HTTP notifications, 1,000 email notifications and 100 SMS notifications for free. Beyond that, you pay based on the number of notifications you publish, the number of notifications you deliver, and any additional API calls for managing topics and subscriptions. Delivery pricing varies by endpoint type. For more details, see Amazon SNS Pricing.

    Cost Example: This project transmits a negligible volume of calls to Amazon SNS and will not incur a cost if you are within the free tier.

  • Amazon S3

    Product Description: Amazon S3 provides secure, durable, and highly-scalable cloud storage for the objects. Examples of objects you can store include HTML pages, CSS files, images, videos, and JavaScript. Amazon S3 makes it is easy to use object storage with a simple web interface to store and retrieve data from anywhere on the web, meaning that your website will be reliably available to all your visitors. 

    How Pricing Works: S3 Pricing is based on five components: the type of S3 storage you use, where you store your website content (e.g. US East vs. Asia Pacific - Sydney), the amount you store, the number of requests you or your users make to store new content or retrieve the content, and the amount of data that is transferred from S3 to you or your users. For more infromation, see Amazon S3 pricing

    Cost Estimate: This project uses 10GB of object storage per month on Amazon S3. This will cost approximately $0.30/month.