From IT Skills
Jump to: navigation, search

Event-driven architectures decouple code from state... Lambda functions are triggered by events via integrated event sources such as Amazon Simple Queue Service (SQS), Amazon Simple Notification Service (SNS), and Amazon Kinesis... API Gateway for API management, Amazon DynamoDB for data stores, and AWS #Step Functions for orchestration

Amplify for static web-site, CloudFormation for stack creation

Ways to deploy your Lambda


compled to a CloudFormation stack (and template) as a result


AWS CLI is a prerequisite for interacting with CodeCommit from the command line

aws configure


CopePipeline has Build providers: AWS CodeBuild and Jenkins


intermediate repositories that connect your repository to official package authorities, such as Maven Central Repository and Npm... NuGet... Domain is a grouping of repositories created in CodeArtifact. Every repository belongs to a single domain.

deploy providers: AWSdeployProviders.png

AWS Elastic Beanstalk is a compute service that makes it easy to deploy and manage applications in AWS... Environment - Collection of AWS resources provisioned by Elastic Beanstalk that are used to run your application. EC2 Instance - Virtual server in the cloud.

Elastic Beanstalk uses nginx as the reverse proxy to map your application to your Elastic Load Balancing load balancer on port 80.
Переместите ваше приложение с Heroku на AWS, когда первый вам станет не по карману.


Action providers: AWSactionProvidres.png

Lambdas: cold, warm, hot[edit]

Create Function

Lambda is the FaaS service (Function as a Service) in the AWS landscape. It is super-duper cheap... first time you call a function takes a bit more time to execute and respond.. “cold start”... Any further request will be handled by an already wrapped function inside a running container, so the function will have a “warm start”... in real world there’s something called “concurrency” which leads to a quite new occurrence called “scaling”... A function with hot start has the ability to predict the need of scaling, scales out beforehand

configure your AWS Lambda functions to run up to 15 minutes per execution. Previously, the maximum execution time (timeout) for a Lambda function was 5 minutes

When a function invocation fails for some reason, Lambda may retry multiple times... with the same event payload. This bahavior enables fault-tolerance in Lambda applications

Step Functions[edit]

Step Functions allow lambdas to share state without involving DynamoDB or any other data storage service... size of the event payload cannot exceed 32 kilobytes... If the data you are passing between states might surpass the limit, the recommended approach is to use S3 to store the data, and pass ARNs instead of the raw data... Step Functions also has a hard limit of 25,000 entries in the execution history.

AWS Step Functions tracks the state of each step, so you can automatically retry failed or timed-out tasks, catch specific errors, and recover gracefully... AWS Step Functions has built-in fault tolerance. Step Functions maintains service capacity across multiple Availability Zones in each region to help protect application workflows against individual machine or data center facility failures. There are no maintenance windows or scheduled downtimes.

visual workflow[edit]

Step Functions is a serverless orchestration service that lets you combine AWS Lambda functions and other AWS services to build business-critical applications. Through Step Functions' graphical console, you see your application’s workflow as a series of event-driven steps.



ElastiCache is a web service .. in-memory cache

ElastiCache Fully managed in-memory data store, compatible with Redis or Memcached. Power real-time applications with sub-millisecond latency.

SNS, SQS[edit]

SNS is a distributed publish-subscribe system. Messages are pushed to subscribers as and when they are sent by publishers to SNS. SQS is distributed queuing system. Messages are not pushed to receivers. Receivers have to poll or pull messages from SQS

SQS is like RabbitMQ

Dead-Letter Queue (DLQ). This queue can store messages for several days.. Send undeliverable messages to a dead-letter queue


Amazon Cloud Watch

S3 Storage Lens... first cloud storage analytics solution with support for AWS Organizations with 29+ usage and activity metrics and interactive dashboards to aggregate data for your entire organization, specific accounts, regions, buckets, or prefixes.

Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL.

With Redshift, you can query and combine exabytes of structured and semi-structured data across your data warehouse, operational database, and data lake using standard SQL.

Pages in category "AWS"

The following 8 pages are in this category, out of 8 total.