The AWS Resources backend plugin fetches AWS resource data across specified regions, including VPCs, ECS Clusters, EC2 Instances, RDS Instances, Lambda functions, and more. It saves resource information to a database and caches data for optimized performance.
-
Install the backend plugin:
yarn --cwd packages/backend add @internal/backstage-plugin-aws-resources-backend
-
Add AWS configuration to your environment or
app-config.yaml
:aws: regions: - us-east-1 - us-west-2
-
Set AWS access credentials as environment variables:
export AWS_ACCESS_KEY_ID=your-access-key-id export AWS_SECRET_ACCESS_KEY=your-secret-access-key
-
Register the plugin in
packages/backend/src/index.ts
:const backend = createBackend(); // ... backend.add(import('@internal/backstage-plugin-aws-resources-backend'));