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 Жыл бұрын
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 Жыл бұрын
@@focusotter any clue if it works with terraform? I’m not a big cloudformation fan and don’t like tools that use it
@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 Жыл бұрын
With this setup are you being billed for the bandwidth for your website at AWS amplify rates or just normal Cloudfront rates
@wangelite52793 ай бұрын
Can you do a comparison of google cloud run and vercel?
@ricko132 жыл бұрын
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 Жыл бұрын
they may create a bot/crawler to hit your application and generate money... the money making machine of the richest man on Earth...
@gavinlew8273 Жыл бұрын
Yeah, you'd need to attend a course just to "understand" the pricing plan.
@가짜를싫어함 Жыл бұрын
aws sucks
@fernandorodrigues6742 ай бұрын
I came from the future to say that this just happened to Cody kkkkkkkkk
@FelipeRodrigues-zh3gx2 жыл бұрын
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!
@mixyyy2 жыл бұрын
This would be super helpful!
@SonAyoD2 жыл бұрын
Yeah this a great idea, I’m very much interested in devops too
@WebDevCody2 жыл бұрын
I’ll try to make something like that if I have time
@anasazkoul48992 жыл бұрын
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.
@WebDevCody2 жыл бұрын
@@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.
@rustystrings09082 жыл бұрын
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.
@WebDevCody2 жыл бұрын
That’s cool, yeah there is a lot to learn, good luck on your project!
@PASTRAMIKick Жыл бұрын
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.
@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!
@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 Жыл бұрын
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)
@pwbandwidth2 жыл бұрын
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.
@WebDevCody2 жыл бұрын
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 Жыл бұрын
@@WebDevCody Coming from Cloudformation yaml, CDK is heavenly
@rainx0r Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
If I deployed to Vercel, what is the 100GB that I could pull ? Assets like images ???
@mprync Жыл бұрын
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 Жыл бұрын
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
@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
@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.
@Val-tf8nx2 жыл бұрын
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.
@keent2 жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
@@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.
@djosefandersson7605 Жыл бұрын
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 :-)
@EddyVinck Жыл бұрын
I've been learning AWS for similar reasons. Currently chipping away at a web scraping project!
@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
@thequickstartcreative9 сағат бұрын
I use Lambda, Amplify, and S3 buckets, and it is a beast to understand. Almost every new project brings a new learning curve. But it is worth learning if you are willing to be dragged across sharp rocks by a donkey.
@omomer35062 жыл бұрын
Lol the echo WTf thing is perhaps the single most relatable thing i have seen on any coding channel lol, 😅
@blainemickens79811 ай бұрын
hahaha my exact thoughts...lost in the sauce
@xellestar2 ай бұрын
I do all this stuff on aws to serve mostly static websites. One tip is not to use amplify and just go straight to cdk. Curious how a nextjs backend might work on something like a lambda rather than a persistant infrastructure like ec2.
@Kevin-fl4rn2 жыл бұрын
Amazon looks so complex. Would love to see a beginner walkthrough with deploying a full stack app
@WebDevCody2 жыл бұрын
it's pretty crazy
@taufiqdev2 жыл бұрын
Cloud engineer pays well
@basarat Жыл бұрын
Worth noting : Lots of companies (including some of my employers) use serverless. It might not be perfect. But its hella better than "without" 🌹
@cmbrlnd94 Жыл бұрын
@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.
@Polimathe2 жыл бұрын
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.
@WebDevCody2 жыл бұрын
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.
@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.
@SteveBoyer10 Жыл бұрын
Firebase is what you’re looking for. Free easy hosting of static files like this, with SSL automatically built in.
@bonusexitus22632 жыл бұрын
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 😅
@keent2 жыл бұрын
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.
@WebDevCody2 жыл бұрын
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.
@iFunkMasterJ2 жыл бұрын
We’re in the process of moving to AWS and LightSail from metal servers - cost saving is silly cheap moving to AWS
@WebDevCody2 жыл бұрын
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.
@ko-Daegu Жыл бұрын
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
@andre-le-bone-aparte Жыл бұрын
just found your channel. excellent content - another sub for you sir!
@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
@andre-le-bone-aparte Жыл бұрын
Would be cool to see a video on each of those AWS services!
@abdulrehmanbaber2104 Жыл бұрын
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 Жыл бұрын
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
@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 Жыл бұрын
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.
@dytra_io7 ай бұрын
is there any friendly course that you recommend for web developers to getting start with aws ?
@ALT-Retentive Жыл бұрын
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).
@Andres-it2du2 жыл бұрын
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
@WebDevCody2 жыл бұрын
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-it2du2 жыл бұрын
@@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!
@jaycee2546 ай бұрын
i know this is over a year old. but would using CHATGPT help in getting this set up in AWS?
@MAROUANETOUZANI Жыл бұрын
Did you think of using cloudflare pages / workers ?
@random2059 Жыл бұрын
🙏🙏🙏🙏🙏🙏🙏 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 Жыл бұрын
Because it uses serverless functions behind the scenes to run your code
@random2059 Жыл бұрын
@@WebDevCody please tell me what is serverless function, help me to build the concept please,🙏🙏🙏
@WebDevCody Жыл бұрын
@@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
@ludanjubara2 жыл бұрын
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 🙏👍
@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 Жыл бұрын
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
@RemotHuman2 жыл бұрын
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.
@WebDevCody2 жыл бұрын
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.
@greendsnow Жыл бұрын
How about DDOS attacks? Will AWS protect you like Vercel does?
@WebDevCody Жыл бұрын
I do believe their docs say they protect against some ddos attacks since they use cloudfront under the hood
@labeebull10 ай бұрын
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.
@Pyrospower2 жыл бұрын
Really interesting to see how you managed to deploy your project on Amazon!
@butwhothehellknows2 жыл бұрын
Good job babe! Love ya
@WebDevCody2 жыл бұрын
love you!
@shivanshubisht2 жыл бұрын
have you tried using terraform? it uses lambda for ssr, s3 for static and lambda for api routes. definitely worth a look
@WebDevCody2 жыл бұрын
We use terraform at work, I wanted to try out amplify for fun
@shivanshubisht2 жыл бұрын
@@WebDevCody is amplify worth going over terraform in terms of costs for small scale commercial projects?
@WebDevCody2 жыл бұрын
@@shivanshubishtterraform will just take some more type to understand, but I’d aim for terraform or cdk on a professional project
@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 Жыл бұрын
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.
@ngamsomset2 жыл бұрын
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.
@WebDevCody2 жыл бұрын
Yeah I want to tweak it up but I’ll commit and push maybe tonight or tomorrow
@ngamsomset2 жыл бұрын
@@WebDevCody that'd be awesome, thanks!!
@martinmetskula63842 жыл бұрын
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?
@WebDevCody2 жыл бұрын
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
@siya.abc1232 жыл бұрын
I'll be sticking with my VPS deployments using docker swarm thanks.
@WebDevCody2 жыл бұрын
Probably a better option to be honest
@nowayicommented13142 жыл бұрын
Well then you loose the whole „pay as you go“ thing as you pay for unused ram/cpu, etc on your vps
@ESArnau2 жыл бұрын
And how is the ci cd to re-deploy the website on every push to main for example?
@WebDevCody2 жыл бұрын
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
@ESArnau2 жыл бұрын
@@WebDevCody u r a beast
@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 Жыл бұрын
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.
@supercrunch33672 жыл бұрын
Can you please make a tutorial on how you setup docker with Node😭😭😭😭
@FranMcOd2 жыл бұрын
why use Next as frontend only? why not SPA or Astrojs?
@WebDevCody2 жыл бұрын
I plan to move it over to astro.
@mazwrld Жыл бұрын
is your shoulder just not straight or is it the way it is it?
@WebDevCody Жыл бұрын
My shoulders look normal off camera, I’m not sure if I’m leaning differently in the video?
@mango4199 Жыл бұрын
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.
@zizifn9142 Жыл бұрын
cloudfalre worker or pages?
@amerrashed62875 ай бұрын
You don't need all this configuration. I found the easiest, cost-effective way, is to use AWS EC2 with coolify. Coolify makes the whole process much like vercel .
@leetkhan Жыл бұрын
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.
@allisfehr Жыл бұрын
Make a tutorial for setting up T3 on AWS with setting up Lamda & Serverless Aurora 🤞🏻
@Mishk Жыл бұрын
The cost savings are totally negated by the maintenance and build costs. Just my opinion.
@offYears Жыл бұрын
anyone have good textbooks/channels/resources to walk though all the nitty-gritty of AWS talked about here?
@alii4334 Жыл бұрын
What about clouldfare
@xXEnigmaXx0012 жыл бұрын
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.
@WebDevCody2 жыл бұрын
Because aws is fun to waste hours playing with
@rakhisingh97972 жыл бұрын
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
@WebDevCody2 жыл бұрын
That’s too bare metal for me, but I respect that choice. I’d at least use docker inside the vms 😊
@geelemo Жыл бұрын
So how do i learn this skill
@WebDevCody Жыл бұрын
Tutorials and docs
@paulonteri Жыл бұрын
Why don't people just use firebase?
@heyl_yt Жыл бұрын
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
@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 Жыл бұрын
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
@2u841r7 ай бұрын
very helpful vidoe, thank you
@yousafwazir31672 жыл бұрын
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.
@WebDevCody2 жыл бұрын
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.
@1ALrX4 ай бұрын
This is why SST exists. Making cloud easy for app developers
@prerakhere2 жыл бұрын
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!
@WebDevCody2 жыл бұрын
Yeah I could try if I have time
@bjojosimpson Жыл бұрын
The whole charging for user from a hosting company simply doesn’t make any sense, and it encourages teams to have a single account.
@RobertoOrtis Жыл бұрын
Excellent! thanks.
@AbrahamLaria Жыл бұрын
What about putting your app on a docker container and deploy it to Fargate?
@WebDevCody Жыл бұрын
I like lambda
@dx10ocv Жыл бұрын
Plot Twist, Vercel is hosted on AWS
@WebDevCody Жыл бұрын
Yup
@dx10ocv Жыл бұрын
@@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.
@Hiperultimate2 жыл бұрын
This is kind of a scary video for me lol
@WebDevCody2 жыл бұрын
AWS scares me as well
@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 Жыл бұрын
I’m good. I’d rather avoid managing a vm. If that’s what you like doing that’s cool
@AndreFerreira-xt5nl Жыл бұрын
"Talk about the pros and the benefits"
@yarrichar Жыл бұрын
Nicely said
@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 Жыл бұрын
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 Жыл бұрын
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
@jsantos1220 Жыл бұрын
Dude, ill pay for a course on that, fr
@stxnw Жыл бұрын
i'd do it and i'll get to put AWS experience on my portfolio too. win-win
@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 Жыл бұрын
I don’t understand your statement. I never worked for vercel
@cedricvillani85022 жыл бұрын
Oh Nooooo 😱
@jora54832 жыл бұрын
I would rather go with vercel😂Literally amplify, cloudfront, x, y, z, .... don't make a sense...
@WebDevCody2 жыл бұрын
For sure, or netlify or fly.io or railway or amplify without doing the approach I’m doing.
@abdelhameedhamdy Жыл бұрын
I think Vercel hosting is AWS
@rtorcato Жыл бұрын
Digital ocean app platform is super easy.
@moinulislammoin Жыл бұрын
still node v18 not supported!
@qazyhn947 ай бұрын
@@moinulislammoindeploy a docker file and everything is supported 🙂
@greatauntmuriel2 жыл бұрын
good stuff
@maarten1012TTT Жыл бұрын
With AWS SAM this would have been waaay easier
@WebDevCody Жыл бұрын
I need to try it out
@dontdoit6986 Жыл бұрын
Vercel is built on top of AWS, so there is that. They’re a middleman that doesn’t arguably lessen complexity.
@al3030 Жыл бұрын
Lol 1tb bandwidth…dude you’re never gonna go over unless you’re building a Netflix clone
@vincentnthomas1 Жыл бұрын
No, use SST
@sasan6099 Жыл бұрын
you could have just used cloudflare
@louis-philippeturmel1479 Жыл бұрын
The AWS CDK is so much better for AWS IaC
@WebDevCody Жыл бұрын
Compared to terraform? I don’t think so
@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 Жыл бұрын
@@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 Жыл бұрын
@@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 Жыл бұрын
@@louis-philippeturmel1479 just letting you know my experience. Maybe I’ll try cdk again.
@devagr Жыл бұрын
"Why I'm moving my side project from Vercel to AWS, and why you shouldn't do it"
@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