Deploying a NextJS app to AWS using the Serverless Framework

preview_player
Показать описание
UPDATE: Use version @1.17.0 or greater when deploying this component.

In this video you'll learn how to deploy a NextJS app complete with server rendered and API routes to AWS using the Serverless Framework.

Deploying NextJS with Amplify:

⚡️ Deploying a NextJS app to AWS with AWS Amplify Git-based deployments

⚡️ Deploying a Next app with the AWS Amplify CLI
Рекомендации по теме
Комментарии
Автор

Your video is simple, fast and too much useful. Thanks man

alebatata_
Автор

I'd be very interested to learn how to hookup DynamoDB and AppSync with this. Awesome stuff!

thesobercoder
Автор

how to deploy different environments, i need dev, stage and production

krankertigaz
Автор

This looks amazing, but I need seperate environments. Is there an easy way to do this?

FurryDeathMedia
Автор

I don't know what's going on yet. I was trying to deploy SSR next.js using only Amplify console and got and error about undefined serverless. 😂 Thanks! will have to google a lot

tawing
Автор

what's the diffrence between this and netlify functions

nested
Автор

Error : Serverless Components CLI v1 is no longer bundled with Serverless Framework CLI

ognitiotechnologies
Автор

Does it automatically deploy the app onto Cloudfront or did you configure that beforehand?

gabeadams
Автор

I get an error like this. What should I do?
"error:
Request must be smaller than 69905067 bytes for the CreateFunction operation"

umpstlh
Автор

Can't seem to get this working when i run npx serverless it seems to hang on the deploying

joshbedo
Автор

How to setup aws config file credentials and s3 path ?

ognitiotechnologies
Автор

Hello everyone... I used this component with a simple nextjs with getServerSideProps to call an external API. But when I deploy, I have a 503 error. Looking at the lambda logs on the cloudwatch, I see the following: Can't find module '../chunks/400.js... can someone help me?

adeniltonhenrique
Автор

api routs are not working when i deployed using this

interesting_fcts
Автор

Doesn't appear to work with the latest version of serverless

ThecrackpotdadPlus
Автор

A lot of thanks!!!! Only a doubt.... my Cloud front distribution has as origin S3 located as default in us-east-1, ¿how can I change the origin S3 region? I need it will be in eu-central-1. Is it possible to change the S3 region n deployment?

anialamo
Автор

what if you want a custom domain name?

js_programmer
Автор

How this differs from amplify? Does it automatically hook up to appsync or data source?

ftnsco
Автор

What about auth and Graphql API/dynamodb?

ApoorvMote
Автор

Where can I see what is doing "npx serverless" in verbose mode?

martg
Автор

Got Error Deploying
DEBUG ─ Deploying bucket q5g5wqu-hp1iafi in region us-east-1.
DEBUG ─ Checking if bucket q5g5wqu-hp1iafi exists.
DEBUG ─ Bucket q5g5wqu-hp1iafi does not exist. Creating...
DEBUG ─ Bucket q5g5wqu-hp1iafi created. Confirming it's ready...
DEBUG ─ Bucket q5g5wqu-hp1iafi creation confirmed.
DEBUG ─ Setting acceleration to "true" for bucket q5g5wqu-hp1iafi.

error:
AccessDenied: Access Denied

vivekthakur_vt