serverless-patterns
aws-cdk
Our great sponsors
serverless-patterns | aws-cdk | |
---|---|---|
32 | 263 | |
1,449 | 11,121 | |
3.1% | 1.2% | |
9.9 | 9.9 | |
about 15 hours ago | 6 days ago | |
Python | TypeScript | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
serverless-patterns
-
Generative (A)IaC in the IDE with Application Composer
You may be aware of Serverlessland, a treasure trove of developer-centered content and examples of serverless applications. I decided to take one of their more popular (and AI-focused) tutorials, titled βUse GenAI capabilities to build a chatbotβ, and recreate it with App Composer and our trusty AI assistant. Here we go!
- AWS Lambda: Serverless Computing Made Easy
-
Simple AWS: 20 Advanced Tips for Lambda
Serverless Land is a place with a ton of serverless resources.
-
A Beginner's Guide to the Serverless Application Model (SAM)
If you're looking for examples, you can check out my GitHub, it's full of SAM templates that cover a wide range of use cases. Serverless Land is another fantastic resource full of reference material. If you are trying to build something but can't quite figure it out in SAM, remember - it's all just CloudFormation. Browse the docs to see how to define that stubborn resource.
-
Introducing samp-cli for local lambda debugging
I will use dynamodb-streams-to-eventbridge-outbox-pattern by David Boyne as an example.
- Aws lambda
-
SQS -> SNS pattern??
This is definitely not the most common pattern. As an independent data point, you can look at the AWS-maintained serverlessland.com, where ALL the patterns that include SNS and SQS are going SNS > SQS.
-
What are your study methods for AWS certs?
For all my associated exams I used Mareek/TD, labs and for SAP also went through SAP course of A. Cantrill, also tools like https://serverlessland.com/ and aws event talks on YouTube can help you understand concepts.
-
AWS Resources for noob
For serverless, serverlessland.com
-
What are some senior level learning resources you recommend for improving as a backend engineer?
If youβre using AWS serverlessland is maintained by AWS and has great resources
aws-cdk
-
Deploy Laravel API To AWS Lambda
environment: Specifies the environment variable that will be available to our Lambda function. In this case I wrote an environment for RDS Database. Anyway, later I will write about AWS CDK using Python for creating database clusters, etc.
-
Building an Amazon Location Service Resources with AWS CDK and AWS CloudFormation
Today, I will show you how to build Amazon Location Service, which allows you to build location-based applications within your AWS environment using AWS Cloud Development Kit (AWS CDK) and AWS CloudFormation. I will also show examples of the recently popular CDK Migrate and AWS CloudFormation IaC generator.
-
DevSecOps with AWS- IaC at scale - Building your own platform - Part 1
AWS Cloud Development Kit (CDK): is an open-source software development framework to define your cloud application resources using familiar programming languages.
-
Cloud, why so difficult? π€·ββοΈ
I am not one to build programming languages on a whim. In fact, I've spent the last five years building the AWS CDK, which is a multi-language library that addresses some of the challenges I am talking about by allowing developers to define cloud infrastructure using their favorite programming language.
-
Create a Next.js Server Component S3 Picture Uploader with SST
I recently started exploring SST as an alternative to my favorite full-stack set consisting of Projen, AWS CDK, and React. I have been thoroughly impressed with the experience so far. In this article, I will demonstrate how to create a Next.js App Router S3 Picture Uploader using SST.
-
Starting My AWS Certification Journey as a Certified Cloud Practitioner
AWS CDK
-
Cloud Garbage ποΈ
For KMS π, Each key is ~$1/mo, and with CDK, keys are generated on a massive scale, if not centralized.
-
Building Serverless Applications On AWS: A Practical Guide To Managing Event Processing
Here is a github repository containing the code and instructions on how to automate this whole setup using AWS CDK.
-
How to Implement and Deploy a Smart Contract Event Listener with AWS CDK
Now that you have a working smart contract event listener, we'll deploy the resources to AWS using AWS CDK, which is an Infrastructure as Code (IaC) tool. AWS CDK allows you to configure, deploy, and manage AWS cloud resources using popular programming languages such as TypeScript.
-
Serverless Scheduled Reporting Service with AWS EventBridge, Lambda, SNS, and CDK
β¨ Synthesis time: 14.44s CdkScheduledReportingStack: start: Building f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region CdkScheduledReportingStack: success: Built f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region CdkScheduledReportingStack: start: Publishing f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region CdkScheduledReportingStack: start: Building 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: success: Built 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: start: Publishing 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: success: Published 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: success: Published f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region This deployment will make potentially sensitive changes according to your current security approval level (--require-approval broadening). Please confirm you intend to make the following modifications: IAM Statement Changes βββββ¬βββββββββββββββββββββββββββββββββββββββββ¬βββββββββ¬ββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββ β β Resource β Effect β Action β Principal β Condition β βββββΌβββββββββββββββββββββββββββββββββββββββββΌβββββββββΌββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββ€ β + β ${SalesReportFunction.Arn} β Allow β lambda:InvokeFunction β Service:events.amazonaws.com β "ArnLike": { β β β β β β β "AWS:SourceArn": "${Rule.Arn}" β β β β β β β } β βββββΌβββββββββββββββββββββββββββββββββββββββββΌβββββββββΌββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββ€ β + β ${SalesReportFunction/ServiceRole.Arn} β Allow β sts:AssumeRole β Service:lambda.amazonaws.com β β βββββΌβββββββββββββββββββββββββββββββββββββββββΌβββββββββΌββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββ€ β + β ${SalesReportTopic} β Allow β sns:Publish β AWS:${SalesReportFunction/ServiceRole} β β βββββ΄βββββββββββββββββββββββββββββββββββββββββ΄βββββββββ΄ββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββ IAM Policy Changes βββββ¬βββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β β Resource β Managed Policy ARN β βββββΌβββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β + β ${SalesReportFunction/ServiceRole} β arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole β βββββ΄βββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ (NOTE: There may be security-related changes not in this list. See https://github.com/aws/aws-cdk/issues/1299) Do you wish to deploy these changes (y/n)?
What are some alternatives?
sst - Build modern full-stack applications on AWS
serverless-offline - Emulate AWS Ξ» and API Gateway locally when developing your Serverless project
aws-cdk-local - Thin wrapper script for using the AWS CDK CLI with LocalStack
up - Deploy infinitely scalable serverless apps, apis, and sites in seconds to AWS.
middy - π΅ The stylish Node.js middleware engine for AWS Lambda π΅
aws-lambda-runtime-interface-emulator
ts-node - TypeScript execution and REPL for node.js
serverless-graphql - Serverless GraphQL Examples for AWS AppSync and Apollo
diy-sveltekit-cdk-adapter - An exercise on deploying SvelteKit with CDK
serverless-application-model - The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates.
SvelteKit - web development, streamlined