CloudFormation Profiler

DALL·E 2024-12-29 10.08.32 - A landscape-oriented logo design featuring multiple simple cloud icons in the background and a large magnifying glass in the foreground, symbolizing a.webp

I couldn’t find a good CloudFormation profiler, so I built my own. CloudFormation Profiler analyzes stack events and shows resource deployment durations. It’s especially useful when you’re trying to optimize a stack you’re unfamiliar with or identify slow deployments.

Example Output

Analyzing stack: GravitygameStack

Resource deployment times (sorted by duration):

Resource: GravitygameStack (AWS::CloudFormation::Stack)
Start Time: 2023-10-19T11:33:23.937Z
End Time: 2023-10-19T11:35:07.854Z
Duration: 103.92 seconds

Resource: DeployWebsiteCustomResourceD116527B (Custom::CDKBucketDeployment)
Start Time: 2023-10-19T11:33:30.495Z
End Time: 2023-10-19T11:35:01.322Z
Duration: 90.83 seconds

Resource: DeployGameOfGravityWebsiteCustomResource26889C77 (Custom::CDKBucketDeployment)
Start Time: 2023-10-19T11:33:30.478Z
End Time: 2023-10-19T11:34:44.540Z
Duration: 74.06 seconds

Try It Out The tool is available on GitHub: https://github.com/bukov-ka/cloudformation-profiler.