Day: May 10, 2020

Dive deep on the lockout policy of AWS Cognito

Yes. AWS Cognito does implement a lockout policy by default, but the policy is not public to customer due to security reasons. While I cannot provide specifics of algorithms, I would like to give you some general information about the behaviour that can be expected. Cognito User Pools implements a throttling and backoff mechanism where supplied passwords for a given…

Read More »

Error: You have exceeded the maximum limit for HyperPlane ENIs for your account.

The Hyperplane ENI is a managed network resource that the Lambda service controls, allowing multiple execution environments to securely access resources inside of VPCs in your account. Instead of the previous solution of mapping network interfaces in your VPC directly to Lambda execution environments, network interfaces in your VPC are mapped to the Hyperplane ENI and the functions connect using…

Read More »

Error: “ModuleNotFoundError” when I set up a lambda function importing the python package called “paramiko”

Actually “ModuleNotFoundError” and “Module cannot be loaded” are common errors for Lambda functions in Python. These errors are usually due to incorrect folder structure or file permissions with the deployment package .zip file. The detailed solution is as below. I use Python 3.6 and launch an EC2 instanc using Amazon Linux (AMI – amzn-ami-hvm-2018.03.0.20181129-x86_64-gp2).  Then I executed follow commands to…

Read More »

How do I use a HAR file for troubleshooting issues?

An HTTP Archive (HAR) file is a JSON file that contains the latest network activity recorded by your browser. It tracks all the logging of web browser’s interaction with a site. It contains a log of HTTP requests and responses so that it is excellent for debugging HTTP sessions, such as slow page load, timeout, incorrect page format, missing information etc….

Read More »