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

[Next JS] Server-side rendering support on classic AWS Lambda instead of Lambda@EDGE #2198

Closed
ixartz opened this issue Aug 23, 2021 · 7 comments
Labels
archived This issue has been locked. feature-request New feature or request ssr Server Side Rendering feature

Comments

@ixartz
Copy link

ixartz commented Aug 23, 2021

Is your feature request related to a problem? Please describe.

After the release of #412, it's annoying we can't deploy Next JS with AWS Amplify on classic/vanilla AWS Lambda instead of Lambda@Edge.

Lambda@Edge has more limitation compare to classic AWS Lambda. AWS Lambda is more powerful, more tooling, etc.

Describe the solution you'd like

It could be great if we can choose between classic AWS Lambda and Lambda@Edge

@ixartz ixartz added the feature-request New feature or request label Aug 23, 2021
@aws-amplify aws-amplify deleted a comment from github-actions bot Aug 24, 2021
@siegerts siegerts added the ssr Server Side Rendering feature label Aug 24, 2021
@swaminator
Copy link
Contributor

@ixartz what are limitations you're running into?

@ixartz
Copy link
Author

ixartz commented Sep 2, 2021

@swaminator Lambda@Edge is way more expensive than the classic AWS Lambda
Lambda@Edge don't have access to to Lambda layer.

@CauanCabral
Copy link

We have the same problem.

Lambda@Edge limit our Next.js api's to accept only 1MB of data.

Theres a way to deploy all or some of ours api's at classic Lambda instead of Lambda@EDGE? Seems cheaper and better for API purpose.

@danielbeardsley
Copy link

Also, I'd like to run a lambda closer to a few services that our next.js app needs to talk to.

@calavera
Copy link
Contributor

calavera commented Dec 6, 2022

Our new compute stack offers better support than the old Lambda@Edge stack. Take a look at the announcement: https://aws.amazon.com/blogs/mobile/amplify-next-js-13/

We're considering this issue resolved because we're moving away from Lambda@Edge.

@calavera calavera closed this as completed Dec 6, 2022
@github-actions
Copy link

github-actions bot commented Dec 6, 2022

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@github-actions
Copy link

github-actions bot commented Dec 6, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the archived This issue has been locked. label Dec 6, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked. feature-request New feature or request ssr Server Side Rendering feature
Projects
None yet
Development

No branches or pull requests

6 participants