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

Поділитися
Вставка
  • Опубліковано 1 лют 2023
  • 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

КОМЕНТАРІ • 194

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

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

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

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

      With this setup are you being billed for the bandwidth for your website at AWS amplify rates or just normal Cloudfront rates

  • @ricko13
    @ricko13 Рік тому +169

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

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

      Yeah, you'd need to attend a course just to "understand" the pricing plan.

    • @user-yh3nj2nr6b
      @user-yh3nj2nr6b 6 місяців тому +6

      aws sucks

  • @FelipeRodrigues-zh3gx
    @FelipeRodrigues-zh3gx Рік тому +107

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

      This would be super helpful!

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

      Yeah this a great idea, I’m very much interested in devops too

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

      I’ll try to make something like that if I have time

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

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

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

  • @focusotter
    @focusotter Рік тому +48

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

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

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

      That’s cool, yeah there is a lot to learn, good luck on your project!

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

    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.

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

    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.

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

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

      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

  • @pwbandwidth
    @pwbandwidth Рік тому +11

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

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

      @@WebDevCody Coming from Cloudformation yaml, CDK is heavenly

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

    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!

  • @andre-le-bone-aparte
    @andre-le-bone-aparte Рік тому +1

    just found your channel. excellent content - another sub for you sir!

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

    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 🙏👍

  • @Val-tf8nx
    @Val-tf8nx Рік тому +22

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

      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.

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

    Really interesting to see how you managed to deploy your project on Amazon!

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

    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

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

    I've been learning AWS for similar reasons. Currently chipping away at a web scraping project!

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

    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 😅

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

    Lol the echo WTf thing is perhaps the single most relatable thing i have seen on any coding channel lol, 😅

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

      hahaha my exact thoughts...lost in the sauce

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

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

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

    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

  • @andre-le-bone-aparte
    @andre-le-bone-aparte Рік тому

    Would be cool to see a video on each of those AWS services!

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

    Worth noting : Lots of companies (including some of my employers) use serverless. It might not be perfect. But its hella better than "without" 🌹

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

    Good job babe! Love ya

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

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

  • @abdulrehmanbaber2104
    @abdulrehmanbaber2104 8 місяців тому

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

      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

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

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

      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.

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

    Firebase is what you’re looking for. Free easy hosting of static files like this, with SSL automatically built in.

  • @crftr-com
    @crftr-com Рік тому +4

    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.

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

    Excellent! thanks.

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

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

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

      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.

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

  • @Kevin-fl4rn
    @Kevin-fl4rn Рік тому +2

    Amazon looks so complex. Would love to see a beginner walkthrough with deploying a full stack app

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

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

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

    Nicely said

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

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

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

  • @loganlandonline
    @loganlandonline 3 місяці тому

    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.

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

  • @dytra_io
    @dytra_io 20 днів тому

    is there any friendly course that you recommend for web developers to getting start with aws ?

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

    good stuff

  • @2u841r
    @2u841r 13 годин тому

    very helpful vidoe, thank you

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

    Did you think of using cloudflare pages / workers ?

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

    Make a tutorial for setting up T3 on AWS with setting up Lamda & Serverless Aurora 🤞🏻

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

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

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

      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

  • @buddy.abc123
    @buddy.abc123 Рік тому +1

    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

  • @Andres-it2du
    @Andres-it2du Рік тому +1

    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!

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

    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.

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

    Can you please make a tutorial on how you setup docker with Node😭😭😭😭

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

    Can you please do a tutorial on details of how you actually deployed the project on AWS?

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

      yeah, I can do a full project walk through when it's in a better state

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

      @@WebDevCody Please do!

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

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

      @@shivanshubishtterraform will just take some more type to understand, but I’d aim for terraform or cdk on a professional project

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

    Oh Nooooo 😱

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

    And how is the ci cd to re-deploy the website on every push to main for example?

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

      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

  • @mango4199
    @mango4199 9 місяців тому

    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.

  • @ko-Daegu
    @ko-Daegu 11 місяців тому

    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

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

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

    cloudfalre worker or pages?

  • @gamalf123
    @gamalf123 9 місяців тому

    anyone have good textbooks/channels/resources to walk though all the nitty-gritty of AWS talked about here?

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

    What about putting your app on a docker container and deploy it to Fargate?

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

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

    This is kind of a scary video for me lol

  • @davidb.6271
    @davidb.6271 11 місяців тому

    Plot Twist, Vercel is hosted on AWS

    • @WebDevCody
      @WebDevCody  11 місяців тому +1

      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.

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

    Dude, ill pay for a course on that, fr

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

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

    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.

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

    why use Next as frontend only? why not SPA or Astrojs?

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

      I plan to move it over to astro.

  • @AndreFerreira-xt5nl
    @AndreFerreira-xt5nl Рік тому

    "Talk about the pros and the benefits"

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

    i'd do it and i'll get to put AWS experience on my portfolio too. win-win

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

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

    The cost savings are totally negated by the maintenance and build costs. Just my opinion.

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

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

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

      Because aws is fun to waste hours playing with

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

    🙏🙏🙏🙏🙏🙏🙏
    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  11 місяців тому

      Because it uses serverless functions behind the scenes to run your code

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

      @@WebDevCody please tell me what is serverless function, help me to build the concept please,🙏🙏🙏

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

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

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

    What about clouldfare

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

    So how do i learn this skill

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

    Why don't people just use firebase?

  • @33v4.
    @33v4. Рік тому

    try Oracle!

  • @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 27 днів тому

      ​@@moinulislammoindeploy a docker file and everything is supported 🙂

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

    No, use SST

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

    With AWS SAM this would have been waaay easier

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

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

  • @al3030
    @al3030 9 місяців тому

    Lol 1tb bandwidth…dude you’re never gonna go over unless you’re building a Netflix clone

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

    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

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

    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.

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

  • @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 UA-camr, you should more thinking for each situation for your audience, provide fair and objective analysis instead of subjective

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

    Vercel is built on top of AWS, so there is that. They’re a middleman that doesn’t arguably lessen complexity.

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

      I’m good. I’d rather avoid managing a vm. If that’s what you like doing that’s cool

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

      I don’t understand your statement. I never worked for vercel

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

    you could have just used cloudflare

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

    Use CDK

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

      I personally like terraform much better. Cdk uses cloudformation, and cloudformation sucks from prior experience

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

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

    Can you be my mentor please

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

    AWS CDK >>>>>

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

    The newsletter returns 502 btw @WebDevCody

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

      Thank you! Just fixed it, I had a bad env variable, I should have stuck with vercel 😂