I finally moved my SaaS off Amplify to SST, but it wasn't that easy

Поделиться
HTML-код
  • Опубликовано: 20 янв 2025

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

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

    When I search for something on yt and I see that you have a video covering it. it's kind of a certainty I'm clicking on that video!
    You have a way of presenting concepts, problems and their solutions in a way I have yet to find the words to describe.
    Thank you for amazing content. Your effort is truly appreciated!

  • @rand0mtv660
    @rand0mtv660 Год назад +22

    11:30 to be honest, even if some backend or frontend developer doesn't know about this dev ops stuff, I would still highly encourage them to learn it. Knowing how some of this stuff works make you realize what problems these managed services solve and help you decide if you need to use them or not. It also makes you realize not every app needs to be deployed into fancy serverless behind CDN setups with agressive caching etc. There are many apps like private dashboard apps that need a simple deploy to a VM because you don't have to worry about CDN, scaling or anything like that. You can also get a lot more performance for the same price if you go for a VM instead of a managed service, but of course you have to do everything yourself. That part might be fun for some people, but tedious for others.
    Learning all of this stuff really helped me advance beyond just frontend development and it's nice to sometimes step outside of my regular frontend work. It's another set of skills that can help me advance my career.

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

    Dude, another great video! You're really saving me time, again!
    Thank you and keep up the good work 💪

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

    It's crazy how building stuff still can be such a pain in the ass with all these technologies and tools available. Thanks for the honest and down to earth videos, I have been learning from your journey.

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

    Awesome video!! really like these sst vs amplify videos and you breaking it all down, can't wait for the next one. I'm gonna make the switch to SST. Even though it looks hard and will require a lot of learning, it'll be worth it long-term. I hate the idea of not knowing if you'll face a bug in the future that you can't fix because it's a managed service. Having the freedom to be able to fix your own bugs is so important.

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

    As always a great video ! I would love to see you explore more SST. For example trying to deploy a full stack ( Database/backend/front/bucket/ses/...) through SST, to see how sturdy the stack is and also how to understand Infrastructure as code more :)

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

    Hey man, i been following your videos, and it brings joy whenever i see new uploads, i learned something new. Thank you for the effort. Looking forward for new videos.

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

    Amazing job babe. Super helpful.

    • @butwhothehellknows
      @butwhothehellknows Год назад +6

      Lmaoooooooo I think we should all refer to him as babe now

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

      You better back off before someone I know comes at you

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

      ​@@WebDevCody Hey now.. Didn't want to start any trouble or nothin.. Just appreciating what you contribute to the community!

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

      @@WebDevCody shhhhhh 🤫 you’re OUR babe now, just let it happen 😂

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

    is there a recommended load balancer for use like at 10:18?
    i know how to get nginx to do this on a local machine, but i don't know how to translate that to a modern stack - i figure another aws intermediary

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

    13:02 can you please show us the updated billing and how much cost reduction happened
    Thank you

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

    Great job babe!! I'd like to see a follow-up video to see if it finally works for you.

  • @butwhothehellknows
    @butwhothehellknows Год назад +17

    Good job babe!!! You’re doing great!

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

      I find it so interesting to see your message on every video of Web Dev Cody. Later, I got to know about you. It's a great appreciation, just a shout out from me regarding your efforts. Cody is giving great contents and you are cheering him up is great motivation.

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

      @@tempaccount8256 you sure it's not his gf?

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

      @@SamOween yes she's his wife

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

      @@tempaccount8256 awwww thank you so much! I appreciate this.

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

      @@SamOween I am his wife :)

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

    Very impressive! I’m using vercel free tier but deploying to AWS is fascinating. Would you consider making a video of what AWS tech to learn to understand enough to maintain SST? If not then that’s fine. It’s been couple weeks and curious to know the cost. Thanks!

  • @perc-ai
    @perc-ai Год назад +1

    It is still possible to use aws amplify but without their opinionated / locked-in devops infra. We will still be using aws amplify but we will be deploying on vercel with nextjs

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

    @Hi,I need to know whether the logs for lambda are stored in log groups or not.I have deployed my NextJS application through sst ,but when I examining the lambda function created log groups in cloudwatch it is not created and there is no logs created by that lambda

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

      Yes there is a log group for the server lambda functions

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

    nice to see DigitalOcean here. what do you think about hosting a NextJS app on DigitalOcean instead of AWS?

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

    Great video! I have a dev ops background but was holding off on sst for a while. Glad to know it works well. I'll try it out tonight and get offa vercel

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

      Verify the policies manually if you care about least privilege. I saw in the docs that binding a S3 bucket gives the wildcard permission to that lambda. So way more lax by default than for example cdk.

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

    Would love to use Vercel but what do you do if your database is in an AWS VPC? Seems like there is no secure DB option to use Vercel (or even Amplify)

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

    Interested to know why you don't use digitalocean instead of aws with the benefits you mentioned.
    I'm in the same position trying to get a cheap scalable solution for many small side projects that will ideally scale easily and currently using DO as it is so much easier.

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

      Because I use other aws services such as s3, ses, cloudwatch on my project and I’d rather not have to log into multiple dashboards to manage a single application if possible

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

      Appreciated, you kind of answered also later on in the video. I've been following along carefully with this project deployment because you clearly know your stuff, appreciate the content.

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

    Why did the prisma bug not occur in amplify, in terms of the target?

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

      Amplify builds your next app using a Linux container for you, similar to all of these hosted services, so the binaries were correct. I will say I’m not sure why I needed to modify the prisma schema generator… maybe that wasn’t needed after all?

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

    Just curious, it’s possible to use SST to develop a multi tenant application?

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

    Thank you for the awesome video. I took your course before and amplify used to work. I recently revisit the course and tried to use amplify again with nextjs 13.4 but it seems amplify isn't working to build and deploy. Do you still recommend using SST? SST dev site seems to be getting away from CDK soon.

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

    Why not just run on Digital Ocean?

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

    Super useful to see. Do you know how quickly sst meet feature parity with vercel? PPR looks particularly interesting to me.
    As a side note, what's the reasoning behind using prisma? It looks like it caused issues because of that weird custom binary thing. Something like drizzle or typeorm make more sense to me as they are just executing plain sql queries. I see almost every nextjs example online uses prisma, but it just doesn't seem right to me.

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

      I'm starting to look into using drizzle ORM instead of prisma due to all this rust stuff honestly

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

    Can you show the exception message from cloudwatch ?

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

    Loving these videos on deployments! Out of curiosity which database are you using?

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

    Awesome video!

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

    3:18 That is worry some to me. Because that means that the Amplify abstraction isn't doing a good enough job of hiding the actual resources used. And since you cant manage/see them in your regular AWS console, that is a problem. Curious, how did you find out it was a naming conflict?
    Or is it just your domain name? Because that would make sense.

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

      Domain name, but even so if I had a separate aws account, the domain would be fine

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

      @@WebDevCody Aha, well in that case my original comment stands.

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

    Im confused, you previously talked about why you love amplify, but you dont really explain why you decided to leave it to use SST?

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

    do you recommend buying a course on devops or just get my hands dirty trying stuff out?

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

    question, did you consider serverless framework before going with SST?
    I find myself in this spot atm and not sure which one to go for.

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

      Serverless framework is a thin wrapper behind cloudformation, but sst is an extension on top of cdk. I think sst gives a better dev experience for sure because cdk is all in typescript which gives the nice autocomplete, it’s just a bit more to learn maybe?

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

    Rerouting and caching is simpler on Cloudflare, compared to the Cloudfront + Digital Ocean setup.

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

    how much does it cost to run your sass monthly since you deploy it in terms of database and openAI??

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

      database is free for right now (planetscale), infra costs is like $2 a month or less, and openai is $0.02 image generated (I charge $0.05 per image). so hosting is cheap. stripe is 3.5% of transactions plus a $0.50 fee.

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

    It looks pretty good and I like the idea. Which AWS service do you have to integrate this with, S3? All the docs say just run these commands, but don't say which AWS tier/product you need.

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

      the OpenNextJs for sst will spin up cloudfront and lambdas, probably some other random things under the hood.

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

    Cool!

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

    I purcchased the course.

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

    too bad that api routes not working after deploying with sst, what makes this way kinda useless.

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

      You sure they don’t work? What version of next are you on?