AWS-Logo_White-Color
1.
Prerequisites
1.1.
Create Environment
1.1.1.
VPC
1.1.2.
EC2
1.1.3.
RDS
1.2.
Remote enviroment & Configure the AWS CLI
1.
Introduction
2.
Single Page Application
2.1.
Pre-requisites
Option A.
Eclipse Environment
Option B.
AWS Cloud9 Environment
2.2.
Serverless Microservices
2.3.
Create and Expose the API
2.4.
Deploy the API using CodeStar and CI/CD
Option A.
Eclipse Environment
Option B.
AWS Cloud9 Environment
2.5.
Setup the SPA Webpage
2.6.
Consume the API
2.
Preparation
2.1.
Create Key Pair
2.2.
Create a CloudFormation stack
2.3.
Connect to the Windows Instance
3.
Configure AAA
3.1.
SPA Authentication
3.2.
Microservice Authentication
3.3.
Deploy and Test
3.4.
User Sign Up/Sign In
3.
Creating A Single Page Application
3.1.
Create A DynamoDB Table
3.2.
Manually Build And Deploy A Serverless Microservice
3.3.
Create And Expose the API with Amazon API Gateway
3.4.
Deploy the api using code star and CI/CD
3.5.
Setup The Single Page Application Website
3.6.
Build A Client To Consume The API
4.
Application Performance
4.
Configure Authentication, Authorization and Accounting (AAA)
4.1.
Add Authentication to the SPA using Amazon Cognito User Pools
4.2.
Microservice Authentication
4.3.
Deploy And Test
4.4.
Add New User Sign Up and Sign In
5.
Challenge
5.
Tracing Application Performance With AWS X-Ray
6.
Conclusion
6.
Challenge
7.
Reference resources
7.
Clean up resources
More
AWS Study Group - Blog
AWS Study Group - FB Group
English
Tiếng Việt
Clear History
Workshop
Cloud Journey
Last Updated
27-11-2023
Team
Gia Hưng
Creating an Authenticated Single Page Application (SPA)
> Reference resources
Reference resources
Useful resources for you to refer to:
AWS Cognito:
https://aws.amazon.com/cognito/faqs/
https://docs.aws.amazon.com/cognito/latest/developerguide/iam-roles.html
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html
https://aws.amazon.com/blogs/mobile/use-amazon-cognito-in-your-website-for-simple-aws-authentication/
https://forums.aws.amazon.com/forum.jspa?forumID=173
CORS explained:
https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html
https://aws.amazon.com/blogs/aws/amazon-s3-cross-origin-resource-sharing/
API G/W:
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html
S3:
https://aws.amazon.com/blogs/storage/protect-amazon-s3-buckets-using-access-analyzer-for-s3/
https://www.youtube.com/watch?v=rHeTn9pHNKo
Fielding
https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm
https://www.ics.uci.edu/~fielding/pubs/dissertation/fielding_dissertation.pdf
https://restfulapi.net/hateoas/
https://martinfowler.com/articles/richardsonMaturityModel.html