I need to consider about measuring SEO. I would like to know easy ways of server-side rendering and hosting that any low-skilled engineers such as me can do.
t u re re q u i re m e n t s f o r S S R In short, wherever Express can be run. I would like to use serverless platform because I do not want to consider about availability.
Framework for server-rendered React applications. Server-side rendering React components containing data fetching is bother. This framework makes it easier.
u i l d i n g i n f r a s t r u c t u re 1. Create a S3 Bucket 2. Create an IAM Role for Lambda 3. Create a Lambda function 4. Create an API as a web site endpoint 5. Add a proxy resource to root resource 6. Add ANY method to the resources 7. Deploy the API 8. Add permission to the Lambda function 9. Create CloudFront Distribution 10. Create a function for Next.js app
with AWS WAF. Cons • It takes a few seconds each time cold start due to FaaS • The procedure is complicated. • It takes time to understand configurations. • Should use SAM or Terraform.
u i l d i n g i n f r a s t r u c t u re 1. Create Firebase configuration file 2. Create a new project 3. Associate the project 4. Create a function for Next.js app
Easy CDN cache control and immediate provisioning. • Configuring custom domain is also easy and cert is full-managed. Cons • It takes a few seconds each time cold start due to FaaS • Necessary to visit web console in construction procedure. • No access control system.
s • I love Firebase. • The cases that AWS stack has meaning: • Fetch data from backend built on AWS. • Need to manage with CloudFormation or Terraform. • Need to have ACL on platform side. • Google App Engine Node.js standard environment is in Early Access Program. This might resolve cold start problem.