I’ll say what I said last time because I think it’s important enough to repeat: you have to label your arrows. You are severely limiting the value of your diagrams when the arrows aren’t labeled. If I were to translate your example diagram to prose, it would look like this:
Distribution is related to Server… somehow.
Server is related to PublicSubnet1… somehow.
PublicSubnet1 is related to VPC… somehow.
And so on. Sure, an experienced dev can probably guess at the relations, but if you’re serious about documenting a system, that shouldn’t be good enough.
Thank you for reporting this requirement once again. Currently, tooltips are put on edges to indicate the related property but this is only available on svg / interactive outputs.
My VPC is deployed into 1 stack and each microservice has then its own stack with arguments mapped to exports from the vpc stack.
The vpc stack exports its outputs with key names with format - ${StackName}-${OutputKey}
The microservice stack expects a parameter that represents the vpc stack name and then derives the output it needs based on the format above.
Question:
Does your app only work with yaml files (non-deployed stacks), or does it also take into consideration deployed stacks?
I am very much interested in seeing the “actual” resources across my infrastructure so that differences between environments/tenants are therefore more obvious.
Can the app take a list of deployed stacks and match then in a single diagram?
Id be interested in this response too - to take things further does it support outputs/imports - and to take is another step further does it support ssm parameters as references (e.g AWS::SSM::Parameter::Value)
Currently, nothing is done with outputs/imports. AWS::SSM::Parameter::Value is not supported but any AWS::SSM::Parameter::Value<…:Id> is supported. Don’t hesitate to create an issue and pull request. Contributions are welcome.
I still love Cloudcraft. I can filter the diagram to look at just what I want. I say it all the time, but how I wish AWS had bought the company and included the tech in everyone’s account.
These are still unusable and it’s still faster to just diagram the architecture out yourself.
I keep coming back every few months hoping that the diagrams are able to magically render data flow or network flow and then getting all sad after realizing they don’t.
Deployment dependencies (DependsOn, Ref, GetAtt) have very limited utility: they’re only good for troubleshooting CloudFormation deployments, but that’s not at all what people need diagrams for.
Thank you for this point of view, perhaps or not shared by many devops.
I am not so sure that drawing diagrams manually is faster that generating them automatically. This must be measured experimentally.
Perhaps you need architecture diagrams instead of infrastructure diagrams. Architecture diagrams focus on high level business aspects (like data flow) where infrastructure diagrams show a lot of low level technical details. Both kinds of diagrams have its own utility, they just target different use cases: business view vs technical view.
One future feature of AWS CloudFormation Diagrams will be to provide architecture diagrams. But this needs investigations to understand clearly what architects would like to see in the generated diagrams, and what they don’t care about. For instance, an architecture diagram for the WordPress use case should show only 2 nodes: the WordPressInstance using the WordPressDB. The rest is just technical aspects such as network and security. What do you thing about this?
Don’t get me wrong, manual diagramming still has high overhead and I strongly prefer an automated tool to help bootstrap it.
In this particular case, I mean the utility of the autogenerated CloudFormation diagrams is limited because they focus largely on things that are solved by CloudFormation already. Specifically: deployment dependencies. This graph is mostly useful when CloudFormation fails, but 90% of the time, that is not an issue and no one needs to look at it because CloudFormation largely just works.
Even in infrastructure engineering, what we care most about is how the cloud components are related in the space between deployments. I want to know how packets are routed, what sg rules allow and don’t allow, which lambda functions call which APIs. Diagrams assist with troubleshooting, planning, and review by subject matter experts.
Finally, no infrastructure is self-contained the point is to integrate with other software and systems, and there doesn’t appear to be clean way to relate components that exist outside of a stack.
I think there is great potential in autogenerating diagrams from CloudFormation, but there needs to be a way to annotate the invisible relationships that matter the most and remove autogenerated noise that is not as relevant. And I fully realize this is a hard problem to solve. I’m just suggesting it is a worthwhile problem to solve.
I really like the fact that you generate draw.io exports, this helps ease the ramp to adding useful context and denoising diagrams manually.
Also, I’m very curious about the architecture diagramming feature you alluded to. Are you willing to accept contributions or do you have an issue where you discuss the design/festure?