08 2021 档案

摘要:Lesson Outline Uptime Downtime RTO RPO Disaster Recovery Lesson Objectives You will be able to: Calculate availability in terms of up and down time Se 阅读全文
posted @ 2021-08-31 14:44 Zhentiw 阅读(79) 评论(0) 推荐(0) 编辑
摘要:Prefer Launch Template You can mix On-demand instances and Spot instances 阅读全文
posted @ 2021-08-31 14:19 Zhentiw 阅读(301) 评论(0) 推荐(0) 编辑
摘要:A strange bug that one toastr showing on the screen... it should happen that when I click the toastr, it should be dismissed. But it doesn't.... I was 阅读全文
posted @ 2021-08-26 16:30 Zhentiw 阅读(63) 评论(0) 推荐(0) 编辑
摘要:Tradeoffs to consider You can build a system that is singular with no failover options, and you can build systems that are Multi-AZ, Multi-Region with 阅读全文
posted @ 2021-08-26 14:53 Zhentiw 阅读(56) 评论(0) 推荐(0) 编辑
摘要:Introduction to Availability, Reliability and Resiliency Availability A measure of time that a system is operating as expected. Typically measured as 阅读全文
posted @ 2021-08-24 22:43 Zhentiw 阅读(78) 评论(0) 推荐(0) 编辑
摘要:Documentation on creating public user tables has been moved here. Supabase has also removed triggers from this doc but you can still use them. In this 阅读全文
posted @ 2021-08-20 14:55 Zhentiw 阅读(89) 评论(0) 推荐(0) 编辑
摘要:DataSync Agnet on Premises side Send data to AWS DataSync Save to S3, EFS, FSx Large amount of data to AWS 阅读全文
posted @ 2021-08-20 02:01 Zhentiw 阅读(73) 评论(0) 推荐(0) 编辑
摘要:Event Processing SQS: Lambda will poll the message from SQS, if failed to processing, will do retry, after max of times, will send to DLQ SNS: If fail 阅读全文
posted @ 2021-08-19 21:29 Zhentiw 阅读(72) 评论(0) 推荐(0) 编辑
摘要:The Event Delegation Pattern Event delegation is a simple, but powerful leveraging of the DOM event system which allows for easier adding of functiona 阅读全文
posted @ 2021-08-19 15:40 Zhentiw 阅读(680) 评论(0) 推荐(0) 编辑
摘要:Object.is console.log(Object.is(2, 2)); // true console.log(Object.is({}, {})); // false Strict Equality: a b console.log(2 2); // true console.log({} 阅读全文
posted @ 2021-08-19 15:20 Zhentiw 阅读(43) 评论(0) 推荐(0) 编辑
摘要:Two Terms RPO: Recovery Point Object RTO: Recovery Time Object Disaster Recovery Strategies Backup and Restore Pilot Light Warm Standby Hot Site / Mul 阅读全文
posted @ 2021-08-18 15:03 Zhentiw 阅读(103) 评论(0) 推荐(0) 编辑
摘要:PutMetricData API Dashboard's graphs can from different AWS accounts and regions For easy monitoring and filtering System-level metrics -> Agent CPU d 阅读全文
posted @ 2021-08-18 03:18 Zhentiw 阅读(62) 评论(0) 推荐(0) 编辑
摘要:Let’s add a test for an edge case that responds with an error message. In this lesson we’ll talk about the value of using the toMatchInlineSnapshot as 阅读全文
posted @ 2021-08-16 14:45 Zhentiw 阅读(61) 评论(0) 推荐(0) 编辑
摘要:For the data goes into EC2, is Free Transfer data inside same AZ is free Transfer data from one AZ to another through Private IP: cost $0.01 Transfer 阅读全文
posted @ 2021-08-16 13:37 Zhentiw 阅读(87) 评论(0) 推荐(0) 编辑
摘要:SAA Storage Optimized: 80TB Compute Optimized: 42TB AWS DataSync 8 TB Use when transfer larger than 10 PB 100 PB max for single one The the computatio 阅读全文
posted @ 2021-08-15 21:25 Zhentiw 阅读(116) 评论(0) 推荐(0) 编辑
摘要:Direct Connect (DX) Provides a dedicated private connection from a remote network to your VPC Dedicated connection must be setup between your DC and A 阅读全文
posted @ 2021-08-15 21:25 Zhentiw 阅读(116) 评论(0) 推荐(0) 编辑
摘要:Overview max 5 per region max 5 CIDR per VPC VPC CIDR should not overlap with your other networks Subnet AWS reserves 5 IPs address (first 4 and last 阅读全文
posted @ 2021-08-15 00:54 Zhentiw 阅读(124) 评论(0) 推荐(0) 编辑
摘要:import { Observable, throwError, timer } from 'rxjs'; import { mergeMap, finalize } from 'rxjs/operators'; export const genericRetryStrategy = ({ maxR 阅读全文
posted @ 2021-08-12 15:45 Zhentiw 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-08-12 00:54 Zhentiw 阅读(29) 评论(0) 推荐(0) 编辑
摘要:You can have a untils folder under root folder, to let jest include your files, you can do: const path = require('path') module.exports = { displayNam 阅读全文
posted @ 2021-08-09 15:42 Zhentiw 阅读(37) 评论(0) 推荐(0) 编辑
摘要:Kinesis Analytics can be Data streams and Firehose as input And Analytics can use Data stream and Firehose as output FIrehose can use S3 to store data 阅读全文
posted @ 2021-08-07 16:24 Zhentiw 阅读(63) 评论(0) 推荐(0) 编辑
摘要:SAA Shared 2 MB/sec, all shards shared 2MB/s Enhanced: Per shard 2MB/sec Max retiention 365 days Can replay data same partition goes to same shard Ser 阅读全文
posted @ 2021-08-07 16:06 Zhentiw 阅读(135) 评论(0) 推荐(0) 编辑
摘要:SAA SNS can publish messages to the following endpoints: HTTP(S) SQS Lambda mobile push emails SMS SNS also has FIFO Only target can be used is SQS Ca 阅读全文
posted @ 2021-08-07 15:52 Zhentiw 阅读(53) 评论(0) 推荐(0) 编辑
摘要:SAA Max retention days 14 days Max size 256 KB Cross Account Access S3 push notification MaximumReceive API Set threshold Request Queue Response Queue 阅读全文
posted @ 2021-08-07 15:49 Zhentiw 阅读(273) 评论(0) 推荐(0) 编辑
摘要:Code: import {UnauthorizedError} from 'express-jwt' function errorMiddleware(error, req, res, next) { if (res.headersSent) { next(error) } else if (er 阅读全文
posted @ 2021-08-05 20:58 Zhentiw 阅读(91) 评论(0) 推荐(0) 编辑
摘要:Jest has a test-generation feature built-in called test.each which is great, but I don’t particularly like it’s API. Instead, we’re going to use an op 阅读全文
posted @ 2021-08-05 18:51 Zhentiw 阅读(42) 评论(0) 推荐(0) 编辑
摘要:One of the most crucial things you can do when writing tests is ensuring that the error message explains the problem as clearly as possible so it can 阅读全文
posted @ 2021-08-05 18:41 Zhentiw 阅读(30) 评论(0) 推荐(0) 编辑
摘要:For example, you have an object `A`, you want to extend it and modify some prop; then create a new interface B: export interface B extends Omit<A, 'x' 阅读全文
posted @ 2021-08-05 17:58 Zhentiw 阅读(99) 评论(0) 推荐(0) 编辑
摘要:SAA Here's a quick cheat-sheet to remember all these services: EMR (Elastic Map Reduce): Big Data / Hadoop / Spark clusters on AWS, deployed on EC2 fo 阅读全文
posted @ 2021-08-05 01:52 Zhentiw 阅读(66) 评论(0) 推荐(0) 编辑
摘要:ETL: Extra data from S3 or RDS Transform data in Glue Load data into RedShift, or other Data Warehouse Craw the data Search for any field Partially ma 阅读全文
posted @ 2021-08-04 16:09 Zhentiw 阅读(81) 评论(0) 推荐(0) 编辑
摘要:Case 1: WhatIsTheTime.com Simple start Use T2 instance EIP to public access CONS: When more people come to your website, T2 instance is not enough to 阅读全文
posted @ 2021-08-04 13:53 Zhentiw 阅读(82) 评论(0) 推荐(0) 编辑
摘要:Faster than MySQL... Postgres Failover faster CRR: entire database is copied (not select tables) Load / Offload data directly from / to S3: efficient 阅读全文
posted @ 2021-08-03 02:15 Zhentiw 阅读(111) 评论(0) 推荐(0) 编辑
摘要:SAA Read Replicas can be within AZ, Cross AZ or Cross Region Replication is async, eventually consistent New connection endpoint for repliaca, need to 阅读全文
posted @ 2021-08-02 20:37 Zhentiw 阅读(60) 评论(0) 推荐(0) 编辑
摘要:SAA ElastiCache requires code changes Share user session across EC2 instances Redis has multi AZs, failover, backup SAP 阅读全文
posted @ 2021-08-02 16:57 Zhentiw 阅读(56) 评论(0) 推荐(0) 编辑
摘要:Overview DDoS protection, intergration with Shield, AWS Web application Firewall. Origins S3 bucket For distributing files and caching them at the edg 阅读全文
posted @ 2021-08-02 16:31 Zhentiw 阅读(891) 评论(0) 推荐(0) 编辑

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