Boto3

Python Script to Fix "Export EXPORT_NAME cannot be updated as it is in use by STACK_NAME" error in AWS CloudFormation

If you use AWS CloudFormation, you might have encountered an issue while trying to update stacks if the stacks are updated. The error looks something like this: Export EXPORT_NAME cannot be updated as it is in use by STACK_NAME If you use AWS CDK, you might still face issues while deploying stacks, as AWS CDK generates a CloudFormation template during deployment.

How to SSH into an EC2 instance using Boto3

The simplest way to programmatically SSH into an EC2 instance is to using the Paramiko package. In this post, I will show you how to use this package to SSH with multiple retries and then execute your commands on it.