This blog post gives an overview of how to connect an AWS Lambda function to an RDS instance to perform database operations. We will explore how to connect Lambda to RDS over the Internet or VPC, and how to make RDS publicly accessible.
This article explains how to handle SSL/TLS certificate verification errors that occur when making HTTPS requests in Node.js using Axios. The article recommends passing a custom httpsAgent option with rejectUnauthorized set to false to disable SSL/TLS certificate verification. However, the article emphasizes the importance of enabling certificate verification in production environments to ensure data security.
Retry with exponential backoff is a technique to handle network errors by retrying a failed request after waiting for an increasing amount of time between each retry attempt. In Node.js, you can implement retry with exponential backoff using the retry module or by building your own implementation. This technique is useful for dealing with unreliable networks or services that occasionally fail.
Amazon API Gateway integration with AWS WAF is a great way to protect your APIs from common web exploits that could affect application availability, compromise security, or consume excessive resources.
Recently, I worked on a project that required users to be able to sign in with their Google account and users to be able to link their Google account with their Cognito account. I found that there is not much information on the internet about how to do this. So I decided to write this article to share my experience. I will show you how to link a Cognito account with a Google account in the front end and back end.