Others

Deployment of static websites through servers or CDN: Cost-benefit analysis

May 9, 2023

Every internet start-up or personal website begins by hosting a page where they can reach their consumers or audience.  To host a page, Startups have a lot of service providers & options from cloud services like AWS, etc. You should be cognizant of the cost of various options so you can save $$ for your start-up.

In this blog, we will discuss the cost aspect of popular options to host a static page on AWS.

Factors included in the cost:

  1. Number of Requests – Number of HTTP requests coming to service.
  2. Size of data transfer  – Total data transfer while serving the pages.
  3. AWS Region.

Cost analysis of popular options:

Take a generic load of 100k requests  per day serving 1MB page

  • Daily data transfer –  100GB
  • Monthly Total data transfer = 3TB
  • AWS Region = Asia Pacific (Mumbai)

Conclusion:

By the above comparison,  S3 is the cheapest option to host your pages. In S3 the cost is paid as you go. That can help you save money. While in case of EC2, there is a chance of over-provisioning that can add to your bill

If you are hosting a back-end service on an EC2 instance, you can consider hosting your pages with a backend service to save cost.

In case your service has a presence in multiple countries, you can think of hosting on CDN for better performance for your customers.

Leave a Reply

Your email address will not be published. Required fields are marked *