PJ64's repositories
apigw_lambda_dynamodb
This example uses an Amazon API Gateway endpoint to allow application to add and manage items stored in DynamoDB. There are four AWS Lambda functions deployed behind the gateway endpoint, they are used to execute CRUD (create, read, update, delete) operations against an Amazon DynamoDB order table.
dynamodb_stream_cqrs
This is an example of a CQRS (command query response segregation) microservice pattern. This example also demonstrates using API Gateway mapping templates to directly update a DynamoDB table without invoking a Lambda function.
step_function_orchestration
In this example the AWS Step Function service uses a state machines to orchestrate the execution of AWS Lambda functions. A client sends a request to an Amazon API Gateway which in turn passes that request to the Step Function service. Included in the request sent to the Step Function service is the body of information to be processed and the state machine to be executed. The state machine begins by calling a Lambda function which writes input to a DynamoDB table. If that operation is successful the state machine calls the next function which writes the input as an object to an Amazon S3.
apigateway_s3
Something I have noticed while talking to customers, is that many of them are not aware how flexible Amazon API Gateway is. This tutorial demonstrates how to integrate Amazon API Gateway with Amazon S3 to perform basic S3 operations.
cognito_auth_jwt
This example deploys a microservice which uses an API Gateway endpoint, AWS Lambda functions, a DynamoDB table and an Amazon Cognito user pool as an authoriser. The POST method on the API Gateway allows authenticated requests only. This ensures that only authenticated users can POST to the endpoint.
dyanmodb_indexes
The example deploys an Amazon API Gateway, multiple AWS Lambda functions and an Amazon DynamoDB table with two indexes. The example demonstrates using DynamoDB indexes to support the different query patterns of a microservice.
event_sourcing_eventbridge
In this example Amazon EventBridge rules that are used to invoke Lambda functions when events are added to the EventBus. The EventBus sits behind a HTTP API endpoint, the client application pass a request to the api endpoint which includes a filtering attribute. The EventBus matches the attribute to a rule which then triggers a Lambda target.
event_sourcing_kinesis
This example demonstrates how to use Amazon Kinesis Data Streams in an event sourcing architecture.
PJ64
Config files for my GitHub profile.
python_scripts_for_aws
Python scripts used to work with AWS services
sqs_sns_lambda_dynamodb
Asynchronous communication is considered to be a best practice when building modern internet scale applications. By decoupling components, you enable those components to scale independently. In this example the Lambda functions communicates asynchronously using an Amazon SNS Topic and Amazon SQS Queue.