Deploy a React-based single-page application to Amazon S3 and CloudFront
Overview
A Single-page Application (SPA) is a web application that makes use of JavaScript APIs to dynamically update a single web page instead of loading all pages from the server, enabling improved website performance and a more dynamic user experience. We use this pattern to develop solutions for several of our customers
Architecture
Tools
Amazon API Gateway helps you create, publish, maintain, monitor, and secure REST, HTTP, and WebSocket APIs at any scale.
AWS Cloud9 is an IDE that helps you code, build, run, test, and debug software. It also helps you release software to the AWS Cloud.
AWS CloudFormation helps you set up AWS resources, provision them quickly and consistently, and manage them throughout their lifecycle across AWS accounts and Regions.
Amazon CloudFront speeds up distribution of your web content by delivering it through a worldwide network of data centers, which lowers latency and improves performance.
AWS CloudTrail helps you audit the governance, compliance, and operational risk of your AWS account.
Amazon CloudWatch helps you monitor the metrics of your AWS resources and the applications you run on AWS in real time.
AWS Identity and Access Management (IAM) helps you securely manage access to your AWS resources by controlling who is authenticated and authorized to use them.
Amazon Route 53 is a highly available and scalable DNS web service.
Amazon Simple Storage Service (Amazon S3) is a cloud-based object storage service that helps you store, protect, and retrieve any amount of data.
Resources
Reference architecture