AWS, Cloud Computing, DevOps

4 Mins Read

Integrating AWS DevOps Services into Backstage – Part 1

Voiced by Amazon Polly

Overview

Ever found yourself juggling between multiple AWS consoles while trying to manage your development workflow? Backstage is Spotify’s open-source developer portal, changing the game for engineering teams worldwide. What makes Backstage truly powerful isn’t just what it does out of the box, but how you can transform it through its flexible plugin ecosystem.

Integrating DevOps tools directly into Backstage for teams building on AWS isn’t just convenient, it’s transformative. Imagine having your entire AWS development pipeline visible and manageable from a single pane of glass. No more context switching, no more hunting through different interfaces.

In this first part of our guide, we dive into four AWS services integrations: AWS CodePipeline, AWS CodeBuild, Amazon Elastic Container Registry, and Amazon Elastic Container Service. You won’t just learn how to set these up, you’ll see exactly how they fit into real-world development scenarios. We will walk through practical configurations, highlight time-saving features, and show you how to create that seamless developer experience your team has been craving.

Note: Make sure that the AWS IAM role(s) used by Backstage have permissions (least privilege) for the services.

Pioneers in Cloud Consulting & Migration Services

  • Reduced infrastructural costs
  • Accelerated application deployment
Get Started

AWS CodePipeline Plugin

AWS CodePipeline Plugin provides:

  1. Entity content that displays the AWS CodePipeline executions related to that specific entity
  2. Entity card that displays the status of the AWS CodePipeline stages related to that specific entity

Installation Steps:

  1. Frontend Package:

Install the frontend package in your Backstage app:

Edit packages/app/src/components/catalog/EntityPage.tsx to add AWS CodePipeline content to the CI/CD tab of the entity page:

2. Backend Package:

Install the backend package in your Backstage app:

Add the plugin to the packages/backend/src/index.ts:

3. Annotations:

The annotation references a specific AWS CodePipeline by ARN. This is done with the aws.amazon.com/aws-codepipeline-arn annotation:

backstage

AWS CodeBuild

AWS CodeBuild provides:

  1. An entity card that displays the build history of AWS CodeBuild projects related to that entity.

Installation Steps:

  1. Frontend package:

Install the frontend package in your Backstage app:

Edit packages/app/src/components/catalog/EntityPage.tsx to add the AWS CodeBuild card to the entity page:

2. Backend package:

Install the backend package in your Backstage app:

Add the plugin to the packages/backend/src/index.ts:

3. Annotations:

The annotation is to reference a specific Amazon ECS service by ARN. This is done with the aws.amazon.com/aws-codebuild-project-arn annotation:

backstage2

Amazon Elastic Container Registry (Amazon ECR)

Amazon Elastic Container Registry provides:

  1. Entity content that displays the Amazon Elastic Container Registry repositories related to that specific entity
  2. Ability to see scan findings for individual images

Installation Steps:

  1. Frontend package:

Install the frontend packages in your Backstage app:

Edit the packages/app/src/components/catalog/EntityPage.tsx and add the imports

2. Backend package:

Install the backend package in your Backstage app:

Add the plugin to the packages/backend/src/index.ts:

3. Annotation:

The annotation is to reference a specific Amazon ECR repository by ARN This is done with the aws.amazon.com/amazon-ecr-arn annotation:

4. Configuration:

There are configuration options available to control the behavior of the plugin.

Add the below in app-config.yaml file

backstage3

Amazon Elastic Container Service (Amazon ECS)

Amazon Elastic Container Service provides:

  1. Entity content that displays the status of Amazon ECS services related to that specific entity.

Installation Steps:

  1. Frontend package:

Install the frontend package in your Backstage app:

Edit packages/app/src/components/catalog/EntityPage.tsx to add an Amazon ECS service tab to the entity page:

2. Backend package:

Install the backend package in your Backstage app:

Add the plugin to the packages/backend/src/index.ts:

3. Annotation:

The alternative is to reference a specific Amazon ECS service by ARN. This is done with the aws.amazon.com/amazon-ecs-service-arn annotation:

backstage4

Conclusion

Integrating these AWS DevOps plugins into Backstage lets you transform your developer portal into a comprehensive command center for your AWS resources. Teams can now monitor builds, track deployments, and manage container images without leaving their central platform. Faster troubleshooting, improved visibility, and streamlined workflows.

But this is just the beginning of your Backstage DevOps journey. In Part 2, we will explore how to extend your toolkit with ArgoCD, Jenkins, Grafana, and Kubernetes plugins, creating a truly unified platform that bridges AWS services with the broader DevOps ecosystem.

Drop a query if you have any questions regarding Backstage and we will get back to you quickly.

Empowering organizations to become ‘data driven’ enterprises with our Cloud experts.

  • Reduced infrastructure costs
  • Timely data-driven decisions
Get Started

About CloudThat

CloudThat is an award-winning company and the first in India to offer cloud training and consulting services worldwide. As a Microsoft Solutions Partner, AWS Advanced Tier Training Partner, and Google Cloud Platform Partner, CloudThat has empowered over 850,000 professionals through 600+ cloud certifications winning global recognition for its training excellence including 20 MCT Trainers in Microsoft’s Global Top 100 and an impressive 12 awards in the last 8 years. CloudThat specializes in Cloud Migration, Data Platforms, DevOps, IoT, and cutting-edge technologies like Gen AI & AI/ML. It has delivered over 500 consulting projects for 250+ organizations in 30+ countries as it continues to empower professionals and enterprises to thrive in the digital-first world.

FAQs

1. Do I need AWS credentials configured on my Backstage instance to use these plugins?

ANS: – Yes, your Backstage instance requires proper AWS authentication. The recommended approach is to use AWS IAM roles with the principle of least privilege. Configure credentials through environment variables and AWS profiles, or, for production environments, consider using AWS IAM roles for Amazon EC2/Amazon EKS if Backstage is hosted on AWS.

2. Can I customize which AWS CodeBuild projects appear in my Backstage catalog?

ANS: – Absolutely! You can filter AWS CodeBuild projects using annotations in your component’s catalog-info.yaml files. This allows you to associate specific components with their corresponding build projects, ensuring developers only see relevant builds for their services rather than your entire AWS account’s projects.

WRITTEN BY Karnam Bhargava

Karnam Bhargava, Research Associate at CloudThat, combines AWS knowledge with DevOps skills. His passion for cloud technologies and infrastructure automation translates into insightful technical content. Continuously expanding his knowledge across containerization, GitOps, and emerging cloud services to deliver valuable community insights and innovative solutions.

Share

Comments

    Click to Comment

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!