Amazon Aurora is a fully managed relational database engine that is compatible with MySQL and PostgreSQL. In this article, I will explain how you can invoke an AWS Lambda function from an Amazon Aurora MySQL cluster with the native function lambda_sync or lambda_async . Refer to the original article that I published on https://duleendra.medium.com
Category: CDK
Querying Data in S3 Using Amazon S3 Select
We can use Amazon S3 Select to retrieve a subset of data from an S3 object using simple SQL statements. Since Amazon S3 Select filters a subset of data, it will help to reduce the data transfer cost and latency of an application. Amazon S3 select supports data stored in CSV, JSON, or Apache Parquet formats. Refer…
Amazon EventBridge Custom Event Bus Example
We can use the AWS EventBridge event bus to receive events from various event sources such as AWS services, custom applications, SasS applications, etc. To do that, AWS EventBridge provides two types of event buses such as default and custom. In this example, I will show you how we can use a custom event bus to receive events….
Automated Image Scanning with AWS CodePipeline & ECR
In this post, I am going to explain how we can scan docker images for vulnerabilities from a CI/CD pipeline. I use AWS CodePipeline to scan Docker images stored in AWS ECR. Refer to the original article that I published on https://duleendra.medium.com
HTTP API Private Integration with Amazon ECS
In this post, I want to show you the API Gateway private integration feature with an ECS service running inside a private subnet. With this feature, we can easily expose any private API to the outside of the VPC. Refer to the original article that I published on https://duleendra.medium.com
AWS Config Auto Remediation for Enabling S3 Bucket Logging
AWS Config Auto Remediation feature helps to automatically remediate non-compliant resources evaluated by AWS Config rules. Refer to the original article that I published on https://duleendra.medium.com
Lambda Canary Based Deployment Using CodePipeline, CodeDeploy, and SAM
In this post, I will show you how we can deploy an AWS Lambda function using the “canary-based” deployment strategy. Refer to the original article that I published on https://duleendra.medium.com
Creating an ECS Scheduled Task Using AWS CDK
Amazon ECS supports creating scheduled tasks. Scheduled tasks use Amazon EventBridge rules to run tasks. In this example, I will show you how we can run a simple cron job using the ECS schedule task. Refer to the original article that I published on https://duleendra.medium.com
CloudWatch Lamba Subscription Filter (CDK-Demo)
In this article, I want to show you how we can use the AWS CloudWatch subscription filter for filtering logs and forward them to a lambda function. Simple Usecase Filter critical app errors and send a real-time notification to a Slack channel with error information. Note that I use AWS CDK for creating the infrastructure….
ECS Service Communication Using an Internal Load Balancer
When you deploy microservices on to ECS, handling internal communication between containers is a challenging task. However, AWS has provided few options to address this concern such as using service discovery, internal load balancer, or using a service mesh. In this article, I will show you how we can use an internal load balancer for…