When launching EC2 instances on AWS, you might need to install and run the CloudFormation helper scripts (https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/releasehistory-aws-cfn-bootstrap.html). However, since February 2026, as of the latest CloudFormation helper scripts version 2.0-38 (released on 2025-12-04), installing them works fine, but running for example cfn-init causes an error: ModuleNotFoundError: No module named ‘pkg_resources’ The reason is this […]
Tag: aws
Amazon SQS Long Polling
I’ve recently used various kinds of message queues when building various apps that have needs to communicate with other parts of the app. For remote use, when the messaging parties are not on the same host, I’ve mostly used Amazon SQS, the Simple Queue Service. When using the SQS ReceiveMessage API call you can select […]
Creating an API with Amazon API Gateway and AWS Lambda
This is all about creating your first API in the Amazon cloud, serverless (= using someone else’s servers). In this example I’ll create: An AWS Lambda function (in Python) that is the code that does the things I want to do when someone calls my API An Amazon API Gateway that is the frontend for […]
Installing AWS CLI on Cygwin
To get AWS CLI working in Cygwin: Install “python2-pip” with the Cygwin installer (and accept whatever dependencies it brings) Run “pip2 install awscli“ See what you have: “aws –version“, and continue with the usual “aws configure” procedure. Using AWS CLI is not very fast in this setup however. For example, showing specific Virtual Private Gateway […]

