User Guide: Production-Ready Serverless Frontend Application Stack
This user guide is documentation for utilizing the AMI product currently sold on AWS Marketplace.
The AMI product includes a complete set of reference implementation source code for developing web applications using Lambda Web Adapter. In this document, the AMI product, reference implementation source code, and user guide documentation are collectively referred to as the "catalog".
Those who have purchased the AMI can verify functionality by directly running the catalog content, or use it as a template for projects targeting production releases. You don't need to accept all catalog content; you can select and use only the parts necessary for your needs.
The AMI has a Node.js runtime environment and recommended tools pre-installed for running web application development frameworks. When necessary, you can also deploy demo environments using the AWS CloudFormation templates prepared within the AMI.
"Remote EC2 Sandbox", which only has the runtime environment and recommended tools necessary for development pre-installed without application stacks, is also available. Please give it a try.
Additionally, if you need support based on this catalog content, such as the following examples, please consider using Serverless Operations Catalog Support:
- More detailed explanations and skill transfer regarding this catalog content or serverless/web application development in general
- Introduction of this catalog's technology stack and project structure to field operations, onboarding support
- Design and promotion of production environment release decision flows, tuning, performance optimization, and application monitoring workflows
- Other timely problem resolution and constant Q&A support
Getting Started After AMI Purchase
After purchasing this catalog product, first launch an EC2 instance, connect to it, and review the content. Since this catalog is built inheriting Remote EC2 Sandbox, it is designed to be used by remotely connecting to EC2 in the same way.
- For details about "Remote EC2 Sandbox", please refer to the Remote EC2 Sandbox User Guide.
- However, the pricing structure for this catalog AMI product differs from Remote EC2 Sandbox, being a one-time purchase within the contract period (payment only at purchase) rather than pay-as-you-go.
- For details on how to create instances, please refer to How to Create Instances.
- For details on how to connect to EC2 instances, please refer to Connection Methods and Usage.
Catalog Contents
You can review the contents sequentially in the order of the following headings.
1. Configuration and Overview
This document explains the basic configuration of this catalog.
For details, please refer to here.
2. Web Application Implementation Guide
This document describes practices for implementing web applications based on this catalog's configuration. The framework used is React Router v7.
For details, please refer to here.
3. Local Debugging and Testing
This document describes methods for running application code in a local development environment for debugging and testing.
For details, please refer to here.
4. Container Image Creation Using Lambda Web Adapter
This document explains how to create container images for deployment to AWS Lambda.
For details, please refer to here.
5. Environment Setup and Operation Verification on AWS Management Console
This document explains the procedure for setting up environments directly on the AWS Management Console without using IaC. If you are not familiar with Lambda Web Adapter mechanisms, we recommend proceeding with construction based on this content first, before using IaC such as AWS CloudFormation.
For details, please refer to here.
6. Deployment and Operation Verification Using AWS CloudFormation
This document describes how to deploy this catalog's sample code using AWS CloudFormation and perform operation verification.
For details, please refer to here.
7. Monitoring
This document describes application monitoring methods based on this catalog's configuration.
For details, please refer to here.