Building react web application on Lambda

0

Can I build a react web app on AWS Lambda? What should I configure so that I can host the web and see it on the web browser?

  • Can you elaborate a bit on what this react web app is? Is it rendered on the client side or does it need server side rendering? Can it be hosted in S3 instead of Lambda?

1개 답변
2

Trying to run an entire React web app on Lambda will make for complex code and will likely get out of hand quickly unless it's very basic. You'd also have to consider other aspects like cold starts and concurrency limits and how this affects performance.

A more common and much more easier way is to host your frontend files on S3, and your backend/server-side rendering components on Lambda. Check out this blog post for a detailed example.

Chamal
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인