aws-secrets-manager-rotation-lambdas
serverless-application-model
aws-secrets-manager-rotation-lambdas | serverless-application-model | |
---|---|---|
4 | 98 | |
306 | 9,241 | |
1.3% | 0.2% | |
5.1 | 9.2 | |
17 days ago | 2 days ago | |
Python | Python | |
MIT No Attribution | 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.
aws-secrets-manager-rotation-lambdas
- How does your company do secret management? AWS/GCP/Azure/Vault/CyberArk etc. thoughts?
-
How to store (or Not) your DB password in AWS
Create a new Lambda function that will handle the rotation - here is a template https://github.com/aws-samples/aws-secrets-manager-rotation-lambdas/blob/master/SecretsManagerRDSMySQLRotationMultiUser/lambda_function.py - I created it in a separate folder within the same repository. If you are like me, new to using Python, you could use this helpful guide:https://docs.aws.amazon.com/lambda/latest/dg/python-package.html.
-
Secrets Manager vs Env Variables for Postgres DB
One extra benefit of using Secrets Manager is that you can enable secret rotation. You can find reference implementations for the rotation lambda here https://github.com/aws-samples/aws-secrets-manager-rotation-lambdas
-
deploying AWS provided lambda with terraform, problem with dependencies
I would like to deploy SecretsManagerRDSPostgreSQLRotationMultiUser lambda with terraform; meaning I would store source code of lambda linked above in my repository and use terraform to package it into zip file, including dependencies and then upload it to AWS.
serverless-application-model
-
Simple and Cost-Effective Testing Using Functions
The complete solution with SAM is available here.
-
Deploying a Serverless Dash App with AWS SAM and Lambda
There are many options to deploy Serverless Applications in AWS and one of them is SAM, the Serverless Application Model. I chose to use it here, because it doesn't add too many layers of abstraction between what's being deployed and the code we write and our infrastructure is quite simple.
-
Serverless Apache Zeppelin on AWS
The solution uses AWS SAM with the global configuration for Lambda functions and the public API you can use to access Apache Zeppelin. The stack deployment provides the URL as an output value.
-
Using design patterns in AWS Lambda
When you combine this with the AWS Serverless Application Model you can also very easily include your dependencies. Or use a compiled language like golang for your Lambda functions. You simply run sam build before you run the aws cloudformation package and aws cloudformation deploy commands. SAM will build the binary and update the template to point to the newly built binary. Package will then upload it to S3 and replace the local reference to the S3 location. Deploy can then create or update the stack or you can use the CloudFormation integration in CodePipeline.
-
Serverless Site Health Check Notification System
I'm a big fan of using an Infrastructure as Code (IaC) approach for any project. My go to tools for this are the Servlerless Application Model (SAM) and it's associated CLI (SAM CLI). For more official use cases and for cross platform apps I typically use Terraform.
-
Starting My AWS Certification Journey as a Certified Cloud Practitioner
AWS SAM
-
API Gateway, Lambda, DynamoDB and Rust
Kicking off the tour and not starting a war, but I'm going to be using the Serverless Application Model.
-
Consuming an SQS Event with Lambda and Rust
The diagram here is super simple. I'm going to write something a little later that shows how this code could fit into a bigger workflow, but for now, I'm keeping it basic. And yes, that's the SAM Squirrel in there.
-
AWS Data Engineer Associate Certification - Coming Soon
Interestingly, AWS CDK and SAM are both explicitly mentioned. While CDK broadly addresses Infrastructure as Code, SAM is highlighted for its role in developing serverless data pipelines - a hugely underrated concept.
-
A Beginner's Guide to the Serverless Application Model (SAM)
Naturally, there are several options available to declare your cloud resources. The options with the most popularity are the CDK, AWS CloudFormation, SST, Serverless framework, Terraform, and AWS SAM. There are others, but when talking about Infrastructure as Code (IaC), these are the ones you hear about most often.
What are some alternatives?
chalice - Python Serverless Microframework for AWS
aws-elastic-beanstalk-cli - The EB CLI is a command line interface for Elastic Beanstalk that provides interactive commands that simplify creating, updating and monitoring environments from a local repository.
serverless-micro-django - Lightweight yet powerful python utility for lambda functions, Use Django ORM in your Python lambda functions
LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline
aws-lambda-chaos-injection - Chaos Injection library for AWS Lambda
Moto - A library that allows you to easily mock out tests based on AWS infrastructure.
cloudformation-templates - Templates which can be used to automate infrastructure deployments in AWS
sst-start-demo - A simple SST app to demo the new `sst start` command
ssl-check-api - This api returns the ssl expiration date of the hostname.
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
aws-sam-cli - CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
aws-lambda-runtime-interface-emulator