How to save 90% of your Imgix monthly invoice

The FED

How easy is to replace Imgix?

Self hosted, using Imgproxy Docker container:

docker run -p 8080:8080 -it darthsim/imgproxy
https://[hostname]/key/resize:auto:600/plain/https://[source-image-url]

Optimize/Resize images using Next.js:

import Image from 'next/image'

<Image src="/profile-picture.jpg" width="400" height="400" alt="Profile Picture">

Alternatively, fully managed SaaS:

  • 59 PoPs around the world
  • 0.01 to 0.06 (cents per GB depending on region)
  • 8 PoPs (3 in US, 3 in EU, 1 in Asia (Singapore))
  • 0.005 cents per GB, lower depending on volume.
https://[your-chosen-subdomain.b-cdn.net/[your-image-path.jpg?width=600

Let’s run the numbers with some use case scenarios:

  • 10TB of bandwidth per month (US only)
  • 100.000 unique images
  • 10.000 gb x 0.08 c/Gb= 800
  • 100.000 x (3/1000) = 300
  • = 1100 USD per month for Imgix
  • 10.000 gb x 0.01 c/Gb = 100
  • 1 x 10 (website) = 10
  • = 110 USD per month for Bunny CDN
  • 10TB of bandwidth per month (US only)
  • 1.000.000 unique images
  • 10.000 gb x 0.08 c/Gb= 800
  • 1.000.000 x (3/1000) = 3000
  • = 3800 USD per month for Imgix
  • 10Tb of bandwidth per month (Africa)
  • 5.000 unique images
  • 10.000 gb x 0.08 c/Gb= 800
  • 5.000 x (3/1000) = 15
  • = 815 USD per month for Imgix (some of this would be included in the 75$ per month package, but would not deviate significantly from this)
  • 10.000 gb x 0.06 c/Gb = 600
  • 1 x 10 (website)= 10
  • = 610 per month for Bunny CDN

--

--

--

https://gomes.sh/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Integration OneSignal with Huawei Push Kit

CI/CD Pipelines for Microservices

Kotlin Vs. Scala: The Right JVM Language For App Developers

Ansible, it’s Use Case (Hadoop & Restarting HTTPD Service is not idempotence in nature)

​Apache Kafka hands-on demo

I’d been trying to connect with other queer people in design, to learn more about queer design…

CRODO ambassadors program

Ghost CMS on Hetzner Cloud

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Pedro Gomes

Pedro Gomes

https://gomes.sh/

More from Medium

Managing Cloud-Hub and RTF API’s using Anypoint API

Building an Archive

Fixing VMware Identity Manager Network Properties Precheck Error

Auto Attendant Systems