Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure infrastructure support #61

Open
meshuga opened this issue Jun 13, 2020 · 8 comments
Open

Azure infrastructure support #61

meshuga opened this issue Jun 13, 2020 · 8 comments
Labels
AZURE Azure enhancement New feature or request
Milestone

Comments

@meshuga
Copy link
Member

meshuga commented Jun 13, 2020

It should be possible to report Azure VMs, network infrastructure and DBs.

@leandrodamascena leandrodamascena added enhancement New feature or request AZURE Azure labels Jun 14, 2020
@leandrodamascena leandrodamascena pinned this issue Jun 14, 2020
@javiplx
Copy link

javiplx commented Jul 13, 2020

Is there any ongoing effort on this direction? I'm interested on azure support, and also able to help development.
In case I need to start from scratch, is there any documenation pointing to the way to extend to a different cloud provider?

@meshuga
Copy link
Member Author

meshuga commented Jul 13, 2020

Thanks for the interest in the feature!

Adding a new provider is one of functionalities we want to focus on in this release.

We already made steps to be able to support other cloud providers but need to make some fixes to make things work well.

I already got an account I am willing to add Azure support but need to ask for an input. Do you know what resources would have highest priority to focus on?

@meshuga meshuga added this to the Version 3.0.0 milestone Jul 13, 2020
@javiplx
Copy link

javiplx commented Jul 13, 2020

No real idea. I've just landed in an azure based Project, and reached this project from https://github.com/mingrammer/diagrams, while thinking how to make my own discovery.
Probably the best is to start with networks/compute, and from what I've seen it is probably good idea to use the resource group as mandatory parameter.

Looking at the code, I believe that going to multicloud will require some important changes in project structure. So I will probably start my own path trying to mimic your structure in the hope that it might become mergeable in the future.

@leandrodamascena
Copy link
Member

Thank you for the interest in help this project @javiplx.

We think that we can support new providers this month.. And you might start code your own script (a standalone script) to discover Azure resources and we can merge after that. If you want, we can do this in this way.

Thank you again.

@anon65856
Copy link

Any update on this at all?

@meshuga
Copy link
Member Author

meshuga commented Nov 20, 2020

Thanks @anon65856 for the question. I've been talking yesterday with @leandrodamascena on work to add GCP + Azure (finally). I hope to add support for them although it's been a bumpy year...

@gentleadam
Copy link

gentleadam commented Jan 15, 2021

I've been watching this project for a while and really want to see some Azure support. I'm a beginner to Python and would love to contribute. I wonder if there's any documentation or pointers you can give me to assist @meshuga ?

@jacorbello
Copy link

jacorbello commented Feb 9, 2021

I am beginning to work on this issue. There's a few updates to the core services that need to be changed in order to support multiple cloud providers. I have one PR #177 open right now to refactor the CLI to support [cloud provider] [resource] formatting against the CLI.

Next tasks that I can tell:

  • CLI Refactor
  • Generalize the command_runner
  • Update cache locations to support the new provider/resource format: /../provider/[aws|az]/resource/[network|iam|security] for example
  • Generalize the command arguments. Instead of vendor-specific calls such as aws vpc, let's consider using more generic languages: aws network or az network

There's probably more tasks to add to the list above, but this is a definite starting point.

Btw, new dependencies to support Azure (to be added to the requirements.txt file in my next PR): azure-mgmt-resource and azure-identity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AZURE Azure enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants