AWS solutions architect flash cards
CORS (Cross Origin Resource Sharing)
Way to integrate applications. provides a way for a client web app loaded in one domain to interact with resources in another. For example, your app uses a public front library. CORS lets the client browser check third party servers to check if the request is legit before data transfers.
Server Errors (e.g. 404)
4xx - Client
5xx - Server
400 - Bad Request (Generic)
403 - Access Denied
429 - Throttling
502 - Bad Gateway
503 - Unavailable Service
504 - Timeout
B.A.T B.U.T
Kinesis Data Streams
Kinesis - Scalable streaming
Data Streams:
Basic entity of Kinesis, 24 hour moving window of data. Multiple producers, multiple consumers, has shards (1mb ingestion, 2mb consumption).
Kinesis Firehose
ALLOWS PERSISTENCE - you write to S3 or another storage (Redshift,OpenSearch, 3rd party using Splunk)
Service to load data for data lakes, data stores, and analytics.
Transformation with lambda.
Reads from data streams, or have data passed to it directly.
Kinesis Data Analytics
Takes from fire hose or data streams. destinations same as fire hose. SQL processing, good for real-time dashboards and metrics.
Kinesis video streams
Ingests live video feeds.
Cognito
User pool:
Authentication. Users sign in through user pool or federate through identity provider (IdP)
Identity Pool:
Authorization. Allows you to offer access to temporary credentials. Cognito assumes IAM role in identity pool.
Congito - near unlimited, good with web apps.
Glue
Serverless, Extract-Transform-Load (ETL) service. Moves and transforms data between src and destination.
Crawls data, makes regional data catalogue (RDS, DynamoDB, S3)
MQ
Merge of SNS and SQS, but using industry standards. Provides queues and topics.
NOT PUBLIC.
Appflow
Exchange data between apps (connectors) using flows. Look for Saas keyword
Macie
Amazon Macie is a security service that uses machine learning to automatically discover, classify and protect sensitive data
Lambda SnapStart
Use Lambda SnapStart for Java to reduce cold start time without provisioning additional resources or implementing complex performance optimizations.
Lambda concurrency.
concurrency is the number of in-flight requests that your function is currently handling. There are reserved and provisioned concurrency. Provisioned concurrency is useful for reducing cold start latencies for functions. Reserved concurrency is useful for ensuring that your most critical functions always have enough concurrency to work
Aurora Capacity Units
ACU - About 2 gibibytes (GiB) of memory, corresponding CPU, and networking. With Aurora Serverless v2, your starting capacity can be as small as 0.5 ACU, and the maximum capacity supported is 128 ACU.
Cloudfront Distribution, Edge Location, and Regional Edge Cache
Unit of configuration
Local Cache of data
Larger version of edge location. Provides another caching layer
process when a cache miss?
Edge Cache -> Regional Cache -> Origin fetch.
ACM
AWS certificates manager, integrates with CloudFront. It allows deployment of certificates onto supported AWS services such as CloudFront and ALB, NOT EC2.
ALB - THE CERT MUST BE IN THE SAME REGION
CLOUDFRONT - CERT IN US-EAST-1
Does cloudfront do write caching?
No
When to USE NLB over ALB?
When to use NLB:
Static IP for whitelisting
Fastest performance
Unbroken encryption
Private link
Non-HTTP or non-HTTPS
CloudFront Behaviours
A lot of important configuration for distributions. Origins are linked to behaviours, which are then linked to behaviours.
Every distribution has a default behaviour.
Have custom behaviours which are configured using a path pattern