The Simplest Way to Make AWS Backup and Port Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

You link aws backup and port to track cloud backups inside your developer portal. This setup lets engineers check backup states and trigger safe restores from one screen. Cloud teams manage hundreds of storage volumes and databases across many accounts. Switching between the cloud console and your internal catalog wastes time during an outage. Putting backup data inside your portal gives every developer clear visibility into recovery points. Engineers can check if a database has a recent snapsh

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.

You link aws backup and port to track cloud backups inside your developer portal. This setup lets engineers check backup states and trigger safe restores from one screen.

Cloud teams manage hundreds of storage volumes and databases across many accounts. Switching between the cloud console and your internal catalog wastes time during an outage. Putting backup data inside your portal gives every developer clear visibility into recovery points. Engineers can check if a database has a recent snapshot before they deploy code.

How aws backup and port share data and permissions

These two tools talk through cloud events, API calls, and identity roles. First, the backup service runs scheduled jobs to save copies of your cloud resources. When a job finishes or fails, the cloud account emits a state change event. An event router catches this message and sends the payload to your portal webhook. The portal reads the JSON payload and updates the matching service entity right away.

Data also flows in the other direction when developers run self-service actions. A developer clicks a button in the portal to start an on-demand backup job. The portal sends a message to a workflow runner or a serverless function. That runner assumes a cloud role and calls the backup API to start work. Once the backup finishes, the cloud sends a new event back to the portal.

You can also run a scheduled sync job to pull recovery point details. This sync reads your backup vaults and maps each snapshot to an app owner. Teams see the exact age and status of their backups next to deployment logs.

Common failure modes and how to scope roles

Many teams make mistakes when they wire up permissions between these two systems. The most common error is using one shared service account with broad admin rights. If an attacker steals that static key, they can delete every backup vault. Another bad habit is giving the portal runner write rights across all cloud accounts. Unlogged API calls also create blind spots during security audits and incident reviews.

You can fix these risks by splitting read and write roles into separate paths. Give your data ingestion worker a read-only role that only lists backup job metadata. Never use long-lived access keys to link your portal runner to your cloud account. Use federated identity trust so your runner gets a short token for each task.

AWS IAM Policies + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Scope your restore roles down to specific backup vaults and target resource tags. Require a human approval step in the portal before any restore task can run. Log every action with the user identity from the portal and the cloud request.

Designing self-service backup actions for developers

A good portal setup keeps developers out of the raw cloud console during emergencies. You can build simple forms in the portal for common backup and restore tasks. Ask the user to pick the service name and the target recovery point ID. The form should validate that the user owns the service before sending the request.

Keep the action payload small and avoid passing raw cloud policies from the browser. Let your backend runner map the portal request to the safe cloud API call. When a restore starts, post the job status back to the portal activity feed. This clear feedback loop helps teams test their recovery plans every week without stress.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

How does Port get real-time updates from AWS Backup?

Your cloud account sends backup job state changes to an event bus. A rule forwards those events to a webhook endpoint that updates your portal catalog.

Can developers trigger a restore directly from the portal?

Yes, you can set up a self-service action in the portal for restores. The action calls a backend runner that assumes a scoped cloud role to run.

What permissions does the portal need to read backup status?

The sync worker only needs read permissions to list backup jobs and recovery points. Keep write and restore permissions in a separate role for approved workflows.

The query runs. The emails stay hidden.