The Simplest Way to Make Backstage and Ec2 Systems Manager Work Like They Should
Pairing backstage and ec2 systems manager lets your team run server tasks from one portal. Developers trigger cloud jobs through catalog cards while AWS checks their permissions. Most teams want a single place to view apps and run daily server fixes. Backstage gives your engineers a clear catalog of all services and cloud hosts. AWS EC2 Systems Manager runs commands and patches on those hosts without open inbound ports. When you link them, developers do not need to switch between the portal and
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Pairing backstage and ec2 systems manager lets your team run server tasks from one portal. Developers trigger cloud jobs through catalog cards while AWS checks their permissions.
Most teams want a single place to view apps and run daily server fixes. Backstage gives your engineers a clear catalog of all services and cloud hosts. AWS EC2 Systems Manager runs commands and patches on those hosts without open inbound ports. When you link them, developers do not need to switch between the portal and AWS. They can check host status, start a shell, or run a script from the catalog.
How backstage and ec2 systems manager share roles and data
To make backstage and ec2 systems manager work together, you must link user identities. A developer logs into the portal using your main identity provider. The portal reads the catalog file for a service and finds the matching AWS tags. When the user clicks an action, the portal calls the AWS API on their behalf.
Do not use one static AWS key for the whole portal backend. Instead, map the portal user or team group to a specific AWS role. The portal assumes that role for a short time to send the request. EC2 Systems Manager checks the role rules and tags before it runs the command. After the task finishes, AWS writes the output to your cloud logs. The portal then reads those logs and shows the status to the developer.
Common failure modes and how to scope permissions
Many teams fail because they give the portal backend a broad admin role in AWS. If one developer can trigger that role, anyone in the portal can change production hosts. Shared service accounts also hide who ran a command when you check the audit trail. AWS logs will only show the portal role name instead of the real developer name.
You can fix this by passing the user identity into the AWS role session name. Then every cloud log entry shows the exact email of the person who clicked run. You should also scope roles by matching service tags in the catalog to host tags. A payment team member should only trigger tasks on hosts tagged for the payment app. Keep network paths tight by running portal backend calls through private cloud endpoints.
GCP Access Context Manager + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Setting up safe workflows for daily server tasks
Start small by exposing read-only checks in the developer portal first. Let teams view host health, patch state, and active tasks on their service pages. Once the role mapping works well, add fixed task templates for common fixes. For example, let developers restart a stuck worker or pull fresh app logs.
Avoid giving raw shell access through the portal for routine work. Fixed task documents in AWS limit what commands a user can run on a host. If your team outputs database query results in task logs, watch out for private data. Data masking rewrites matched fields like emails, phone numbers, or card numbers in results. This keeps sensitive user details out of your central log buckets and portal screens.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
How does Backstage match a service to the right EC2 instances?
You add AWS resource tags or instance IDs to the service file in your catalog. The portal reads those tags and queries EC2 Systems Manager for matching hosts.
Can we track which developer ran a command from the portal?
Yes, if you pass the portal user identity when assuming the AWS role. CloudTrail and Systems Manager logs will record that user tag on every action.
Do we need to open SSH ports for this integration to work?
No, EC2 Systems Manager uses a small agent on the host that talks outbound. Your hosts stay on private subnets with no inbound ports open to the portal.
Related guides
In this post