随笔分类 -  AWS - DA

摘要:Lambda integration with ALB HTTP(s) Lambda function must be registered in a target group ALB Multi-Header Values If a client connect to ALB, we can co 阅读全文
posted @ 2021-06-03 16:04 Zhentiw 阅读(127) 评论(0) 推荐(0) 编辑
摘要:1. Create a Lambda function, because we want to work with Application Load Balancer, we need to give a different response from Lambda Check: https://d 阅读全文
posted @ 2021-06-03 13:53 Zhentiw 阅读(125) 评论(0) 推荐(0) 编辑
摘要:Overview Different from SQS, once data into Kinesis, it cannot be deleted. SQS will be deleted after processed Kinesis is regional Kinesis Producers D 阅读全文
posted @ 2021-06-03 00:49 Zhentiw 阅读(65) 评论(0) 推荐(0) 编辑
摘要:SQS Decouple applications unlimited throughput, unlimited number of messages in queue 4 days retention of message, max 14 days 256KB size per message 阅读全文
posted @ 2021-06-02 20:12 Zhentiw 阅读(207) 评论(0) 推荐(0) 编辑
摘要:CloudWatch CloudWath Metrics Default every 5 mins EC2 Detailed monitoring Get data every 1 mins Free Tier allow to have 10 details monitoring metrics 阅读全文
posted @ 2021-06-02 16:00 Zhentiw 阅读(145) 评论(0) 推荐(0) 编辑
摘要:You can let AWS to create a SSL certificates for you and manage for you by using AWS Cetrficate Manager. Basicly it allows you to use HTTPS. 阅读全文
posted @ 2021-06-02 02:30 Zhentiw 阅读(55) 评论(0) 推荐(0) 编辑
摘要:Features Serverless Monitoring Authentication Throttling Web application Firewal Custom domain names How API Gateway works When user come to your site 阅读全文
posted @ 2021-06-01 14:40 Zhentiw 阅读(266) 评论(0) 推荐(0) 编辑
摘要:What does it means? For example, if we have setup a API Gateway, REST API, GET method point to a Lambda function with no proxy intergration which retu 阅读全文
posted @ 2021-06-01 13:49 Zhentiw 阅读(115) 评论(0) 推荐(0) 编辑
摘要:1. First, create a Lambda function call `lambdav1` 2. Create three alias PROD, TEST, DEV For each alias, you can modify the response body code, so tha 阅读全文
posted @ 2021-06-01 02:41 Zhentiw 阅读(107) 评论(0) 推荐(0) 编辑
摘要:DynamoDB Consistency Models Eventually Consistent Reads Consistency across all copies of data is usually reached within a second Best for read perfora 阅读全文
posted @ 2021-05-31 20:22 Zhentiw 阅读(176) 评论(0) 推荐(0) 编辑
摘要:It's common to use DynamoDB to store session state auto scaling feature vs ElastiCache: ElasitCache is in-memory, but DynamoDB is serverless Both are 阅读全文
posted @ 2021-05-31 20:01 Zhentiw 阅读(52) 评论(0) 推荐(0) 编辑
摘要:Consume 2 x of WCU / RCU 5 KB item size, transactional item writes per second: 3 (5 / 1) * 3 * 2 = 30 WCU Transactional Item reads per second: 5 Celli 阅读全文
posted @ 2021-05-31 19:55 Zhentiw 阅读(101) 评论(0) 推荐(0) 编辑
摘要:Using --project-expression: aws dynamodb scan --table-name users --projection-expression "user_id,game_id" { "Items": [ { "user_id": { "S": "ersaessew 阅读全文
posted @ 2021-05-31 19:50 Zhentiw 阅读(117) 评论(0) 推荐(0) 编辑
摘要:The original code: createGroup.ts: import { v4 as uuidv4 } from "uuid"; import "source-map-support/register"; import * as AWS from "aws-sdk"; import { 阅读全文
posted @ 2021-05-27 00:54 Zhentiw 阅读(84) 评论(0) 推荐(0) 编辑
摘要:Part 1 Of Serverless Framework with AWS DynamoDB & ApiGateway Build a Lambda function get data from DynamoDB: src/lambda/http/getGroups.ts import * as 阅读全文
posted @ 2021-05-24 22:12 Zhentiw 阅读(121) 评论(0) 推荐(0) 编辑
摘要:Part 0 of Serverless Framework with AWS Serverless Project Structure New configuration format Please notice that the default structure of the TypeScri 阅读全文
posted @ 2021-05-24 22:09 Zhentiw 阅读(54) 评论(0) 推荐(0) 编辑
摘要:You can find more information about Middy library and all available middleware here Here is an example for how to use cors Middy middleware in Lambda: 阅读全文
posted @ 2021-05-24 14:38 Zhentiw 阅读(59) 评论(0) 推荐(0) 编辑
摘要:Auth0 returns a JWT token JSON that contains information about a user No need to send a request to Auth0 to verify JWT What pervents anyone to generat 阅读全文
posted @ 2021-05-23 23:07 Zhentiw 阅读(73) 评论(0) 推荐(0) 编辑
摘要:Full-Text Search Find images by names What this usually means Support search by any field Tolerate typos Support highlight Rank search result So when 阅读全文
posted @ 2021-05-20 21:38 Zhentiw 阅读(607) 评论(0) 推荐(0) 编辑
摘要:Read: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-uniform-load.html https://aws.amazon.com/blogs/database/choosi 阅读全文
posted @ 2021-05-19 15:07 Zhentiw 阅读(512) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示