Month: May 2020

Top tips to improve your site’s search results on Google: Optimize your site for search engines

Here are a few simple ideas that can help Google understand your site, and help the right people find it. Be descriptive: Use accurate, descriptive titles for your pages. We recommend putting different topics, products, or services on different pages, one topic (or closely related set of items) per page. Be complete: Mention everything that you have to offer. Google is smart, but…

Read More »

How does Oauth 2.0 work with AWS Cognito?

As you may know, with Cognito user pools, you can enable your web and mobile app users to sign up and sign in. Moreover Cognito user pools support the OAuth 2.0 authorization framework for authenticating users. For example, after you configure a domain for the user pool [1], Cognito automatically provisions a hosted UI that enables you to easily add…

Read More »

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 »