Please enable JavaScript.
Coggle requires JavaScript to display documents.
AWS - Coggle Diagram
AWS
Serverless
Lambda
Attributes
-
-
-
Multi-language support
Node.js, Python, Java, C#, Golang, Ruby
-
Invocations
Synchronous
CLI, SDK, API Gateway, Application Load Balance, S3 Batch, CloudFront
Asynchronous
• S3, SNS, CloudWatch Events / EventBridge
-
-
-
Destinations
-
• Send to: SQS, SNS, Lambda, EventBridge
-
CloudWatch Metrics
-
Invocations, Durations, Concurrent Executions
Error count, success rates, Throttles
-
-
X-Ray
-
-
Env Vars
-
AWS_XRAY_CONTENT_MISSING: default, LOG_ERROR
-
-
-
Performance
-
Execution Context
-
-
-
UC db connections, https clients
-
-
-
-
-
Lambda Authoriser
An Amazon API Gateway Lambda authoriser (formerly known as a custom authoriser) is a Lambda function that you provide to control access to your API. A Lambda authoriser uses bearer token authentication strategies, such as OAuth or SAML. Before creating an API Gateway Lambda authoriser, you must first create the AWS Lambda function that implements the logic to authorise and, if necessary, to authenticate the caller
API Gateway
-
-
-
-
-
Integration Types
MOCK
API Gateway returns a response without sending the request to the backend. Simulates the use of components for integration testing
HTTP / AWS
-
-
Mapping Templates
-
-
-
-
• Uses Velocity Template Language (VTL): for loop, if else etc
-
-
AWS_PROXY
-
-
o No mapping template, headers, query string params are passed as arguments
-
-
-
-
Monitoring
Cloudwatch Logs
-
Enable at stage level (ERROR, INFO)
-
-
-
-
-
-
Cognito
-
Cognito User Pools
Summary
-
-
-
-
-
• Federated Identities – Facebook, Google, Amazon
-
-
-
-
-
-
-
-
-
-
-
-
-
Cognito Sync
Amazon Cognito Sync is an AWS service and client library that enables cross-device syncing of application-related user data. You can use it to synchronize user profile data across mobile devices and the web without requiring your own backend. The client libraries cache data locally so your app can read and write data regardless of device connectivity status. When the device is online, you can synchronize data, and if you set up push sync, notify other devices immediately that an update is available.
-
-
-
-
-
Step Functions
-
States
-
-
• Pass State – Simply pass its input to its output or inject some fixed data, without performing work
-
-
-
-
-
Fargate
technology that you can use with Amazon ECS to run containers without having to manage servers or clusters of Amazon EC2 instances
-
-
-
-
-
Athena
-
-
• Supports CSV, JSON, ORC, Avro, and Parquet
-
-
-
-
-
-
-
-
CICD :clown_face:
CodeCommit (Deprecated)
Why use
-
-
-
• Fully managed, highly available
-
-
• Integrated with Jenkins, AWS CodeBuild and other CI tools
-
CodePipeline
-
• Source – Codecommit, ECR, S3, Bitbucket, GitHub
• Build – CodeBuild, Jenkins, CloudBees,
• Test – CodeBuild, AWS Device Farm, 3rd party tools
• Deploy – CodeDeploy, Elastic Beanstalk, CloudFormation, ECS, S3
• Invoke – Lambda, Steps Functions
-
Troubleshooting
Cloudwatch events - failed pipelines, cancelled stages
-
CodeBuild
• Source – CodeCommit, S3, Bitbucket, GitHub
-
-
-
-
-
-
-
-
-
-
CodeDeploy
-
• Deploy new applications versions to EC2, on-prem, lambda etc
• Automated rollback capability for failed deployments, or trigger CloudWatch alarm
-
-
-
-
-
-
-
Monitoring :sunglasses:
CloudWatch
Metrics
-
-
-
-
-
EC2
-
-
-
CloudWatch Agent
-
CloudWatch Unified Agent
Additional system level metrics: ram, processes
-
-
-
-
-
Logs
Log Groups
Arbitrary name, representing an application
-
-
-
-
-
-
-
-
-
-
-
CloudTrail
Governance, compliance and audit for AWS Account
-
-
-
-
Servers :control_knobs:
EC2 :computer:
Pricing
-
-
-
-
Dedicated Instances - own VPC, share with other EC2 from same account
-
-
-
-
ASG
-
-
In VPC, EC2s launched in own subnets
-
-
CLI
Credential Order
1 Command Line
2 Env Vars
3 Credentials file
4 Config file ~/.aws/config
5 Container credentials for ECS tasks
6 Instance profile credentials
-
-
-
-
-
Nitro Enclaves
Summary
-
• Fully isolated virtual machines, hardened and highly constrained
o Not a container, not a persistent storage, no interactive access, no external networking
-
-
-
Messaging :love_letter:
SQS
-
Attributes
-
-
-
-
-
-
-
-
Consumers
-
-
-
-
-
-
DLQ
MaxReceives goes onto DLQ
-
-
-
-
-
-
-
-
-
-
Kinesis
Attributes
-
Collect, process and analyse data in real-time
Products
Kinesis Data Streams
Capture, process and store data streams
Attributes
-
-
-
-
Producers
-
-
-
-
API
-
Batching
PutRecords
- 1 more item...
-
-
-
-
-
-
Kinesis Video Streams
Capture, process and store video streams
-