How Much Does It Cost to Run My SaaS Application? You Might Be Surprised

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • 📘 T3 Stack Tutorial: 1017897100294....
    🤖 SaaS I'm Building: www.icongenera...
    💬 Discord: / discord
    🔔 Newsletter: newsletter.web...
    📁 GitHub: github.com/web...
    📺 Twitch: / webdevcody
    🤖 Website: webdevcody.com
    🐦 Twitter: / webdevcody

Комментарии • 148

  • @nikhil182
    @nikhil182 Год назад +117

    Thank you for being so transparent and open about all the stuff, much appreciated.

  • @MudassirKhan-sx9jy
    @MudassirKhan-sx9jy Год назад +142

    You are one of few content creators who makes videos on such topics.thank u

  • @zivtamary
    @zivtamary Год назад +41

    Would love to see the architecture behind this, and how to set up AWS with next.js for production with the lowest cost usage. please make a tutorial! :)

  • @jowia4044
    @jowia4044 Год назад +30

    Great overview of costs, really liked the logs part as well, will be trying it out

  • @WyzrdCat
    @WyzrdCat Год назад +13

    Maybe 1% use the feature but the ability to use that feature may matter to a much larger %. They may just want peace of mind to know if they find something that's almost right they can iterate on it. Even if in practice they don't use it very often

  • @blackbriarmead1966
    @blackbriarmead1966 Год назад +7

    What sucks is when you need to host an EC2 for something like elasticsearch. I mean, $30/month still isn't bad, but compared to basically $0 for all the lambda, S3, dynamoDB stuff, it's still a lot

    • @WebDevCody
      @WebDevCody  Год назад +1

      Yeah elasticsearch is expensive

  • @emmanuelezeagwula7436
    @emmanuelezeagwula7436 Год назад +5

    first ! sorry mrs cody

    • @SeibertSwirl
      @SeibertSwirl Год назад

      Hahaha I will rise again 👸🏿 but for today, well done! 😊

  • @lesterdeguzman7452
    @lesterdeguzman7452 Год назад +5

    Can you show the architecture behind this application? Nice topic anyway thanks!

  • @paulclarke4099
    @paulclarke4099 Год назад +4

    Would love a more detailed video about setting up a basic Webapp (that uses S3) on AWS using SST. Thanks

  • @ekimbangola
    @ekimbangola Год назад +3

    First of all, thanks for the content. Can you create one video where you explain how you set up your AWS infrastructure in order to be so low cost?

  • @neociber24
    @neociber24 Год назад +2

    We live in a great time as developers, we can deploy globally under 1 dollar or free and still make money, you just need an idea.

  • @igboanugwocollins4452
    @igboanugwocollins4452 Год назад +4

    Thank you so much for this, so insightful, this is an encouragement for me to start a business some day!
    You look like a university professor now 😎

    • @bajukul6952
      @bajukul6952 Месяц назад

      Someday!??? Why not To-day?

  • @anzakutama3489
    @anzakutama3489 Год назад +2

    This is probably the best YT channel I've ever subscribed to. So much worthwhile content! Thank you

  • @thefamousdjx
    @thefamousdjx Год назад +2

    Just found your channel and been binging lol. Amazing content keep it up!

  • @djordje1999
    @djordje1999 2 месяца назад

    Hey, can you make a video about legal costs (lawyer, opening procedure, taxing..) and where you registried your saas

  • @jawyor-k3t
    @jawyor-k3t Год назад +2

    Thanks for sharing Cody, that AWS pricing is insane cheap lol.

  • @yarrichar
    @yarrichar Год назад +2

    Does the length of the beard correspond to level of burn out? ;) - great work as always!

  • @AlphaBeta-vq6ks
    @AlphaBeta-vq6ks 4 месяца назад

    Could you please offer some advice on how to get started with making money with SAS more specifically just how to make money in general with sas and basic JS html and css skills.

  • @RandomNullpointer
    @RandomNullpointer 11 месяцев назад

    06:33 Enshitification alarm.
    When Google and friends are taking similar measures and killing some products the public aren't happy. Even though the business still brings in money, the reputation is hurt.

  • @thewildweb
    @thewildweb 6 месяцев назад

    Love to know , How can we setup first then start development , Love to know , learn and implement the full process , From configuring s3 buckets

  • @Jexdev
    @Jexdev 2 месяца назад

    Nice app, Ive started one and just made mvp. wanted to know if I can get some thoughts on it?

  • @StefanPopi
    @StefanPopi Месяц назад

    Where are you hosting your database ? I don't see AWS RDS in there

  • @b9boy
    @b9boy 6 месяцев назад +1

    Hey can I ask you a question? This has been hanging over me like a dark cloud for a while running my SaaS using Stripe.
    When selling globally, how do you manage taxes? I'm from Norway, and I'm able to purchase stuff using your SaaS trough Stripe. How are you collecting and paying tax in for example Norway or other countries? Would be really thankful for a response :=)

    • @WebDevCody
      @WebDevCody  6 месяцев назад

      Idk how you’d do it in Norway, but for us citizens selling to EU, you register for a VAT OSS for any single EU country, then every quarter you pay the taxes collected on any EU sales and provide a breakdown of how much you collected from what countries on the tax return filing. Since you’re already in the EU, I’m not sure if you follow the same process?

    • @b9boy
      @b9boy 6 месяцев назад

      @@WebDevCodythats what i mean! how on earth can one really pay taxes in so many countries manually? do you use any service to automate this?

    • @WebDevCody
      @WebDevCody  6 месяцев назад

      @@b9boy you only pay to one country from what I understand and they distribute the funds for you

    • @b9boy
      @b9boy 6 месяцев назад

      @@WebDevCody really? i did not know that. like you pay to the country you are operating from only? you sell in for example 80 countries, but only collect tax from them, and pay them to the one country you are based in? i was under the impression you had to collect and pay to every country that you sell in. which is pretty impossible without any third party tool.

    • @WebDevCody
      @WebDevCody  6 месяцев назад

      @@b9boy I’m only talking about the EU. For other countries, for example South America, I guess you’d have to figure out how to pay taxes? Honestly unless you’re making BIG money from a single country, I don’t think you’ll be prosecuted for not paying taxes on $5

  • @SeibertSwirl
    @SeibertSwirl Год назад +3

    Good job babe!!!! Love ya!

  • @DeepakKumar-ks3mb
    @DeepakKumar-ks3mb Год назад +1

    You look good in beard.

  • @ZixPainGamer
    @ZixPainGamer 9 месяцев назад

    Thank you for the video.I have question. Could you estimate all the cost after free tier duration (total cost in short)? If I remember correctly, free tier is only available for one year.

    • @WebDevCody
      @WebDevCody  9 месяцев назад +1

      It depends on the service. Lambda always have a monthly free tier. I pay $3 a month for this service and make $1k revenue a month

  • @abdosarmini
    @abdosarmini 7 месяцев назад

    How do you do the marketing?

  • @ViolentAssassin
    @ViolentAssassin 3 месяца назад

    what about databases. Have you used atlas?

  • @verynice5574
    @verynice5574 Год назад

    I appreciate the effort in making this video but the breakdown isn't really relevant since you don't know what your advertising costs would be if you weren't promoting it on your channel. Even a small fraction of 144k subscribers going to this app is a lot of people and it looks like you're paying out roughly 1/3rd of you revenue to openAI as it is. I suspect the app would run at a net loss with paid traffic unless you got really clever about it. You're in the opposite position of any of your audience who might be considering making their own SaaS apps as putting your app in front of an audience is a source of revenue and not a cost. I'm filing this under 99.999% of advice I see on RUclips. Step 1 = Be a RUclipsr.

    • @WebDevCody
      @WebDevCody  Год назад

      I thought so as well, but actually most of my traffic comes from organic google search. Very little comes from RUclips from what I can see using google analytics. People are legit googling to ai generated icons. Btw this app would never be a net loss. It all runs using serverless; there I only pay for what I use, and people can’t use it unless they buy credits. It costs $2 a month to operate at this point to store images on s3

  • @joseph-hover-lifestyle
    @joseph-hover-lifestyle 28 дней назад

    Congrats brother

  • @saucetguitars
    @saucetguitars Год назад +1

    What do you use for a database, if any? I’m using RDS Postgres for a new app and while it’s still under the free tier, it looks like it would be the most expensive part of the app to host if it wasn’t under the free tier.

    • @WebDevCody
      @WebDevCody  Год назад +1

      Some cheaper databases include planetscale and supabase. They have a free tier as well, and I’m not even close to hitting their limits yet

    • @saucetguitars
      @saucetguitars Год назад

      @@WebDevCody thank you! I will have to try and see if they’re a better option than RDS

  • @sintua
    @sintua Год назад +1

    Heya, love the video, thanks for the behind the scenes peek!
    Something to consider for the background removal tool - it could also be the popular feature to the business demographic that hasn't found your app yet! For example, I imagine a lot of your surge usage could be other developers looking to generate a lot of icons at once; game status effects, asset packs, ui elements, etc. a tool to remove background elements could be very useful for such intentions.

    • @WebDevCody
      @WebDevCody  Год назад

      Yeah I started another saas product for removing background images, but idk how far I’ll take it

  • @robavery7356
    @robavery7356 8 месяцев назад

    Can you create a video going over your infrustructure of this website? What do you use for your FE and BE? What resources in AWS do you use? How did you get it to be so cheap and your thought process behind it? Pro and cons of certain decisions? etc.
    I've created apps in the past and hosted them on AWS, but they were much smaller and usually costed me more than your site has. Just curious how you were able to get it to where it and how you built it. Thanks!

  • @codetora
    @codetora Год назад

    This is awesome stuff, good work! What have you done to increase the discoverability of your app other than presumably following SSR best practices with Next.js? Do you have any tips or advice about this?

  • @iuliancarnaru954
    @iuliancarnaru954 6 месяцев назад

    Great insight, can I ask why you didn't hosted with Vercel? Is because of higher costs?

  • @systechadmin8368
    @systechadmin8368 Год назад

    Awesome and inspired much.expetation to make trianing on saas product developemnt and run inreal world for startups .Hope to get it soon.Please make it🙏

  • @javiers2133
    @javiers2133 Год назад

    I was one that told you that maintain this website when you asked for, and I'm glad to have gave you my most sincere opinion and see that it was profitable for you! Thank you!

  • @Pix3lB
    @Pix3lB Год назад

    Probably a bad place to ask this,what would you recommend to deploy a school django project?

  • @energyman100
    @energyman100 Год назад

    I never thought about using cloud metrics for business intelligence lmao thank you

  • @flying_oyster
    @flying_oyster 5 месяцев назад

    wow, Stripe is so expensive. Is there a cheaper alternative

  • @Rambou92
    @Rambou92 Год назад

    Profit is after taxes which you haven't applied yet

  • @st-jn2gk
    @st-jn2gk Год назад

    That beard is an absolute W. I turn 22 in a couple weeks and still have nothing 😭

  • @mahdiboughanmi6781
    @mahdiboughanmi6781 Год назад

    Hello can you please show us a tutorial on aws how to do it correctly , Thank you btw xD

  • @John-zz6fz
    @John-zz6fz Год назад

    Dude, thanks for that. I had no idea AWS was so affordable.

  • @abdullahaleiti8024
    @abdullahaleiti8024 3 месяца назад

    This is some legit content liked + subscribed

  • @minamulhaq
    @minamulhaq Год назад

    What do you say I want to host on netlify and use supabase as database?

  • @ataadevs
    @ataadevs Год назад

    Can you tell us how did you promote your site to get traffic?

  • @mianmuneebajaz
    @mianmuneebajaz Год назад

    Could you do a video on hosting such site on aws ... the whole steps etc ..

  • @kenlow4048
    @kenlow4048 5 месяцев назад

    you are inspiring man. you the best.

  • @apaksimen
    @apaksimen 10 месяцев назад

    the video / or repo where you explain how to setup the deployment will be really beneficial. Thank you for your work and time you put in these videos!! I watch pretty much every new video you release ❤

  • @naman_dw
    @naman_dw Год назад +1

    awesome. can you do a tutorial on deploying next js to aws?

    • @eshw23
      @eshw23 Год назад

      Also on if it is even necesarry, deploying to Vercel is so easy and deploying and managing AWS is the most painful thing ever.

    • @neociber24
      @neociber24 Год назад

      Use amplify which still painful, You lose a lot of features

  • @mohithguptakorangi1766
    @mohithguptakorangi1766 Год назад +4

    How about making a video/course on how you have setup with Saas from scratch to end including all the things like collecting the stats that you have shown in these videos, the s3,lambda stuff you were talking about,....EVERYTHING!!!!

    • @WebDevCody
      @WebDevCody  Год назад

      I have a course that shows how I setup the initial project with some of the features

    • @mohithguptakorangi1766
      @mohithguptakorangi1766 Год назад

      @@WebDevCody Would you be willing to put at least ALL the statistics part in it though? I'm actually very curious how all of this can be done for a legit Saas

    • @paulclarke4099
      @paulclarke4099 Год назад

      @@WebDevCody Would love a video specifically on how to do this entirely using SST

  • @zeninvites3209
    @zeninvites3209 10 месяцев назад

    did not expect the AWS to be so cheap .... wow!

  • @henderstech
    @henderstech Год назад

    Wow I wish one day to be able to do somthing like this.

  • @Harish-rz4gv
    @Harish-rz4gv Год назад

    Please upload a video on how to setup and use s3 bucket

  • @Vosos360
    @Vosos360 Год назад

    Hi Cody, thanks for the information. I've got a question about web hosting - you've bought the domain through godaddy, namecheap, etc. presumably? And then when hosting with AWS is this using the 12-month free tier, and does that include an SSL certificate, which you'll then have to renew after the 12 months?
    Having only ever used Azure, the web app needs to be at least basic tier to use a custom domain (68.62 USD/month) and the annual renewal of the certificate (another 60-something USD).
    Are there comparable costs when using AWS?
    Thanks

    • @WebDevCody
      @WebDevCody  Год назад

      Certificates are free on aws, and I host using serverless so I pay per usage. 68 a month for a website is a rip off, are you sure you’re doing azure correctly?

  • @appstuff6565
    @appstuff6565 11 месяцев назад

    Hey Cody, thanks for this. Im just using supabase for buckets and db. Im new to this and learning. Do you think i should worry about changing to s3 buckets and new db ? and also i might go with digital ovean or amplify to deploy, and if its worth to go the sst route for first SaaS project. However what do you recommend?

    • @WebDevCody
      @WebDevCody  11 месяцев назад

      I recommend what I’m using, but using supabase should be fine

  • @additionaddict5524
    @additionaddict5524 Год назад

    Remove background was helpful. Stats might not reflect that, 20x generate icon, 1 I pick and like so I remove background

    • @WebDevCody
      @WebDevCody  Год назад

      glad to hear it, I'll keep it around for sure. i was thinking about turning this background removal feature into a separate saas product / api endpoint people can use

  • @asdasdaa7063
    @asdasdaa7063 8 месяцев назад

    As someone trying to create my SaaS this was very helpful. I've subbed to your channel! Would love more of these types of videos. Would you recommend AWS over azure?

    • @WebDevCody
      @WebDevCody  8 месяцев назад +1

      I use aws at work; never used azure

  • @developertak
    @developertak Год назад

    This is so insightful. Thank you so much !!. hope to see more content on aws.

  • @JerryNoel
    @JerryNoel Год назад

    That was honestly very informative! Thanks

  • @MarcelRiegler
    @MarcelRiegler Год назад

    Fun breakdown. It's probably very hard to estimate, but how much manpower did you put into it's creation? It'd be interesting to see how long this app has to live until it's paid you a "normal" salary.

    • @WebDevCody
      @WebDevCody  Год назад +1

      At this point I’m not sure, but i haven’t touched it really in months and it’s making may. 1k a month

  • @kavehtehrani
    @kavehtehrani Год назад

    Really informative video!

  • @zkiyyeller3525
    @zkiyyeller3525 Год назад

    Thank you so much Cody! Been binging on your content and trying control my ongoing costs. At 2:44 mark does it say that pervious month was 70.85 last month's net volume from sales and this month's was an +945% increase?

    • @zkiyyeller3525
      @zkiyyeller3525 Год назад

      Sorry I realize you are sharing the costs not necessary the profits which I was interested in to figure out your/my breakeven point.

  • @eshw23
    @eshw23 Год назад

    Cody do you think it makes sense for me to switch my main project from MERN stack and firebase to Next js and prisma, i feel like I should since deployment is so easy, and Nextjs is so cool now, what do you think? Thanks!!!!!!

    • @WebDevCody
      @WebDevCody  Год назад +2

      I think using next does make deployments half as hard since you'd just be deploying a single self contained thing instead of a separate UI and separate API. You don't need to switch from mongo. Switching from mongo probably won't make deployments any easier (sql might make things a little bit harder because of migrations)

  • @anshnanda
    @anshnanda Год назад

    What about AI API costs?

  • @JeremySchiefer
    @JeremySchiefer Год назад

    You could probably use S3 Intelligent tiering and reduce your S3 storage costs.

    • @WebDevCody
      @WebDevCody  Год назад +1

      I'll look into that because I'm assuming a lot of these icons are never accessed again in the future

  • @digihod2047
    @digihod2047 Год назад

    Great content, what api are you using for removing the background? Really appreciate your videos man, keep it up thank you in advance :)

    • @WebDevCody
      @WebDevCody  Год назад

      Using a python / docker image I found

  • @alitonoliveira1700
    @alitonoliveira1700 Год назад

    Interesting! Do you have any experience with cloud run to share with us?

  • @sethmatthews7970
    @sethmatthews7970 Год назад

    Thanks for sharing! Would love to see more/ a course on sst

  • @arch_285
    @arch_285 Год назад

    Love this channel.

  • @RootsterAnon
    @RootsterAnon Год назад

    Great video! much appreciated.

  • @clashgamers4072
    @clashgamers4072 Год назад

    using free dns?

  • @imousart
    @imousart Год назад

    so you advice us to using aws over other services like supabase or firebase if we want to lower the cost ?

    • @WebDevCody
      @WebDevCody  Год назад +2

      For the database, no. Aws database often are the most expensive

  • @williamx0
    @williamx0 Год назад

    Thanks for sharing!

  • @setfbiker
    @setfbiker Год назад

    Hi Cody thank you for sharing. I know it is not what s your content is about but can you give us an overview of seo steps you took to get traffic. Because I have created like this side projects and I have always been struggling to get organic traffic.

    • @WebDevCody
      @WebDevCody  Год назад +1

      I didn’t do much other than make sure my homepage had a lot of keywords (I used chatGPT to generate all the text), then I added my sitemap to google indexing

    • @setfbiker
      @setfbiker Год назад

      @@WebDevCody thanks. Good luck!

  • @JSiuDev
    @JSiuDev Год назад

    Thank you!!

  • @PostMeridianLyf
    @PostMeridianLyf Год назад

    I ddosed myself on gcloud and it cost like $10 a day. not horrible but way higher than your monthly cost.

    • @WebDevCody
      @WebDevCody  Год назад +1

      yikes, why is it that expensive? I literally pay pennies a day for my hosting and file storage

    • @PostMeridianLyf
      @PostMeridianLyf Год назад

      @@WebDevCody it's cheap / free when not being ddosed lol. I pushed some bad code so it was my fault.

  • @slahomar1497
    @slahomar1497 Год назад

    What about the DB ? aren’t you paying anything?

  • @madeonearthbyhumans
    @madeonearthbyhumans Год назад

    THX

  • @aytee5862
    @aytee5862 Год назад

    What do you use for database storage in these apps? Is that also an amazon service, and is it calculated into this cost? I heard RDS can get hella expensive.

    • @WebDevCody
      @WebDevCody  Год назад

      Planetscale free tier for this app

    • @aytee5862
      @aytee5862 Год назад

      @@WebDevCody Alright, thank you for answering! :)

  • @ehrro
    @ehrro Год назад

    Great work man.

  • @leonardogrig
    @leonardogrig Год назад

    Thanks!

  • @andresgutgon
    @andresgutgon Год назад

    What about db cost? What kind of db you use for this project?

    • @WebDevCody
      @WebDevCody  Год назад +2

      Free tier planetscale db, no costs

    • @andresgutgon
      @andresgutgon Год назад +2

      Nice! Is what I'm planning to use planet scale too. It's awesome. The only thing with free tier is the sleep of the db but I guess for a running project is not an issue. I was planning on doing a dumb Cron job that runs once a day an make a simple request that hits the db with a query while (if) my project gets traction

  • @king-zu3ih
    @king-zu3ih Год назад

    what is the cost about database

    • @WebDevCody
      @WebDevCody  Год назад +1

      free tier on planetscale, so $0

  • @MoreNizar
    @MoreNizar Год назад

    do you offer consultations

  • @DaveTheDeveloper
    @DaveTheDeveloper Год назад

    On what are those logs you explained based? Do you manually log in your application? Are those api-calls?

    • @WebDevCody
      @WebDevCody  Год назад

      those are manual logs, but you can easily log out api requests and then future analyze your api request info. Logs give you the flexibility to monitor whatever you want

    • @DaveTheDeveloper
      @DaveTheDeveloper Год назад

      @@WebDevCody so manual logs specific to aws? Cause currently I log it to the db but I wonder if there's a better solution

    • @WebDevCody
      @WebDevCody  Год назад

      @@DaveTheDeveloper when you do console.log, it’ll automatically get consumed into aws cloudwatch. It’s nothing special

    • @DaveTheDeveloper
      @DaveTheDeveloper Год назад

      @@WebDevCody what about errors that happen in the client? Are those also being caught by aws?

    • @WebDevCody
      @WebDevCody  Год назад +1

      @@DaveTheDeveloper no, I don’t handle and forward client errors. Usually you’d add some type of error catcher in the client to catch all errors and forward them somewhere to your backend so that get ingested into your logs. There are also third party libraries that help catch errors on the client, but honestly most errors I’ve seen originate from the api

  • @gavinlindridge
    @gavinlindridge Год назад +2

    Hi Cody, just went through the full course and really loved it, super useful content.
    One thing I'd really love to see would be a video of how you would refactor the same application with SST instead of amplify, but other than that was amazing :)

    • @WebDevCody
      @WebDevCody  Год назад +2

      I’ll make a video on that

    • @gavinlindridge
      @gavinlindridge Год назад

      Amazing really seeing the benefit of sst and gone through the real basic tutorials.
      Slowly going to migrate from digitalocean as my understanding increases 👍
      Aws is a bit of a beast though and taking some learning 😉

  • @ESArnau
    @ESArnau Год назад

    do you also use some database in aws?

    • @WebDevCody
      @WebDevCody  Год назад +5

      my database is the free tier of planetscale

    • @ESArnau
      @ESArnau Год назад +1

      @@WebDevCody makes sense, i was doing some basic tests with rds postgtres in aws and seemed quite pricey. Thanks

    • @st-jn2gk
      @st-jn2gk Год назад

      @@WebDevCody based

  • @DLSMauu
    @DLSMauu Год назад

    This is pure gold, you are a menace