Skip to main content

About Me

Hello Fellow Devs ,  I am a full stack web developer at Intermediate stage . While making projects and learning new topics I encounter various issues and unknown / less known topics on which very few articles or solutions are available but they are very important . To fix it I started this blog . In this I will be sharing stuff related to web development . You can help me by sharing articles you like and let me know an article , topic , problem / issue or question through comment section . Happy Learning !

Resources to host your website assets for completely free

Introduction 

Today I am gonna share some resources through which you can store all of your website assets at zero cost with unlimited bandwidth . Let's start :

Cloudinary 

Cloudinary offers a free plan which is suitable for mazority of the sites . Through this not only you can upload your assets but also you can customise them by just editing it's url on the go . You can optimise the assets and make use of cloudinary cdn at no extra cost . You can check out it here for more detail .

Amazon S3 Bucket 

If you are looking for a resource for larger assets and affordable cost then Amazon S3 bucket is a go . It offers Pay for what you use prices , majority of the time it will be free as aws offers 100gb of free bandwidth at 0 cost . AWS S3 let's you use your custom domain for transferring assets , you can simply do this by using your domain name as your bucket name and adding some records in your domain DNS . Click here for tutorial and more details . 

Note : While using aws s3 be sure to customise the policies accordingly for preventing unwanted use of bandwidth .

What's the Difference ?

  • In Cloudinary you can change / edit your assets but in aws you can simply store them .
  • Cloudinary offers cdn for faster transfer but aws ( by default ) doesn't offer such functionality
  • For larger assets AWS is much cheaper then cloudinary .
  • Cloudinary have limit of around 25gb bandwith ( with tokens ) but in aws there is no limit and 0 cost till 100gb bandwidth 
  • AWS let's you use custom domain for assets but cloudinary doesn't offer this in free plan .

What to Choose ?

If your project is small to medium or you need faster assets transfer then cloudinary is best . For larger projects with heavy assets AWS is a go . We can customise our assets in the server before uploading them to aws s3 and with some tricks you can also configure cdn in aws for your assets but this is worth in bigger projects and not in small to medium one's .

Conclusion

There are a lot of resources out there which let you add your assets for free but I like these two the most and let me know what you think of them in comment section .


Comments