Sometimes times when you are deploy a CloudFormation stack, you end up in a strange situation where the deployment seems to go on forever. The tasks aren't deploy, fail health checks and ECS just keeps starting new tasks. Your waiting and waiting and waiting. You already know how to fix it and ready to move on, however, CloudFormation just keeps trying. This is a really frustrating experience.
One of the common situations is where a company is using Microsoft Active Directory for authentication and authorization, but they want to use AWS resources for their cloud workloads. In this case, you can use a Site-to-Site VPN to connect the two environments.
The AWS Cloud Development Kit (CDK) allows you to define cloud infrastructure using familiar programming languages. While CDK provides a wide range of constructs, there are scenarios where you might need to create custom resources to extend its capabilities.