aws-solutions-constructs
serverless
aws-solutions-constructs | serverless | |
---|---|---|
3 | 24 | |
1,165 | 2,217 | |
0.9% | - | |
8.9 | 0.0 | |
8 days ago | 3 months ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
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.
aws-solutions-constructs
-
I looked through attacks in my access logs. Here's what I found
This is helpful! I found some CDK libraries that allows for connecting a load balancer or Cloudfront to WAF with a few lines of code. I'll give it a try! [1] [2].
--
1: https://github.com/awslabs/aws-solutions-constructs/tree/mai...
2: https://constructs.dev/search?q=waf&cdk=aws-cdk&cdkver=2&lan...
-
Why are pulumi examples repo not showing good re-useable design patterns
I have seen the pulumi registry is somewhat similar to construct hub but AWS provides solution construct patterns https://github.com/awslabs/aws-solutions-constructs which are best practice solutions. I did not know about pulumiverse seems more like registry not patterns or well archited solutions.
-
AWS CDK - Versioning your applications
Take a look at the AWS Solutions Constructs and how they are packaged. I think that's what you're describing. I've packaged dozens of Constructs this way and imo being able to package IaC so easily like this is one of the most under appreciated aspects of the CDK.
serverless
- Using Flask for API development
- Where can I find examples of cloud architectures ?
-
Confused around serverless trends and need opinion on the architecture.
I don't know any tutorials that cover all of these, but check out: https://cdkpatterns.com/ for 1) https://docs.aws.amazon.com/cdk/v2/guide/cdk_pipeline.html for 2) 3) and 5) https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-cdk-testing.html for 4)
-
Why are pulumi examples repo not showing good re-useable design patterns
I would like to see re-useable design patterns advocated similar to the terraform/terragrunt modules concepts. Encouraging pulumi.ComponentResource definitions multi environment structure, best practices. The cdk guys have something similar https://cdkpatterns.com/.
- Lambda best approach
-
Building a Flutter application (for Web) with AWS Lambda Function URL backend using AWS CDK Pipelines (written in Java)
While writing this post, the four stacks combined are 129 lines of source code. With the help of the CDK Constructs that are being used this translates to over 1k lines of code in CloudFormation. We are only using L2 constructs here β there is way more constructs available that you can use in the Constructs Hub and also a lot of guidance regarding the usage of CDK over at CDKPatterns.
-
In a serverless architecture, is it best to handle all API methods of a single entity in one lambda function with one API endpoint, or create an API endpoint for each and a lambda as a result?
I use the "Lambda-lith" pattern, primarily because I am using Rust and deploying via CI/CD (codepipeline).
-
Learning Lambda
Here is a read of common lambda design pattern https://github.com/cdk-patterns/serverless/blob/main/the-lambda-trilogy/README.md
- Makefile to manage containers ?
-
What Are AWS CDK Constructs, Stacks and How To Use Them
Level 3 constructs are opinionated units of reusable code which often deliver a service. Open source level 3 constructs are available from AWS Solutions Constructs - an extension to the CDK, CDK Patterns - a library of well-architected patterns, Construct Hub - a library of open-source constructs and some even come out of the box with the CDK - these are appended with 'patterns' to make them identifiable. Two examples are shown below:
What are some alternatives?
pulumi-examples
nx-serverless - π The Ultimate Monorepo Starter for Node.js Serverless Applications
lift - Expanding Serverless Framework beyond functions using the AWS CDK
terraform-aws-appsync - Terraform module to create AWS AWS AppSync resources πΊπ¦
terraform-aws-next-js - Terraform module for building and deploying Next.js apps to AWS. Supports SSR (Lambda), Static (S3) and API (Lambda) pages.
sst-start-demo - A simple SST app to demo the new `sst start` command
aws-sam-typescript-layers-example - Example project for developing AWS Lambda functions on TypeScript with all goodies: local development, tests, debugging, shared layers (3rd party and your own), and deploy.
typedorm - Strongly typed ORM for DynamoDB - Built with the single-table-design pattern in mind.
valheim-ecs-fargate-cdk - AWS CDK/Cloudformation to deploy a Valheim Server using ECS Fargate!
org-formation-cli - Better than landingzones!
sns-sqs-big-payload - Amazon SNS/SQS client library that enables sending and receiving messages with payload larger than 256KiB via Amazon S3.
serverless-adapter - Run REST APIs and other web applications using your existing Node.js application framework (NestJS, Express, Koa, tRPC, Fastify and many others), on top of AWS, Azure, Huawei and many other clouds.