Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration Questions #92

Open
baronnoraz opened this issue Feb 10, 2021 · 0 comments
Open

Configuration Questions #92

baronnoraz opened this issue Feb 10, 2021 · 0 comments

Comments

@baronnoraz
Copy link

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.

  1. How do you specify the S3 bucket to which the website will be deployed?

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

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant