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

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ย. 2024

ความคิดเห็น • 65

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

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

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

  • @KerimWillem
    @KerimWillem ปีที่แล้ว +1

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

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

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

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

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

  • @vladimir5935
    @vladimir5935 ปีที่แล้ว +2

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

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

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

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

  • @MikeNugget
    @MikeNugget ปีที่แล้ว

    Awesome video!

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

  • @knoraziel
    @knoraziel 2 หลายเดือนก่อน

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

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

  • @kambaalayashwanth123
    @kambaalayashwanth123 11 หลายเดือนก่อน

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

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

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

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

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

  • @MengLinMaker
    @MengLinMaker 4 หลายเดือนก่อน

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

  • @sumitwadhwa8823
    @sumitwadhwa8823 ปีที่แล้ว

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

    • @WebDevCody
      @WebDevCody  ปีที่แล้ว

      Both might work well.

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

  • @satyak1337
    @satyak1337 ปีที่แล้ว

    Can you show the exception message from cloudwatch ?

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

  • @prerakhere
    @prerakhere ปีที่แล้ว

    Cool!

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

  • @paramaggarwal
    @paramaggarwal 7 หลายเดือนก่อน

    Why not just run on Digital Ocean?

  • @returnZeroo
    @returnZeroo ปีที่แล้ว

    I purcchased the course.

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

  • @iukeay
    @iukeay ปีที่แล้ว

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