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 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?
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.
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?
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!
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!
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
@@ProgramWithErik so to clarify you can provision a Postgres database through aws amplify? Because having to provision is separately isn’t quite the same
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.
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.
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)
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
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.
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.
You don’t mention the commercials around this? Is there a free tier where all of this is available ?
This and that the fact that sandbox will cost extra money too.
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.
I had the same issue which is why I ended up moving my api out of NextJS and into its own standalone external api
@@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?
Really cool . Hopefully it’s a stable release and doesn’t have any tricky bugs .
Yes, it is stable.
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.
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?
did you ever find out the answer to this?
Is the authentication using cognito user pools?
Yup :) Backend is DynamoDB and the API is AppSync.
Does it also support mongodb?
this is really nice!! how to host a REST api on aws? i am using xestjs
Still don't know how to make my cursor pulsate like that lol
can anyone say in the simplest words.....is this better and cheaper than Vercel?
Better in what way?
Cheaper, of course. Vercel is another layer and mark up on top of AWS but you pay for simplicity.
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?
I would give it a try and let us know what you think!
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!
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!
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
@@ProgramWithErik so to clarify you can provision a Postgres database through aws amplify? Because having to provision is separately isn’t quite the same
Pretty cool to see, but it's still a bit too AWS-y.
Naa, this is nothing like vercel. This is just an ad for aws to promote their stack.
What Vercel features do you feel like are missing?
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.
Be gone the days with serverless next.js 🚀
maybe i'm misunderstanding you but you know Amplify is serverless right?
Lol build duration 6m46 as shown in the vid. This is an ad
And 4m for the second deploy. Master chiller
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.
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)
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
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.
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.
UX/DX. It's ALL about UX and DX. AWS services are always POORLY designed. Oh… and surprise costs suck, too.
Allah Save us
lol
Useless video that doesn't explain how to do it when you already have a project that you would like to deploy