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

Поділитися
Вставка
  • Опубліковано 26 вер 2024

КОМЕНТАРІ • 65

  • @maxamed14
    @maxamed14 Рік тому +4

    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!

  • @BreuXBranco
    @BreuXBranco Рік тому +2

    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 :)

  • @name_less227
    @name_less227 Рік тому +6

    Amazing job babe. Super helpful.

    • @SeibertSwirl
      @SeibertSwirl Рік тому +5

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

    • @WebDevCody
      @WebDevCody  Рік тому +5

      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!

    • @SeibertSwirl
      @SeibertSwirl Рік тому +1

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

  • @rand0mtv660
    @rand0mtv660 Рік тому +21

    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.

  • @KerimWillem
    @KerimWillem Рік тому +1

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

  • @Pptruenoz
    @Pptruenoz Рік тому +2

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

    • @SeibertSwirl
      @SeibertSwirl Рік тому

      Eyyyyyy!!!! he is OUR Code Babe now 😂 I love it!

  • @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.

  • @SeibertSwirl
    @SeibertSwirl Рік тому +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

    • @SeibertSwirl
      @SeibertSwirl Рік тому +1

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

    • @SeibertSwirl
      @SeibertSwirl Рік тому +1

      @@SamOween I am his wife :)

  • @vladimir5935
    @vladimir5935 Рік тому +2

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

  • @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

  • @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!

  • @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.

  • @TerryDellino
    @TerryDellino Рік тому +3

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

  • @zizi123
    @zizi123 6 місяців тому

    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.

  • @MikeNugget
    @MikeNugget Рік тому

    Awesome video!

  • @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.

  • @kambaalayashwanth123
    @kambaalayashwanth123 11 місяців тому

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

  • @MengLinMaker
    @MengLinMaker 4 місяці тому

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

  • @knoraziel
    @knoraziel 2 місяці тому

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

  • @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?

  • @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!

  • @buzz1ebee
    @buzz1ebee 10 місяців тому

    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  10 місяців тому +1

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

  • @sumitwadhwa8823
    @sumitwadhwa8823 Рік тому

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

  • @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

  • @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)

  • @satyak1337
    @satyak1337 Рік тому

    Can you show the exception message from cloudwatch ?

  • @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

  • @returnZeroo
    @returnZeroo Рік тому

    I purcchased the course.

  • @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.

  • @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.

  • @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?

  • @iukeay
    @iukeay Рік тому

    I am curious about the cost of bandwidth costs with this!

  • @paramaggarwal
    @paramaggarwal 7 місяців тому

    Why not just run on Digital Ocean?

  • @pez5491
    @pez5491 6 місяців тому

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

    • @WebDevCody
      @WebDevCody  6 місяців тому

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