So I actually just tried deploying from my laptop and it worked fine, so the whole github actions part of this video might not even be necessary (although I would recommend it for automation). The fact that we include the linux arm in the binaryTargets allows SST to bundle the necessary binaries for your lambda function, so disregard a lot of what I said about you can't deploy from your laptop. Hope you found this helpful, cheers.
Do you have any idea why Vercel deployments are so much faster than SST, I assume underneath Vercel still must use CloudFormation and or CDK as well? Would be good to ask Dax (SST creator) about that. Would also be great if you had an interview with him too.
Looking good babe! I forgot you shaved your beard and was like “who is this?!!” For a split second. Good job as always! And I love you! Also first! 👸🏿 For those that always wonder why I comment on all his videos… I am his wife, I love watching him do what he loves, I am in heartfailure and if my time on earth is short I want Cody to know and remember I always support his dreams and also if he ever gets remarried I want her to know I was cool like that 😂 Love ya babe!
I recently discovered your channel, and the video’s quality are just top notch!please make more videos about sst. This videos helps a a lot! Thank you Cody!
Just opened this video on holiday and it was so EASY to follow despite me not having my projects open. The step by step and your reasoning is helpful as always. As a someone who’s been slowly trying to understand next.js and deployments more, this gives me a much better picture that if I were to just read the docs. Thank you!
Is there a comparison of the AWS bill using SST over time compared to Vercel? I am sure SST is generating a lot of resources, each with their own usage costs
I'm confused, every time that I deployed a change to production environment with SST, will it setup a new infrastructure for me? Or it sets it up the first time and nextime takes the id of the resourse previously created and only aplies the code changes?
Hello, would love if you gave me small advice. I'm going to deploy Next app somewhere, and there will be a lot of requests to my API from external applications. It could probably be 1 request every couple of seconds. Where should I host better in terms of prices and deployment complexity? Thanks in advance!
This is a really good content, but I have one question though, the was user account used. What permissions should be appropriate for it cos I am creating a user account now with this fullAdministativeAccess but not giving it console access
Hi, First, your video is amazing. Thanks for what you are doing. I have a question. I noticed that SST stores the state of deployment inside the folder .sst. So do we need to commit this folder into git? If we don't need to, will SST create a whole new stack in the next deployment? Thank you in advance.
Hi cody, it worked like a charm, successfully deployed my next app following the video. Do u know how to increase the lambda execution timeout duration? Seems like its set to 10s by default?
after we do npx sst deploy and it deploys our app to CloudFront, if I want to shut the app down so that it doesn't incur any costs, what do I do for that?
Do you have the ci for gitlab. I try to convert from the github yaml to gitlab but it is always stuck at the aws credentials which happen at npx deploy. I try to config the env values but got no luck. In fact I can deploy locally. So I believe there is somekind of aws credentials different between github and gitlab and like the image they are using.
Hi Cody, thank you for sharing this. I deployed a next13 app with sst yesterday, and I was wondering if you could verify what I've been seeing. Basically all dynamic routes like those from product/[id]/page.tsx are not getting cached on cloud front, even though I've set a revalidation property on the fetch call. Have you noticed this too?
i notice you use nextjs 13.4.2 instead of the latest version (13.5.*). do you experience some bugs when using the latest one with sst? if so, do you find it ok to get stuck using that version instead of the latest one? this makes me think to switch back to just deploying stuff in a vps using docker.
yes, I'm just using sst to deploy the next application. You don't have to use dynamodb just because you are using sst. I mainly used supabase because I'm at my planetscale limit of databases; I'm just using supabase to get a free posgres database for this tutorial.
Man imagine spending the time it takes to figure out how to scrape people’s AWS keys, then use them to mine Bitcoin. For gods sake do something productive with those skills!
So I actually just tried deploying from my laptop and it worked fine, so the whole github actions part of this video might not even be necessary (although I would recommend it for automation). The fact that we include the linux arm in the binaryTargets allows SST to bundle the necessary binaries for your lambda function, so disregard a lot of what I said about you can't deploy from your laptop. Hope you found this helpful, cheers.
I’m really happy you went through the GitHub actions part tbh
Do you have any idea why Vercel deployments are so much faster than SST, I assume underneath Vercel still must use CloudFormation and or CDK as well? Would be good to ask Dax (SST creator) about that. Would also be great if you had an interview with him too.
Looking good babe! I forgot you shaved your beard and was like “who is this?!!” For a split second. Good job as always! And I love you! Also first! 👸🏿
For those that always wonder why I comment on all his videos… I am his wife, I love watching him do what he loves, I am in heartfailure and if my time on earth is short I want Cody to know and remember I always support his dreams and also if he ever gets remarried I want her to know I was cool like that 😂
Love ya babe!
sweeeeeet as heck!!
Lol woww thanks babe, I ain’t getting remarried you nub, no one can replace you. Love you so much!
praying for your good health 🙏🙏
What a lovely comment, this made my day, thank you :)!
@@WebDevCody im gonna cry here
I recently discovered your channel, and the video’s quality are just top notch!please make more videos about sst. This videos helps a a lot! Thank you Cody!
Just opened this video on holiday and it was so EASY to follow despite me not having my projects open. The step by step and your reasoning is helpful as always. As a someone who’s been slowly trying to understand next.js and deployments more, this gives me a much better picture that if I were to just read the docs. Thank you!
I recently just discovered SST. It's an amazing tool, but I don't see very many tutorials about it, so Thank You for this. :)
Really appreciate you covering this topic and paying attention to people's comments. Thank you so much for all the fantastic content you create.
Thank you so much for making these videos. You give me inspiration.
This was SOOOO helpful. Thank you! Set up my own SST-AWS-based Next app w/ github actions!
This is amazing, I would love more in depth videos on deployment and CI/CD with Nextjs
Thank you SOOOOO much for this, i will be testing this out tommorow 👍
Discovering your channel is my highlight for the month of September 🙌
Thank you!
Thank you too!!🙏
my first deploy in my life successfull thanks to you mate!
you always save my life dude! Special thanks
dude i f* love your content! keep going this is awesomeeeee 🔥
If my applications ever outgrow the free tier on vercel, I know what I'm using now, thank you!
hey webdev cody, i wanted to ask,do u have a aws amplify sst vs digital ocean services?
Is there a comparison of the AWS bill using SST over time compared to Vercel? I am sure SST is generating a lot of resources, each with their own usage costs
I already made a video a few days ago about how much my saas product costs monthly, it’s cents. It all depends on traffic as well.
@@WebDevCody Nice, I'll look for it!
The beard on was cool :)
Careful making those aws secrets available in the env for the entire run. I'd put them only under the deploy step.
is the concern that a package could scrape that info when doing an npm ci?
@@WebDevCody Yep. Especially with postinstall scripts
Agreed I'd just use those secrets inline so they cannot be used anywhere else 👍
I'm confused, every time that I deployed a change to production environment with SST, will it setup a new infrastructure for me? Or it sets it up the first time and nextime takes the id of the resourse previously created and only aplies the code changes?
It’ll create and update. So the first deploy takes a while to spin up all resources, and future deploys just updates anything you change
@@WebDevCody thanks 👍
Hello, would love if you gave me small advice. I'm going to deploy Next app somewhere, and there will be a lot of requests to my API from external applications. It could probably be 1 request every couple of seconds. Where should I host better in terms of prices and deployment complexity? Thanks in advance!
Great run through! How are pricing compared to the deploying to Vercel ?
This is a really good content, but I have one question though, the was user account used. What permissions should be appropriate for it cos I am creating a user account now with this fullAdministativeAccess but not giving it console access
I have one question, is safe allow SST to collect Anonymous Telemetry from my Nextjs app? Because I notice that I have an option to disable it.
yeah probably, just disable it anyway if you have concerns; it's probably just to help their team improve their tools
Hi,
First, your video is amazing. Thanks for what you are doing.
I have a question. I noticed that SST stores the state of deployment inside the folder .sst. So do we need to commit this folder into git?
If we don't need to, will SST create a whole new stack in the next deployment?
Thank you in advance.
I don't think we need to commit that
I have one question, the needed permissions the AWS user need to deploy sst is the same as than Serverless framework?
Usually admin access
thank you so much@@WebDevCody
Maybe I'm making to much questions I'm sorry haha, but I need to set up a load balancer to use it or the SST already set up it?
No sst uses cloudfront which acts as your router
Hi cody, it worked like a charm, successfully deployed my next app following the video. Do u know how to increase the lambda execution timeout duration? Seems like its set to 10s by default?
You can override the timeouts in the configurations
after we do npx sst deploy and it deploys our app to CloudFront, if I want to shut the app down so that it doesn't incur any costs, what do I do for that?
Sst destroy I think?
can you do a video on supabase auth + drizzle ? i think it makes an interesting combo
Dude, your channel is a goldmine.
Thanks!
Do you have the ci for gitlab. I try to convert from the github yaml to gitlab but it is always stuck at the aws credentials which happen at npx deploy. I try to config the env values but got no luck. In fact I can deploy locally. So I believe there is somekind of aws credentials different between github and gitlab and like the image they are using.
I've never used gitlab. it sounds like you need to add credentials into gitlab somehow?
Hi Cody, thank you for sharing this. I deployed a next13 app with sst yesterday, and I was wondering if you could verify what I've been seeing.
Basically all dynamic routes like those from product/[id]/page.tsx are not getting cached on cloud front, even though I've set a revalidation property on the fetch call. Have you noticed this too?
I’ll have to try with the app router, I’ve mainly been using the pages router
any update with the app router?
i notice you use nextjs 13.4.2 instead of the latest version (13.5.*). do you experience some bugs when using the latest one with sst? if so, do you find it ok to get stuck using that version instead of the latest one?
this makes me think to switch back to just deploying stuff in a vps using docker.
Idk I haven’t tried the latest version
thank you
Hey man, any chance to update the T3 Stack Tutorial on gumroad with a version of it deployed with SST (or a migration from amplify to sst)?
I could make a separate branch may e
Is it really sst if you’re using supabase?
yes, I'm just using sst to deploy the next application. You don't have to use dynamodb just because you are using sst. I mainly used supabase because I'm at my planetscale limit of databases; I'm just using supabase to get a free posgres database for this tutorial.
lets gooooooooooooooo
Your beard looks really nice and suits u really well, don't shave it.
My wife likes a clean face 😂 her opinions trumps everyone elses
Man imagine spending the time it takes to figure out how to scrape people’s AWS keys, then use them to mine Bitcoin. For gods sake do something productive with those skills!
where beard
wife likes clean face - I make clean face 🤣
@@WebDevCody Lmaooooooo
@@WebDevCodyRIP man. You looked really good with a beard
Cheapest? I deploy for free on GCP every day, New apps, projects, dbs, even ci/cd pipelines. The free tier covers it all.