How can we make a website which has operation cost under $3/month?

To Nha Notes | Feb. 7, 2021, 6:20 p.m.

There are many plans of WordPress which can help us to create website easily without any experience in coding. But Its minimum cost could up to above $5/month.

And below is how could I develop a website which has operation cost lower than $3/month. This is very good price for products in prototype stage, start-ups, personal sites and blogs.

Server side include:

  • Django - free and open source web framework in python
  • Nginx - Web Server
  • Gunicorn - Python Server
  • SQLite - free SQL database engine
  • AWS EFS - Amazon Elastic File System as storage of SQLite database
  • AWS Elastic Beanstalk - Amazon Service for deploying and scaling web applications
  • AWS EC2 - Amazon EC2 - the main environment for running Pyton Web Application
  • AWS S3 - AWS Simple Cloud Storage (S3) as storage for static resources.

Frontend side include:

  • Bootstrap - the most popular CSS Framework for developing responsive and mobile-first websites

Because access is not so high and the storage is low for such purposes., most of the cost is at AWS EC2 usage. To optimize its cost we choose its services as below:

  • EC2 - we can choose the smallest instance t3.nano for the lowest cost. And enable spot instance for even much more cheaper.
  • EFS - we should choose storage class Infrequent Access (EFS IA) which is cost-optimized for files not accessed everyday.

So, based on Its current pricing, the cost would be under $3/month. Be noted that this cost doesn't include cost of domain + SSL which may has extra-cost about $0.5/month.

The most important thing to implement above stuffs is you must be a full-stack developer who has experience with Amazon Web Services. Or, you can ask a developer to implement it for you.