Firefly Backstage Plugin
Overview
Firefly integrates with Backstage to provide comprehensive cloud resource management capabilities directly within your Backstage instance. This integration consists of both frontend and backend plugins that work together to give you visibility and control over your cloud infrastructure.
Features
Backend Features
Asset Import: Import Firefly assets as catalog resource entities into Backstage
Cloud Account Integration: Import cloud accounts as system entities into Backstage
Relationship Mapping: Automatically map relationships between:
Cloud resources and systems
Existing components and cloud resources
Dependencies between cloud resources
Flexible Filtering: Filter assets by:
Asset types
Cloud accounts
Automatic Updates: Periodic checks for new assets (configurable interval)
Smart Correlation: Tag-based and name-based correlation between components and resources
Frontend Features
Dedicated Dashboard: A Firefly page showing:
Cloud resource key metrics
Number of cloud resources and systems
IaC coverage across infrastructure
Top 5 components with unmanaged/drifted and overall resources
Component Integration: Service component pages enhanced with IaC coverage information
Installation
Backend Plugin Installation
Install the plugin package:
Authenticate with Firefly:
Configure the plugin in your
app-config.yaml
:Add the plugin to your backend:
Frontend Plugin Installation
Install the plugin package:
Configure the plugin in your Backstage app:
Add the Firefly icon to your sidebar:
Add the IaC coverage card to entity pages:
How It Works
Backend Plugin
The backend plugin connects to Firefly's API and imports your cloud resources as Backstage catalog entities. It creates:
Resource entities: Representing individual cloud resources
System entities: Representing cloud accounts
The plugin establishes relationships between these entities, enabling you to visualize dependencies between cloud resources and systems. These relationships help track ownership, dependencies, and provide a comprehensive view of your cloud infrastructure within the Backstage ecosystem.
The plugin automatically relates existing components in your catalog to their corresponding cloud resources using two methods:
Tag-based correlation: Using the
tagKeysIdentifiers
configuration, the plugin finds components with matching tag key-value pairs.Name-based correlation: When
correlateByComponentName
is enabled, the plugin relates resources to components when a resource tag value matches a component name in your catalog.
Frontend Plugin
The frontend plugin provides:
A dedicated Firefly page (
/firefly
) with:Overview of cloud resources and systems
IaC coverage metrics
Top components with unmanaged/drifted and overall resources
Entity page integration showing IaC coverage for each component
Best Practices
Configure appropriate filters to limit the number of imported resources
Use consistent tagging across your cloud resources to improve correlation
Set a reasonable interval for periodic checks based on your infrastructure change frequency
Add the Firefly cards to entity page for maximum visibility
Troubleshooting
If you encounter issues with the integration:
Verify your Firefly API credentials are correct
Check the Backstage logs for any error messages
Ensure your configuration in
app-config.yaml
is properly formattedVerify network connectivity between your Backstage instance and Firefly
Read More
Last updated
Was this helpful?