Deploying Next.js To AWS Just Got MUCH BETTER!

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 42

  • @franckdervaux792
    @franckdervaux792 5 місяців тому +3

    You don’t mention the commercials around this? Is there a free tier where all of this is available ?

    • @iferca
      @iferca Місяць тому

      This and that the fact that sandbox will cost extra money too.

  • @Livestoriz
    @Livestoriz 5 місяців тому +2

    Most difficult issue I have with a "real" Next js application is to get the Amplify to pass in the Environment variables to my Next JS at runtime (.env.production). I have followed the guides form Amplify and the env settings are still not passed in. This is a key issue we face, not with hello worlds. Because of this, I am really considering going to Vercel route instead of AWS.

    • @JustThink2000
      @JustThink2000 2 місяці тому

      I had the same issue which is why I ended up moving my api out of NextJS and into its own standalone external api

    • @iferca
      @iferca Місяць тому

      @@JustThink2000 regarding that last piece, they (AWS) mention in their Serverless video that there is no full support for next's SSC. Any experience to share on this?

  • @RatherBeCancelledThanHandled
    @RatherBeCancelledThanHandled 5 місяців тому

    Really cool . Hopefully it’s a stable release and doesn’t have any tricky bugs .

  • @NikeshMadhav-o3r
    @NikeshMadhav-o3r 3 місяці тому

    Hi I have one question. How can we create cross platform app with amplify gen 2 - Flutter for android and ios and next js for web from single amplify project. I am not able to find any solutions.

  • @pheisar
    @pheisar 5 місяців тому +6

    What does AWS have to stop you from getting DDOS'd, and get a massive bill, that doesn't cost thousands of dollars a month?

    • @TwoVera
      @TwoVera 29 днів тому +1

      did you ever find out the answer to this?

  • @luthecoder
    @luthecoder 5 місяців тому +1

    Is the authentication using cognito user pools?

    • @focusotter
      @focusotter 5 місяців тому

      Yup :) Backend is DynamoDB and the API is AppSync.

  • @NeckRom4ncer
    @NeckRom4ncer Місяць тому

    Does it also support mongodb?

  • @eliaspaulinho8435
    @eliaspaulinho8435 5 місяців тому

    this is really nice!! how to host a REST api on aws? i am using xestjs

  • @kettenbach
    @kettenbach 5 місяців тому

    Still don't know how to make my cursor pulsate like that lol

  • @beyourahi
    @beyourahi 5 місяців тому

    can anyone say in the simplest words.....is this better and cheaper than Vercel?

    • @Kay8B
      @Kay8B 5 місяців тому +1

      Better in what way?
      Cheaper, of course. Vercel is another layer and mark up on top of AWS but you pay for simplicity.

    • @aberba
      @aberba 5 місяців тому

      That's not what the question is about​ @@Kay8B. If this is hosting next.js, then its definitely a PaaS offering like vercel. The question is is it cheaper?

    • @ProgramWithErik
      @ProgramWithErik 5 місяців тому

      I would give it a try and let us know what you think!

  • @dylanzemek7069
    @dylanzemek7069 5 місяців тому

    You don't mention that the only database option is dynamoDB which obviously scales but the majority of people aren't going to be able to design their data well enough to not fall into the traps of dynamo. Also you can then never migrate from dynamoDB as thats basically impossible. I haven't used aws amlify but does it even provision anything for ddos attacks and protecting abuse of serverless functions as that's the hot topic atm and why everyone is doing coolify videos. While that all may sound negative, good video!

    • @JamesQQuick
      @JamesQQuick  5 місяців тому +2

      Well, you can use any db you want just like with any other Next app. Obviously if you use dynamo it's going to be more directly integrated with all that Amplify has to offer. Thanks for sharing your thoughts!

    • @ProgramWithErik
      @ProgramWithErik 5 місяців тому +1

      To add a bit here. Our AppSync service does support Postgres databases, so you don't have to use DynamoDB. Also the underlying services that Amplify uses (e.g. CloudFront) have some basic DDos protection in place. And you can set billing alarms to watch your spend more closely

    • @dylanzemek7069
      @dylanzemek7069 5 місяців тому

      @@ProgramWithErik so to clarify you can provision a Postgres database through aws amplify? Because having to provision is separately isn’t quite the same

  • @blocSonic
    @blocSonic 5 місяців тому

    Pretty cool to see, but it's still a bit too AWS-y.

  • @aberba
    @aberba 5 місяців тому

    Naa, this is nothing like vercel. This is just an ad for aws to promote their stack.

    • @JamesQQuick
      @JamesQQuick  5 місяців тому

      What Vercel features do you feel like are missing?

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

    Do youuself favot and don't deploy to AWS. Instead, I need to get any providers that charge you monthly $25 for fixed prices. Most of the apps are hundreds to thousands of users, which are under $25 price, and you don't have to worry about getting DDOS and payings $25000 overnight.

  • @ArkarF
    @ArkarF 5 місяців тому +1

    Be gone the days with serverless next.js 🚀

    • @PraiseYeezus
      @PraiseYeezus 5 місяців тому +3

      maybe i'm misunderstanding you but you know Amplify is serverless right?

  • @gencade2504
    @gencade2504 5 місяців тому

    Lol build duration 6m46 as shown in the vid. This is an ad

    • @gencade2504
      @gencade2504 5 місяців тому

      And 4m for the second deploy. Master chiller

    • @JamesQQuick
      @JamesQQuick  5 місяців тому

      Build times are definitely something to consider. Glad you brought that up. There is still a balance of other features that come with integrating into a platform that offers so much. Direct integrations with db, auth, etc. can easily be worth it in this case.

  • @krtirtho
    @krtirtho 5 місяців тому +3

    It should've been like this from the very beginning.
    IDK why YT instructors started promoting simple AWS wrappers like Varcel, Netlify, Heroku out of nowhere. AWS/GCP/Azure with Terraform/Ansible/CloudPlatform or any IaC is just as easy as Varcel or maybe better.
    Beginners need to learn those skills. DevOps is necessary to know. You can't expect your infrastructure to run on magic. The magic bunch of corporate companies that bring nothing to the table. Also, they charge insane amounts (x100 times more than original Vendor)

    • @naterpotatoers
      @naterpotatoers 5 місяців тому

      Yes knowing DevOps is important but it’s definitely not as easy as using Vercel/Netlify/Amplitude. That’s a wild statement lol most people on UA-cam are still learning how to code and you cannot expect them to know networking, cicd, etc

    • @PraiseYeezus
      @PraiseYeezus 5 місяців тому +2

      sounds like you've never used AWS. As easy as Vercel? The fact that it's IaC alone makes it very different than Vercel. Not to talk of IAM policies, the obsfucation around setting up basic monitoring, and controlling your spend.
      I know it's popular to join the anti-Vercel/Netlify hype train but AWS was the original "wake up with a $100k bill" service, for years now.

    • @Dom-zy1qy
      @Dom-zy1qy 5 місяців тому +3

      I don't know what fantasy world you live in where AWS is "just as easy as vercel". AWS is a skill that you need to learn, vercel is an interface you have to push 2 buttons on to deploy to.
      There's decision overload with aws. It is pretty "easy" once you get the hang of it, and just learn to ditch the console for IaC instead. But it is super overwhelming as a noob.

    • @blocSonic
      @blocSonic 5 місяців тому +1

      UX/DX. It's ALL about UX and DX. AWS services are always POORLY designed. Oh… and surprise costs suck, too.

  • @mdsafikulislam9113
    @mdsafikulislam9113 Місяць тому +1

    Allah Save us

  • @danielfan9196
    @danielfan9196 3 місяці тому +1

    Useless video that doesn't explain how to do it when you already have a project that you would like to deploy