Hosting React Applications on S3

0

Customer is designing a serverless application where they plan to have a React based website on S3. At the backend the application makes API calls to API Gateway endpoint to read and write data into DynamoDB using Lambda functions.

Wanted to understand if the above architecture would work and if any customers have already implemented this. Also, are there any drawbacks with this design.

1 Answer
0
Accepted Answer

What you're describing is the exact architecture for how you should deploy that (use S3 for static content; use CloudFront; then API Gateway/DynamoDB for the dynamic part of the website).

https://aws.amazon.com/blogs/mobile/react-serverless-starter-application-with-one-click-aws-deployment-and-hosting/

It's a pretty big problem space though - and exact guidance is going to depend on a lot of things that customer is doing.

profile pictureAWS
EXPERT
answered 4 years ago
profile picture
EXPERT
reviewed 21 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions