利用AWS服务创建简单的Web服务,实现简单的CRUD.
系统架构:
后端:AWS Lambda
前端:Ant Design Pro
数据库:AWS DynamoDB
AWS 服务:
- Route 53: DNS解析
- CloudFront: CDN加速
- Amplify: 连接Github源代码,自动不是
- Cognito: AWS的IAM身份验证
- API Gateway: RESTful API网关
- Lambda: 实现CRUD
- DynamoDB: 数据存储
- CloudWatch: 应用监控
源码: GitHub - GQMai/aws-thermostat-demo: A thermostat demo built in AWS
AWS Cloud Formation 配置文件保存在./template.yml
Amplify 部署:
Demo:
Login:
List:
Update:
Delete:
Log:
参考:
- 服务器计算_云应用部署-AWS云服务
- GitHub - aws-samples/lambda-refarch-webapp: The Web Application reference architecture is a general-purpose, event-driven, web application back-end that uses AWS Lambda, Amazon API Gateway for its business logic. It also uses Amazon DynamoDB as its database and Amazon Cognito for user management. All static content is hosted using AWS Amplify Console.
- 无服务器 - 深入探究 | AWS
- AWS Serverless Application Repository_无服务器程序-AWS云服务
Aws Amplify_亚马逊移动应用开发程序管理工具-AWS云服务