You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies if this isn't the right place to ask, but I do have a few questions. Double apologies for not figuring out how to do this. I'm 100% new to Nextjs and almost that new to lambda.
How do you specify the S3 bucket to which the website will be deployed?
If I understand, each Nextjs page is turned into a lambda function to serve up that page. I've read that you put API routes in pages/api. Does that work the same in this setup?
In addition to the website, I need to have a lambda function triggered on an S3 put event. Could that API live in the same place (pages/api) or would I need something else (is service the correct word?)
If what I need is a separate service, can I configure that in the serverless.yml file with a service entry? All I've ever seen in my reading are service entries. This is the first time that I've seen a website entry.
Does the Dockerfile serve any special purpose other than to let me run things through Docker if I wanted to?
Thanks for any help you are willing to offer. I'm more than happy to give back by adding documentation to help newbies like me get started using this.
The text was updated successfully, but these errors were encountered:
Apologies if this isn't the right place to ask, but I do have a few questions. Double apologies for not figuring out how to do this. I'm 100% new to Nextjs and almost that new to lambda.
How do you specify the S3 bucket to which the website will be deployed?
If I understand, each Nextjs page is turned into a lambda function to serve up that page. I've read that you put API routes in
pages/api
. Does that work the same in this setup?In addition to the website, I need to have a lambda function triggered on an S3 put event. Could that API live in the same place (
pages/api
) or would I need something else (is service the correct word?)If what I need is a separate service, can I configure that in the serverless.yml file with a service entry? All I've ever seen in my reading are
service
entries. This is the first time that I've seen awebsite
entry.Does the Dockerfile serve any special purpose other than to let me run things through Docker if I wanted to?
Thanks for any help you are willing to offer. I'm more than happy to give back by adding documentation to help newbies like me get started using this.
The text was updated successfully, but these errors were encountered: