Why I'm moving my side project from Vercel to AWS

  Рет қаралды 60,868

Web Dev Cody

Web Dev Cody

Жыл бұрын

TLDR: I like to waste time and use AWS for trying to save $20 🤣
💬 Discord / discord
🔔 Newsletter newsletter.webdevcody.com/
📁 GitHub github.com/webdevcody
📺 Twitch / webdevcody
🤖 Website webdevcody.com
🐦 Twitter / webdevcody

Пікірлер: 193
@WebDevCody
@WebDevCody Жыл бұрын
Just to clear things up, aws has an option to click through their amplify dashboard for deploying your next application and connecting it to auto deploy on pushes to your git repo. What I’m doing in this video is more complex and probably unnecessary for a small side project. I’m a fan of decoupling the code from the deployment, creating automated ci/cd pipelines, infrastructure as code, etc. if you just want to write code and have it deploy, amplify, netlify, railway, fly.io, etc are all good options.
@focusotter
@focusotter Жыл бұрын
Happy to chat on how the Amplify CLI can be used as the IaC tool of choice. If wanting to go even more separated, Amplify integrates really well with the CDK. I'd be happy to chat on that as well :)
@WebDevCody
@WebDevCody Жыл бұрын
@@focusotter any clue if it works with terraform? I’m not a big cloudformation fan and don’t like tools that use it
@focusotter
@focusotter Жыл бұрын
@@WebDevCody A common approach I've seen is for a team to create a separate backend (similar to how you did) in Terraform, and then in a separate repo use Amplify Hosting to automate CI/CD, and connecting domains to route53. To connect the two, Amplify also has web and mobile libraries that can be used on the frontend that take in backend values (API endpoints, cognito userpool Ids etc) so that the two can talk to one another :)
@iukeay
@iukeay Жыл бұрын
With this setup are you being billed for the bandwidth for your website at AWS amplify rates or just normal Cloudfront rates
@ricko13
@ricko13 Жыл бұрын
I've always avoided using AWS because I feel overwhelmed by the huge amount of configurations it has. And I'm scared I'll end up getting charged $5000 just for accidentally configuring something I shouldn't have
@neoflyboy
@neoflyboy 9 ай бұрын
they may create a bot/crawler to hit your application and generate money... the money making machine of the richest man on Earth...
@gavinlew8273
@gavinlew8273 6 ай бұрын
Yeah, you'd need to attend a course just to "understand" the pricing plan.
@user-yh3nj2nr6b
@user-yh3nj2nr6b 5 ай бұрын
aws sucks
@FelipeRodrigues-zh3gx
@FelipeRodrigues-zh3gx Жыл бұрын
Would love if you could make some kind of tutorial series going from: creating your next.js application (just a blanket application as example) to deploying on amazon like this. Anyway, thanks for the video!
@mixyyy
@mixyyy Жыл бұрын
This would be super helpful!
@SonAyoD
@SonAyoD Жыл бұрын
Yeah this a great idea, I’m very much interested in devops too
@WebDevCody
@WebDevCody Жыл бұрын
I’ll try to make something like that if I have time
@anasazkoul4899
@anasazkoul4899 Жыл бұрын
I definitely agree with guys here, I mean I was listening to you and myself as a beginner have always been wondering about deployment and whether big companies deploy the same way I do on Netlify or whatever and you just answered my questions but where to start ? I have no clue.
@WebDevCody
@WebDevCody Жыл бұрын
@@anasazkoul4899 I don’t think big companies usually would not use netlify or vercel other platform as a service. Usually they tons of existing systems and a custom company wide process they use things like aws or azure to deploy their services.
@PASTRAMIKick
@PASTRAMIKick 6 ай бұрын
my rule is that if I'm doing something for mostly learning and the harder alternative has benefits, I will always go for the harder stuff, I learn more and in this case save some cash, thanks for the insight.
@focusotter
@focusotter Жыл бұрын
Hey! Focus Otter here from the AWS AppSync team, formerly Amplify team 👋 Would love to hop on stream or just a general chat to show how Amplify can streamline this process. While it's possible to do it the way you showed in the video, it's not the recommended way and can be streamlined in a comparable way to Vercel (without the $20/month charge, and without Serverless framework).
@bernhardsmuts2265
@bernhardsmuts2265 Жыл бұрын
PLEASE Do more amplify courses and tutorials... I have been using AWS Amplify for the last year and a half, and it's getting a lot better but the docs are very "brief", and assume a lot of AWS knowledge (Thus making it hard for beginners to get going on) and there is very little on the new V2 Transformer for GraphQL. I really think there is a good market for Amplfy, it just needs more tut videos. I am still picking through Nadir Dabit's videos to try and get the relationships working on Appsync (Just my 2 cents)
@rustystrings0908
@rustystrings0908 Жыл бұрын
I am a software engineer at a large enterprise, I use AWS on a daily basis to power a mobile app that had 200,000 active users last month. I'm about to do nearly the same thing you're doing here with all these services to deploy a web app soon, which will have double if not triple the traffic. Learning AWS, becoming a solutions architect and actually using all the services has increased the possibilities for me to build anything there.
@WebDevCody
@WebDevCody Жыл бұрын
That’s cool, yeah there is a lot to learn, good luck on your project!
@pwbandwidth
@pwbandwidth Жыл бұрын
I always preach Terraform to people for this reason. Why click through an endless sea of GUIs (especially as a complete beginner), when you can just pull down somebody's template, fill in some variables, run terraform apply, and just have it set all this up for you? It's really great, and I'd recommend everybody learn some Infrastructure as Code tool, it will save you so much time especially as you build confidence with it.
@WebDevCody
@WebDevCody Жыл бұрын
Yeah, terraform is nice. I want to try CDK out or Pulumi. IaC is critical on any project with more than a handful of services, and even more important if your project needs multiple environments dev, stg, test, prod. We use terraform at work to deploy all of our application to AWS. If you're doing click ops, you'll regret it later when you accidentally change something and you forget what you changed.
@tech3425
@tech3425 Жыл бұрын
@@WebDevCody Coming from Cloudformation yaml, CDK is heavenly
@Drackomass
@Drackomass Жыл бұрын
I know it wasn't the focus of the video but the first few mins you spent breaking down the pricing for vercel was so good. I really enjoyed that and learnt something for my own stuff as well.
@DamirSecki
@DamirSecki Жыл бұрын
done this couple of times over the year and lost my mind how mind bogglingly complicated AWS deployment is... and then connect the emails, DKIMs, etc... oh my dear.... when I learned about vercel and tried it out.... I prefer paying $100 pm (even though I pay only $20 - for many project within the same user)... since my hour of time is worth much more... and my piece of mind... VERCEL ftw! So glad it exists and is soooooo easy to do anything... just works!
@cas818028
@cas818028 Жыл бұрын
Amplify also has first class support for Next and Next 13. You can go pretty far with just the amplify CLI. They also have a amplify studio which is a web GUI to manage all that for you. Looks similar to fire base
@mprync
@mprync 11 ай бұрын
My TLDR; Time is FAR more valuable than money. The TLDR in your description is pretty accurate for this video :D. If you value $20 more than days of work and configuration, then this approach will definitely suit you, and the maintenance of it amounting to many man hours + an extra few people to hire (DevOps) costing magnitudes more than $20 lol. Vercel's "per user" billing is related to users who can access your Vercel dashboard, and not developers actively coding on the nextjs app. It is per user because Vercel gives you analytics and metrics out the box, these things aren't free to serve a whole team of people, especially querying that data manually, which they allow. $20 is literally nothing to anyone in our profession. $20 for a nice, fast and responsive observability dashboard for all my apps? No problem from me. The actual problem is the bandwidth pricing, it's pretty high compared to AWS but lets be real, the magnitudes of convenience and time saved (i.e man hours) managing your infra, I think the cost is more than reasonable. If you did all this yourself on AWS, you will be paying more to hire people to maintain it all if you factor in everything detail of time / money with hiring etc. If you don't hire people to save money, you'll never get to market in time. Its all a balancing act.
@WebDevCody
@WebDevCody 11 ай бұрын
I agree to an extent. You can get an entire next app deployed to aws with very little effort. Vercel gives shitty logs, aws has cloudwatch which tracks production logs for as long as you want. The tricky part is if you app gains traction, you have to upgrade to enterprise vercel which I hear becomes thousands a month
@ludanjubara
@ludanjubara Жыл бұрын
Hey Cody, I would love to see you create videos about programming paradigms and maybe some more advanced aspects that come with them. Would greatly appreciate it 🙏👍
@bonusexitus2263
@bonusexitus2263 Жыл бұрын
I did a lot of this stuff for my final project in college and felt like it was a silly project because I really didn't comprehend all of the steps to set up on amazon but I actually followed what you were saying pretty well so maybe it wasn't too bad 😅
@Val-tf8nx
@Val-tf8nx Жыл бұрын
I ended up moving from Vercel to Railway because of this "non-commercial" thingy, and I'm happy so far. It gives you $5 credit each month, you pay if only it goes beyond that. Perfect for small business websites.
@keent
@keent Жыл бұрын
been using Railway and Vercel both! For developing phase i would still use Vercel to not eat up my Railway credits. I may use Railway instead of Vercel if i would push it on production.
@alexiskenalvarez3764
@alexiskenalvarez3764 Жыл бұрын
​@@keent hello, my fullstack app queries performance are slow and currently deployed in vercel. Will my fetch queries perform better if I move it to Railway?
@luizfcavalcanti
@luizfcavalcanti Жыл бұрын
​@@alexiskenalvarez3764Are you using Prisma? The high response time might be because of cold starts, look it up... Prisma uses a Rust binary as querie emgine and that makes colds starts take a lot of time.
@EddyVinck
@EddyVinck Жыл бұрын
I've been learning AWS for similar reasons. Currently chipping away at a web scraping project!
@cas818028
@cas818028 Жыл бұрын
We wanted to use Vercel at my previous company till they told us we are looking at 33k a year. We brought it in house into Azure. Saved a ton and now I also use aws for everything
@omomer3506
@omomer3506 Жыл бұрын
Lol the echo WTf thing is perhaps the single most relatable thing i have seen on any coding channel lol, 😅
@blainemickens798
@blainemickens798 3 ай бұрын
hahaha my exact thoughts...lost in the sauce
@andre-le-bone-aparte
@andre-le-bone-aparte Жыл бұрын
Would be cool to see a video on each of those AWS services!
@Pyrospower
@Pyrospower Жыл бұрын
Really interesting to see how you managed to deploy your project on Amazon!
@ngamsomset
@ngamsomset Жыл бұрын
nice video. Does the code that you showed in the video different from your Github repo? Do you plan to update it? cause I'd love to see it.
@WebDevCody
@WebDevCody Жыл бұрын
Yeah I want to tweak it up but I’ll commit and push maybe tonight or tomorrow
@ngamsomset
@ngamsomset Жыл бұрын
@@WebDevCody that'd be awesome, thanks!!
@marcoio8742
@marcoio8742 Жыл бұрын
Quick question: why not using Railway? I have seen you using it a couple of times. They charge per usage, they are not serverless nor edge but I mean you can always setup a CDN for that
@WebDevCody
@WebDevCody Жыл бұрын
Yeah that’s an option as well, I just decided to use aws since I’m also using s3 and ses and dynamo. Just keep it as centralized as possible
@cmbrlnd94
@cmbrlnd94 9 ай бұрын
@15:14 I've been seeing this a lot lately on Australian Web Dev jobs. The employer will want AWS experience, CI/CD pipelines etc. in some cases even marked as a requirement. Going to attempt to deploy my next project through AWS for these reasons, definitely intimidating but I think it will be worth it. Also, the cost savings are great, especially as most of my deployments are just simple applications for my portfolio, which most likely will get very few hits at all.
@dytra_io
@dytra_io 3 сағат бұрын
is there any friendly course that you recommend for web developers to getting start with aws ?
@Polimathe
@Polimathe Жыл бұрын
Did a bunch of stuff in serverless when it was the hotness, it was the best way to get infrastructure up in AWS for lambda since learning how to make cloud formation processes seems to be the alternative and sucks. I think for people starting a project it sounds like going to vercel route might be the best option until you need to fine tune the resource management or the deploy pipeline because imagine having to setup all the AWS stuff before you even know you want to continue the project lol.
@WebDevCody
@WebDevCody Жыл бұрын
for sure, it's a LOT of work doing things "correctly" in AWS. You'll need either CDK, CloudFormation, or Terraform to do IaC. Then you'll need an automated CI/CD pipeline to deploy those changes when you merge to main. For more smaller projects, you just need a merge main & deploy type of process, but for larger teams and larger projects, usually the complexity of the pipeline requires more control over deploying to your infrastructure from what I've seen.
@andre-le-bone-aparte
@andre-le-bone-aparte Жыл бұрын
just found your channel. excellent content - another sub for you sir!
@djosefandersson7605
@djosefandersson7605 11 ай бұрын
Thanks! Am I alone who using simple VDS + Nginx for this simple homepages.? - No worries about huge cost - Host multiple website to share the fix cost - No booting time for lambda function For sure, all this is not intended to be scaled, like simple homepages :-)
@abdulrehmanbaber2104
@abdulrehmanbaber2104 7 ай бұрын
best video ever. i was just thinking about learning next application to aws. one question, do you have ec2 instances running here. 2nd can you also gave me a quick guide of how to become dev ops engineer, what are the core requirements of that field. ?
@WebDevCody
@WebDevCody 7 ай бұрын
No ec2 instances from what I understand; this was using amplify. To become devops play around with IaC tools like terraform, cdk, learn as many aws services as you can, learn about ci pipelines, etc
@MAROUANETOUZANI
@MAROUANETOUZANI Жыл бұрын
Did you think of using cloudflare pages / workers ?
@martinmetskula6384
@martinmetskula6384 Жыл бұрын
I've deployed a nextjs application with just using amplify. What's the benefit of going your way and having the frontent end and api decoupled?
@WebDevCody
@WebDevCody Жыл бұрын
Decoupling is good if you have separate front end and backend teams or plan to write your backend services in other languages such as go. I’m just playing around with aws at this point, but you’d want to just use amplify to host your next app, I wouldn’t do what I’m doing unless you like extra complexity
@RainAnnen
@RainAnnen Жыл бұрын
1:35 when vercel says $20/user/month, that's per user that has access to the vercel dashboard and is allowed to do stuff on it, not user of your app. usage limits etc are completely independent and are found by scrolling on that page, the free tier has 100GB of bandwidth, vs the Pro tier that has 1TB of bandwidth included. if you're not pulling 100gb you only need to go pro as you said if you're hosting a commercial app (and care about breaking their TOS) 2:35 if you're using more than 1TB of bandwidth you get charged $40 per extra 100gb, which is also on the usage limits section of that page if you scroll down, no need to contact sales. it does seem a little pricey though say if you're pulling 1.5TB it's $220. a cost comparison with AWS would be nice, though since vercel is using AWS under the hood (their cloud prodict is just a fancy devops company on top of it really) I can't imagine it'd be too different, but maybe it is? again that'd be something that'd've been nice in a "vercel vs aws" video
@WebDevCody
@WebDevCody Жыл бұрын
Good points, yeah I’ve just been hosting my stuff on amplify. Obviously a worst dev experience, but I think my apps been running for 2 weeks and I owe like .001 due to build minutes or something
@slahomar1497
@slahomar1497 Жыл бұрын
If I deployed to Vercel, what is the 100GB that I could pull ? Assets like images ???
@basarat
@basarat 11 ай бұрын
Worth noting : Lots of companies (including some of my employers) use serverless. It might not be perfect. But its hella better than "without" 🌹
@RemotHuman
@RemotHuman Жыл бұрын
Cloudflare pages is free for commercial use for static sites (anything without backend code) and there's basically no point of scaling where it costs you money it seems. and it also supports next in edge mode but I'm guessing you have to use their serverless function things which do cost money eventually but probably competitive idk. And it's pretty easy to setup though I've never used it for next myself because I'm still earlier on in learning web dev.
@WebDevCody
@WebDevCody Жыл бұрын
yeah, there are a bunch of awesome services out there. I'd consider myself an aws engineer at this point, so I'm ok putting in the extra elbow grease to deploy to AWS at this point. If AWS becomes too annoying.
@brokenmold
@brokenmold Жыл бұрын
That is “suggested” usage, also look at the deeper price breakdown page for incremental usage… Enterprise is just that, Enterprise. Sidenote: Vercel is a really nice UI running ontop of AWS Lambda (set to edge). The only lock-in is learning to work with AWS in the first place. Also AWS adds up fast than you would think by looking at the pricesheet(s).
@tech3425
@tech3425 Жыл бұрын
Dude ngl, I've spent the last few weeks trying to figure this exact stuff out, for hosting my first express backend. Just like you said, all of these services are so linked. Like if you want to get into lambda, that leads you into api gateway and iam. And then if you want to host this reliably you get into serverless and then cloudformation cause of the reduced abstractions, and then AWS CDK. I really have to say, as a beginner, this is real intimidating and took me weeks to figure out. But on the other hand, with hindsight, it feels like my trial by fire
@WebDevCody
@WebDevCody Жыл бұрын
I mean, you can use AWS amplify and it'll abstract that all away from you, but learning how to do all of this in a cloud provider is good experience. Larger companies tend to choose AWS or Azure for hosting their applications to help centralize all their resources. If all you plan to do is host a next app and need a database, you could just use Railway and call it a day.
@RobertoOrtis
@RobertoOrtis Жыл бұрын
Excellent! thanks.
@SteveBoyer10
@SteveBoyer10 Жыл бұрын
Firebase is what you’re looking for. Free easy hosting of static files like this, with SSL automatically built in.
@Kevin-fl4rn
@Kevin-fl4rn Жыл бұрын
Amazon looks so complex. Would love to see a beginner walkthrough with deploying a full stack app
@WebDevCody
@WebDevCody Жыл бұрын
it's pretty crazy
@taufiqdev
@taufiqdev Жыл бұрын
Cloud engineer pays well
@sealone777
@sealone777 Жыл бұрын
Yeah, charging per user is a bit of stretch. At the end, they should only charge on what’s being used. Perhaps Vercel needs a bit more competition
@iFunkMasterJ
@iFunkMasterJ Жыл бұрын
We’re in the process of moving to AWS and LightSail from metal servers - cost saving is silly cheap moving to AWS
@WebDevCody
@WebDevCody Жыл бұрын
Oh nice I would have thought bare metal servers would be cheaper in the long run but maybe I’m wrong. I guess it all depends on the amount of traffic you have and computation needs.
@keent
@keent Жыл бұрын
Railway is the Vercel for full stack hosting, you can spin up a "project" like databases, node apps, frontend on there. They have "per usage" pricing and no "non-commercial" rule. And they gave you 5$ free credit per month.
@WebDevCody
@WebDevCody Жыл бұрын
yeah I've used them on a couple of side projects. I like railway a lot. I just decided to go the hard core route for this project. I'm using DynamoDB and SES anyway which are AWS services, so might as well get everything deployed to AWS imo.
@zizifn9142
@zizifn9142 Жыл бұрын
cloudfalre worker or pages?
@crftr-com
@crftr-com Жыл бұрын
A level explanation of how much $20/mo can save a solo dev. That said, I also prefer being close to the infra. My current go-to IaC framework is Pulumi. I can define all these little finishing details in JS and keep them in git along with the app code. It works for me.
@yondensawyers2778
@yondensawyers2778 Жыл бұрын
I don't know a ton about AWS since I haven't dealt with hosting that much but why wouldn't something like EC2, S3, DynamoDB work with this web app? Is it not a good approach or something?
@WebDevCody
@WebDevCody Жыл бұрын
I’m using dynamo to track registered users. I avoid ec2 because it’s too low level to manage and maintain. Using serverless provides tons of benefits and reduces the overhead for me.
@ESArnau
@ESArnau Жыл бұрын
And how is the ci cd to re-deploy the website on every push to main for example?
@WebDevCody
@WebDevCody Жыл бұрын
you'd have to build that yourself using github actions 🤣 . Amplify will auto-deploy your stuff on merge to main if needed, but the way I set everything up is all manual because I plan to setup the ci/cd pipeline. I like doing tedious work I guess
@ESArnau
@ESArnau Жыл бұрын
@@WebDevCody u r a beast
@supercrunch3367
@supercrunch3367 Жыл бұрын
Can you please make a tutorial on how you setup docker with Node😭😭😭😭
@hicoop
@hicoop Жыл бұрын
Hey man. Nice video! Here is my two cents: I'd rather spend time working on frontend and backend than hosting. As someone with little time, not needing to worry about CI or Docker or SSL is worth the code quality or performance you give up by using a metaframework like sveltekit and a hosting site like railway. As long as you aren't facebook, most problems like realtime or database can be fixed by using a low-cost tier api or resource from an external company. AWS may be the gold standard for large scale companies but my side project doesn't need to worry about kubernetes. Additionally, having access to less resources forces you to write more efficient code. For the time being, I'm fine without AWS
@WebDevCody
@WebDevCody Жыл бұрын
That’s fine and those are good arguments. On a smaller team or project, you don’t want to use aws. But even with vercel, they don’t provide production logs, so you’ll end up needing another third party service to handle logs. They don’t handle file uploads, so you’ll end up using another third party service for file upload. AWS has all of those necessities from a single account which is why I’m in favor for it. Amplify gives you logs by default via cloudwatch.
@SeibertSwirl
@SeibertSwirl Жыл бұрын
Good job babe! Love ya
@WebDevCody
@WebDevCody Жыл бұрын
love you!
@maniazadi
@maniazadi Жыл бұрын
Can you please do a tutorial on details of how you actually deployed the project on AWS?
@WebDevCody
@WebDevCody Жыл бұрын
yeah, I can do a full project walk through when it's in a better state
@zivtamary
@zivtamary Жыл бұрын
@@WebDevCody Please do!
@mazwrld
@mazwrld Жыл бұрын
is your shoulder just not straight or is it the way it is it?
@WebDevCody
@WebDevCody Жыл бұрын
My shoulders look normal off camera, I’m not sure if I’m leaning differently in the video?
@allisfehr
@allisfehr Жыл бұрын
Make a tutorial for setting up T3 on AWS with setting up Lamda & Serverless Aurora 🤞🏻
@shivanshubisht
@shivanshubisht Жыл бұрын
have you tried using terraform? it uses lambda for ssr, s3 for static and lambda for api routes. definitely worth a look
@WebDevCody
@WebDevCody Жыл бұрын
We use terraform at work, I wanted to try out amplify for fun
@shivanshubisht
@shivanshubisht Жыл бұрын
@@WebDevCody is amplify worth going over terraform in terms of costs for small scale commercial projects?
@WebDevCody
@WebDevCody Жыл бұрын
@@shivanshubishtterraform will just take some more type to understand, but I’d aim for terraform or cdk on a professional project
@greendsnow
@greendsnow Жыл бұрын
How about DDOS attacks? Will AWS protect you like Vercel does?
@WebDevCody
@WebDevCody Жыл бұрын
I do believe their docs say they protect against some ddos attacks since they use cloudfront under the hood
@yarrichar
@yarrichar Жыл бұрын
Nicely said
@gamalf123
@gamalf123 8 ай бұрын
anyone have good textbooks/channels/resources to walk though all the nitty-gritty of AWS talked about here?
@FranMcOd
@FranMcOd Жыл бұрын
why use Next as frontend only? why not SPA or Astrojs?
@WebDevCody
@WebDevCody Жыл бұрын
I plan to move it over to astro.
@buddy.abc123
@buddy.abc123 Жыл бұрын
I'll be sticking with my VPS deployments using docker swarm thanks.
@WebDevCody
@WebDevCody Жыл бұрын
Probably a better option to be honest
@nowayicommented1314
@nowayicommented1314 Жыл бұрын
Well then you loose the whole „pay as you go“ thing as you pay for unused ram/cpu, etc on your vps
@loganlandonline
@loganlandonline 2 ай бұрын
AWS bandwidth is an insane cost (at scale). If you are able to able to Dockerize it there are better options. Vultr or DO have fixed bandwidth costs for an extra bit of work.
@AbrahamLaria
@AbrahamLaria Жыл бұрын
What about putting your app on a docker container and deploy it to Fargate?
@WebDevCody
@WebDevCody Жыл бұрын
I like lambda
@Andres-it2du
@Andres-it2du Жыл бұрын
I understood "personal or non-comercial" as literally that - either any personal (commercial or not) or non-commercial (personal or team i.e non-profit). Edit: I've looked at it and it's strictly non-comercial, they have a Fair Use page where you can learn more, but tldr is anything that generates you income exluding asking for donations is not allowed on the Hobby plan
@WebDevCody
@WebDevCody Жыл бұрын
so a landing page for my business that has a form that clients can submit to contact me, does that generate me income? probably you could argue yes right? or if their app helps me build a newsletter which I end up selling courses on, probably right? that's my main concerns.
@Andres-it2du
@Andres-it2du Жыл бұрын
@@WebDevCody yeah that sounds like something they would consider generating you income. Personally I would just pay the 20 bucks cause I'm not a devops by any means and it's not really that much money if it's for a business. As for the bandwidth thing the 20 bucks plan and the enterpise plan are pay-as-you-go model, it's 40 bucks per 100GB after the limit is reached. Kinda expensive, but also a tb a month is a buttload of data and if you are shipping that it's probably worth it to invest in learning AWS, but most usages are gonna be way below that. Nice video btw, thanks!
@greatauntmuriel
@greatauntmuriel Жыл бұрын
good stuff
@random2059
@random2059 10 ай бұрын
🙏🙏🙏🙏🙏🙏🙏 Why vercel is a server less hosting platform just because we don't have to worry about the hehind the screen what going on server ,,,,is that the reason please reply 🙏🙏🙏🙏
@WebDevCody
@WebDevCody 10 ай бұрын
Because it uses serverless functions behind the scenes to run your code
@random2059
@random2059 10 ай бұрын
@@WebDevCody please tell me what is serverless function, help me to build the concept please,🙏🙏🙏
@WebDevCody
@WebDevCody 10 ай бұрын
@@random2059 it's the concept of running your code on a platform that will give you some compute time without you needing a dedicated machine or vm. only charged for the time used to run the snippet of code
@cedricvillani8502
@cedricvillani8502 Жыл бұрын
Oh Nooooo 😱
@ko-Daegu
@ko-Daegu 10 ай бұрын
2:53 if you scrolled down you will see them telling you: Then $40 per extra 100 GB for bandwidth once you pass the 1T
@geelemo
@geelemo 5 ай бұрын
So how do i learn this skill
@WebDevCody
@WebDevCody 5 ай бұрын
Tutorials and docs
@alii4334
@alii4334 Жыл бұрын
What about clouldfare
@heyl9580
@heyl9580 Жыл бұрын
If only you wuld go into details of Vercel pricing you would know how things go after breaking limit with 1TB bandwidth or how `per user` works
@AndreFerreira-xt5nl
@AndreFerreira-xt5nl Жыл бұрын
"Talk about the pros and the benefits"
@mango4199
@mango4199 8 ай бұрын
Not everyone wants to be a cloud or DevOps engineer. They just want to code, so I get the attraction that Vercel gives. I however, want to learn DevOps and serverless stuff so learning all these steps (no matter how complicated) doesn’t really faze me.
@xXEnigmaXx001
@xXEnigmaXx001 Жыл бұрын
So why not use Netlify? You can use the free option and still have a commercial application. AWS is good for bigger companies because of its scaling options. Digital Ocean and other smaller VPS options are good for start ups. I honestly still don't understand why exactly AWS out of all the other alternative options out there which are cheaper.
@WebDevCody
@WebDevCody Жыл бұрын
Because aws is fun to waste hours playing with
@Hiperultimate
@Hiperultimate Жыл бұрын
This is kind of a scary video for me lol
@WebDevCody
@WebDevCody Жыл бұрын
AWS scares me as well
@leetkhan
@leetkhan 6 ай бұрын
I’m not sure what’s your point? If you wanted to save money or transparent pricing then there’re plenty providers. Digital ocean, Linode etc etc.
@stxnw
@stxnw Жыл бұрын
i'd do it and i'll get to put AWS experience on my portfolio too. win-win
@paulonteri
@paulonteri 7 ай бұрын
Why don't people just use firebase?
@rakhisingh9797
@rakhisingh9797 Жыл бұрын
Personally I don't like these vercel types of things they charge to much, i like to use ec2 with load balancer,put domain name and SSL on load balancer and make ec2 instance according to yourselves
@WebDevCody
@WebDevCody Жыл бұрын
That’s too bare metal for me, but I respect that choice. I’d at least use docker inside the vms 😊
@jsantos1220
@jsantos1220 10 ай бұрын
Dude, ill pay for a course on that, fr
@davidb.6271
@davidb.6271 11 ай бұрын
Plot Twist, Vercel is hosted on AWS
@WebDevCody
@WebDevCody 11 ай бұрын
Yup
@davidb.6271
@davidb.6271 11 ай бұрын
@@WebDevCody I also migrated my web client infrastructure to AWS (nextJS static app), because it was too heavy for Cloudflare Pages and Netlify/Vercel weren't successful most of the time during deployments. Pushing static files to S3, exposing via a Cloudfront distribution gave me the best response time, for lowest cost in the end.
@prerakhere
@prerakhere Жыл бұрын
Can you please make a video / video series of how to deploy to aws covering services like serverless, amplify, fargate, eks, etc. That would be a great series. It's hard to find how to do all that in a systematic manner on the internet. If you are not willing to make content around it, please tell the resources from where you learnt to deploy to these services. Thanks!
@WebDevCody
@WebDevCody Жыл бұрын
Yeah I could try if I have time
@Mishk
@Mishk Жыл бұрын
The cost savings are totally negated by the maintenance and build costs. Just my opinion.
@none_the_less
@none_the_less Жыл бұрын
The whole charging for user from a hosting company simply doesn’t make any sense, and it encourages teams to have a single account.
@abdelhameedhamdy
@abdelhameedhamdy Жыл бұрын
I think Vercel hosting is AWS
@rtorcato
@rtorcato Жыл бұрын
Digital ocean app platform is super easy.
@moinulislammoin
@moinulislammoin Жыл бұрын
still node v18 not supported!
@qazyhn94
@qazyhn94 7 күн бұрын
​@@moinulislammoindeploy a docker file and everything is supported 🙂
@maarten1012TTT
@maarten1012TTT Жыл бұрын
With AWS SAM this would have been waaay easier
@WebDevCody
@WebDevCody Жыл бұрын
I need to try it out
@yousafwazir3167
@yousafwazir3167 Жыл бұрын
The subscription critique isn’t as important as you make it out in the video, every business that offers products of that sort do that.
@WebDevCody
@WebDevCody Жыл бұрын
Sure, but other business offer pay for use. I like the pay for what you use model personally. But like I said, 20 a month isn’t bad if you’re running a legit business with paying users.
@vinnycrypto
@vinnycrypto Жыл бұрын
Well... I guess you convinced me to use Vercel instead of AWS. If larger corporations need a dedicated person(s) to manage AWS, that's like a 100k+/year per hire. Why not avoid the hire and redirect the expense to Vercel and keep the dev teams moving quicker? It seems like your video builds the case to go with Vercel and not AWS.
@WebDevCody
@WebDevCody Жыл бұрын
Yeah I could see that. Using aws isn’t always easy and requires a lot of cloud infra knowledge. If you’re on a small team, using a platform as a service will help you move faster up front for sure
@chaoky
@chaoky Жыл бұрын
You didn't had to set all of this up, for simple projects, just creating a vps (ec2) adding a reverse proxy (like caddy) and a simple github action for auto deploy, should be enough. If you want to use lambdas, that's an extra thing to configure, but there's no real reason to use lambdas in your case
@WebDevCody
@WebDevCody Жыл бұрын
I’m good. I’d rather avoid managing a vm. If that’s what you like doing that’s cool
@samho321
@samho321 Жыл бұрын
When you only have one website, then your can managed all the stuff by yourself. How about 10 site? 20 site? I would like to spend $20 to centralize all the stuff.
@WebDevCody
@WebDevCody Жыл бұрын
for sure, but I've never worked at a company that has more than 1 site. Maybe for an agency it would be useful, but then you have to pay per user who is on your team which means it's not just $20/month. If you're a freelancer and need to manage 20 sites for your clients, then sure that makes sense.
@samho321
@samho321 Жыл бұрын
I’m freelancer and also as staff at many companies before, so far all those companies have more than one website, they always want to create a lager system to manage many websites, they always focus on how to make thing simple and security and reliability. I just want to point out that spend money to simplify things is more greater than hire someone who need to know all the stuff for AWS. You should think which is more low time cost and efficient in your case, spending money or spend many time. As you are KZbinr, you should more thinking for each situation for your audience, provide fair and objective analysis instead of subjective
@jora5483
@jora5483 Жыл бұрын
I would rather go with vercel😂Literally amplify, cloudfront, x, y, z, .... don't make a sense...
@WebDevCody
@WebDevCody Жыл бұрын
For sure, or netlify or fly.io or railway or amplify without doing the approach I’m doing.
@arpecop
@arpecop Жыл бұрын
I highly doubt you work for vercel for a while, amplify and next js is basically few clicks process, and next is full stack as we all know
@WebDevCody
@WebDevCody Жыл бұрын
I don’t understand your statement. I never worked for vercel
@33v4.
@33v4. Жыл бұрын
try Oracle!
@al3030
@al3030 8 ай бұрын
Lol 1tb bandwidth…dude you’re never gonna go over unless you’re building a Netflix clone
@dontdoit6986
@dontdoit6986 Жыл бұрын
Vercel is built on top of AWS, so there is that. They’re a middleman that doesn’t arguably lessen complexity.
@vincentnthomas1
@vincentnthomas1 6 ай бұрын
No, use SST
@devagr
@devagr Жыл бұрын
"Why I'm moving my side project from Vercel to AWS, and why you shouldn't do it"
@WebDevCody
@WebDevCody Жыл бұрын
There is a joy in spending all day configuring terraform to deploy infrastructure to aws. Vercel kills that joy by making it all too easy
@louis-philippeturmel1479
@louis-philippeturmel1479 Жыл бұрын
The AWS CDK is so much better for AWS IaC
@WebDevCody
@WebDevCody Жыл бұрын
Compared to terraform? I don’t think so
@louis-philippeturmel1479
@louis-philippeturmel1479 Жыл бұрын
@@WebDevCody Yes, by a big mile. The only argument for Terraform is multi cloud support. Using the native platform will always be more flexible and provide more type safety. All the cdk modules are derived and auto generated based on the AWS service smithy models in Go, Typescript, etc. It is the best abstraction for IAC because you also benefit from fully featured ecosystems of each of the supported languages not a templating language. This allows you to build shared packages and librairies for standards and abstractions. For projects like you showed in your video, you could utilize Typescript modules across the board, inside your application and inside the CDK typescript files. There is simply no better options.
@WebDevCody
@WebDevCody Жыл бұрын
@@louis-philippeturmel1479 cdk uses cloudformation under the hood, and I personally would never want to use anything that uses cloudformation after using it in the past. We’ve constantly found ourself needing to remove stacks and waiting for stacks to roll back. It’s an awful experience.
@louis-philippeturmel1479
@louis-philippeturmel1479 Жыл бұрын
@@WebDevCody weird, been working with it for 6 years + within multiple companies and we never had this issue. We’ve had way more inconsistencies with Terraform :)
@WebDevCody
@WebDevCody Жыл бұрын
@@louis-philippeturmel1479 just letting you know my experience. Maybe I’ll try cdk again.
@sasan6099
@sasan6099 Жыл бұрын
you could have just used cloudflare
@mohammedhammed3892
@mohammedhammed3892 Жыл бұрын
Can you be my mentor please
@dhairyadesai5609
@dhairyadesai5609 Жыл бұрын
Use CDK
@WebDevCody
@WebDevCody Жыл бұрын
I personally like terraform much better. Cdk uses cloudformation, and cloudformation sucks from prior experience
@Sarwaan001
@Sarwaan001 Жыл бұрын
AWS CDK >>>>>
@WebDevCody
@WebDevCody Жыл бұрын
Terraform much better
@sjultra7681
@sjultra7681 Жыл бұрын
The newsletter returns 502 btw @WebDevCody
@WebDevCody
@WebDevCody Жыл бұрын
Thank you! Just fixed it, I had a bad env variable, I should have stuck with vercel 😂
I think I was wrong about AWS Amplify
30:39
Web Dev Cody
Рет қаралды 55 М.
Why I'd never host my apps on a VPS
13:43
Web Dev Cody
Рет қаралды 28 М.
Can you beat this impossible game?
00:13
LOL
Рет қаралды 62 МЛН
WHY IS A CAR MORE EXPENSIVE THAN A GIRL?
00:37
Levsob
Рет қаралды 18 МЛН
Как быстро замутить ЭлектроСамокат
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 12 МЛН
Indian sharing by Secret Vlog #shorts
00:13
Secret Vlog
Рет қаралды 62 МЛН
I'm now VPS red pilled (and protecting with CloudFlare)
8:12
Web Dev Cody
Рет қаралды 31 М.
Vercel STORAGE??! SQL, KV, Files and more
7:10
Theo - t3․gg
Рет қаралды 43 М.
Why I often use AWS lambda and serverless architecture
10:09
Web Dev Cody
Рет қаралды 12 М.
Is SST even a good choice to deploy Next.js?
15:57
Web Dev Cody
Рет қаралды 14 М.
The Big Headless CMS Lie (James Mikrut)
18:14
Vercel
Рет қаралды 43 М.
This tool makes self hosting simple
5:59
Web Dev Cody
Рет қаралды 60 М.
AWS vs Vercel - What should you choose for your startup?
10:39
Mehul - Codedamn
Рет қаралды 27 М.
Reverse Proxy vs API Gateway vs Load Balancer
3:06
ByteByteGo
Рет қаралды 98 М.
How much it costs me to run my SaaS's in 2024
14:29
Anthony Sistilli
Рет қаралды 69 М.
Can you beat this impossible game?
00:13
LOL
Рет қаралды 62 МЛН