VMware vSphere
Firefly integrates with VMware vSphere to pull inventory from your vCenter environment — virtual machines, hosts, clusters, datastores, networks, folders, tags, and IAM — directly into your Firefly Inventory. This enables you to view, codify, and govern on-prem and hybrid-cloud workloads alongside your public cloud assets, applying the same IaC, policy, and drift detection practices across your entire estate.
Best Practices
For governance, mark your production integrations using the "Mark as Production" option during setup (or edit later in the Integrations window).
Use a dedicated vCenter service account for Firefly with read-only permissions rather than sharing an existing admin account.
Store vCenter credentials securely — Firefly encrypts them at rest, but rotate the password periodically per your security policy.
Integration Method
vSphere is typically deployed on-prem or in a private network not directly reachable from Firefly's cloud. Integration is performed via the Firefly UI, with connectivity established through the Firefly Private Connector (relay tunnel) when vCenter is not internet-exposed.
Prerequisites
vCenter 7.0 or later
vCenter service account with read access to the inventory you want Firefly to scan (Datacenter, VM, Host, Datastore, Network, Tag read permissions)
Firefly Private Connector deployed in the network where vCenter is reachable — see Firefly Private Connector (required only if vCenter is not publicly reachable)
Network access from the connector host to vCenter on port 443
Setup Procedure
In Firefly, go to Settings > Integrations.
Select Add New > vSphere.
Enter the following fields:
Name — Integration name as it will appear in Firefly
vCenter URL — Hostname or relay endpoint (e.g.
https://vcenter.example.comorhttps://<tunnel-id>.relay.firefly.ai)Username — vCenter service account (e.g.
firefly-readonly@vsphere.local)Password — Service account password
Mark as Production (optional) — Flags this integration as a production environment in Firefly
Click Save. Firefly verifies the connection and begins scanning.
View discovered assets in the Inventory after several minutes.
Editing Credentials
To rotate the password or update the vCenter URL:
Go to Settings > Integrations > vSphere.
On the integration menu, select Edit.
Update the relevant fields. The password is masked — re-enter it to update.
Click Save.
Supported Resources
Firefly currently supports 27 vSphere resource types:
Datacenter & Folder
vsphere_datacentervsphere_folder
Virtual Machine
vsphere_virtual_machinevsphere_virtual_machine_snapshot
Datastore / Storage
vsphere_datastore_clustervsphere_vmfs_datastorevsphere_nas_datastorevsphere_vm_storage_policy
Network
vsphere_distributed_virtual_switchvsphere_distributed_port_groupvsphere_host_port_groupvsphere_host_virtual_switch
Compute
vsphere_compute_clustervsphere_resource_poolvsphere_hostvsphere_vapp_containervsphere_compute_cluster_vm_groupvsphere_compute_cluster_host_groupvsphere_compute_cluster_vm_affinity_rulevsphere_compute_cluster_vm_anti_affinity_rule
Tag
vsphere_tagvsphere_tag_categoryvsphere_custom_attribute
IAM
vsphere_rolevsphere_entity_permissions
Content Library
vsphere_content_libraryvsphere_content_library_item
vSphere Discovery Status
To scan your integration for changes and discover new assets on-demand:
Procedure
Go to Settings > Integrations > vSphere.
Find the integration you want to scan.
For asset changes, on the integration menu, select Scan Assets.
For IaC stacks changes, on the integration menu, select Scan Stacks.
View changes in the Inventory and/or IaC Explorer after several minutes.
Event-Driven Integration
Firefly polls the vCenter Events API to detect changes in your vSphere environment (VM lifecycle, power state, cluster events). A watermark mechanism ensures no events are missed or duplicated between polls.
Codification
vSphere resources discovered in Inventory can be codified into Terraform using the VMware vSphere Terraform provider. Select an unmanaged vSphere resource in Inventory and choose Codify to generate the corresponding Terraform configuration.
Additional Resources
Firefly Private Connector — Relay setup for on-prem vCenter
Last updated
Was this helpful?