Harsha Vardhan
Harsha Vardhan

Reputation: 227

Is there a way to visualize AWS current running infrastructure?

for example, how my ec2 instances are connected, how many different clusters available, what instances are behind ELB, what security groups are tagged to each instance, basically i'm looking for a architecture of my current AWS environment

Upvotes: 19

Views: 20135

Answers (9)

Francesco B.
Francesco B.

Reputation: 3097

A recent (2024) tool is Application Composer.

It's a visual designer that you can access from CloudFormation:

  1. Open an existing stack
  2. Click on "Update"
  3. Click on "Edit in Application Composer"

Limitations:

  1. If you have several stacks, you'll have to put them together (e.g. joining some screenshots)
  2. It can be very detailed
  3. It won't show some resources the way you might expect (e.g. IoT Core is not shown as a single block, but you'll see a block for each rule)

So far, I like it.

enter image description here

Upvotes: 1

Constantin Paigin
Constantin Paigin

Reputation: 61

I found AWS Perspective for visualization of the running infra.

Still playing with it. Seems a nice tool, but it's not free, full account discovery could take several hours. For example, after an hour and a half, I still do not see all my resources, especially serverless.

For me, the most informative charts are made by tags.

discovered resources

Upvotes: 1

Matt D
Matt D

Reputation: 3496

It may not be as convenient as the paid third-party apps that interrogate your account (makes me nervous), but I have previously done the following in the native AWS console:

  • Generate a CloudFormation template for the current account. Using Amazon's CloudFormer you can selectively generate a template for all of the resources in your account.

    CloudFormation > Create Stack > Select Template "CloudFormer" > Follow CloudFormer User Guide.

  • Visualise the Template in CloudFormation Once you have the CloudFormation json template for your account, copy and paste it into the CloudFormation Designer. Then you see all the resources and links, just spend a bit of time laying them out as you want them.

    CloudFormation > Create Stack > Design template > Template tab (at the bottom) > paste


Also, CloudCraft have a live update process, I do like their free online AWS drawing app. I have not tried the subscribed service with Live Update, but always considered giving it a go when I have a good reason to.


UPDATE 2021 - CloudFormer has been discontinued, instead have a look at Former2. Thanks to @Perplexabot for the suggestion.

Upvotes: 9

Edward Casanova
Edward Casanova

Reputation: 954

Using AWS CDK + AWS CloudDesigner =

AWS CDK Workshop - Framework for Infrastructure as Code (way better than Terraform and CloudFormation templates)

  1. In your workdir go to the folder "cdk.out"
  2. Go to "Nameofyourstack.template.json"
  3. Copy only the "Resources"
  4. Go to Cloud Designer
  5. In the bottom window pick the template tab

enter image description here

  1. Paste it and visualize it enter image description here

Upvotes: 1

Shahar Yakov
Shahar Yakov

Reputation: 426

I don't know any way to do so in retrospect but there are some tools to build and deploy AWS infrastructure so you always have an up-to-date visualization of it. You can use Altostra Designer to visualize your infrastructure and later on use it to manage your stacks.

Upvotes: 1

Marc
Marc

Reputation: 854

In 2021, this appears to be an acceptable open-source, self-hosted answer: https://github.com/duo-labs/cloudmapper

Blurb from the README:

CloudMapper helps you analyze your Amazon Web Services (AWS) environments. The original purpose was to generate network diagrams and display them in your browser. It now contains much more functionality, including auditing for security issues.

Upvotes: 1

Shelly Dar Rapaport
Shelly Dar Rapaport

Reputation: 96

Yes, You can use https://aws.amazon.com/solutions/implementations/aws-perspective/ AWS Perspective is a visualization tool that quickly generates architecture diagrams of AWS Cloud workloads.

Upvotes: 0

Abnerg
Abnerg

Reputation: 41

One challenge with most cloudformation visualizations is that they map every single resource instead of the logical entity. For example, a VPC is typically 20ish resources, but logically only one entity. The Stackery VS Code plugin is free and enables visualization and editing with logical entities. The editing is mostly focused on serverless apps, but can visualize all cloudformation resources.

In order to answer the question of "what's running right now" New Relic Infrastructure, Datadog, and Signalfx all have good solutions for doing that.

Upvotes: 2

st_rt_dl_8
st_rt_dl_8

Reputation: 317

As others have pointed out, your can either go with a slightly complex way by first using Cloudformer (I could never get it to depict the exact state) to create a CloudFormation template and then visualize the same using CloudFormation designer or just use a third party app e.g. VisualOps. From what I have read so far , this looks quite interesting and accurate. Here's a walkthrough.

Upvotes: 1

Related Questions