Resolve and AWS PrivateLink: Reaching Private Infrastructure Today

Resolve in CloudThinker Cloud doesn't connect over PrivateLink. Here are the three ways it does reach private infrastructure, with commands: an allowlisted endpoint and a read-only credential, an environment inside your network, or an early-access self-hosted deployment, the only place PrivateLink appears.

WTWin Tran

ProductUpdated Nov 2, 2026

Cover Image for Resolve and AWS PrivateLink: Reaching Private Infrastructure Today

Resolve and AWS PrivateLink: Reaching Private Infrastructure Today

The security review for a new incident tool usually stalls on one arrow in the architecture diagram: the one from the vendor's cloud into your production VPC. The tool needs the Kubernetes API, Prometheus and the database. Your security lead points at the arrow and asks the obvious question: can it come in over PrivateLink?

For Resolve running in CloudThinker Cloud, the straight answer is no. Its connections run from CloudThinker Cloud, so each service it reads needs an endpoint that accepts traffic from the internet. You can make that endpoint answer only CloudThinker's egress IPs and a read-only credential, keep other hosts private behind an environment, or run CloudThinker inside your own AWS account, which is where PrivateLink actually appears.

Two questions, not one

A private network path answers "can anything on the internet reach this?" It doesn't answer "what can CloudThinker do once it's connected?" Those are separate controls, and a good design sets both.

01Network

Who can connect

An allowlist, an environment or a private deployment decides which traffic reaches the service at all.

02Credential

What it can do

A read-only role means a misused credential can read metrics, not delete a deployment.

Network isolation and credential scope are separate controls. Set both.

The second control matters more than it looks. If a credential were ever misused, a read-only role limits the damage to "someone can see your metrics", not "someone can delete your deployment". That's true whether the packets crossed the internet, a VPN or PrivateLink. Every option below keeps the credential read-only to start, and every one leaves the off switch with you.

01Available today

Allowlisted endpoint

Each service answers only CloudThinker egress IPs, with a read-only credential.

02Beta

Environment

A machine in your network connects out on 443 and runs the tools you install.

03Early access

Self-hosted

CloudThinker runs in your AWS account, reaching AWS services over PrivateLink.

Three ways Resolve reaches private infrastructure. PrivateLink appears only in the third.

Option 1: an allowlisted endpoint and a read-only credential

This is how most teams connect Resolve today. Each service gets an endpoint that only CloudThinker's egress IPs can reach, plus a credential that can only read. CloudThinker doesn't publish the egress list in its docs, so ask your CloudThinker contact for it. Never expose a service with no authentication.

Kubernetes API. A private-only EKS endpoint fails the connection test, because commands run in CloudThinker Cloud. Keep public access on but restricted, and keep private access on for clients inside the VPC:

aws eks update-cluster-config \
  --name prod \
  --resources-vpc-config endpointPublicAccess=true,endpointPrivateAccess=true,publicAccessCidrs="<egress-ip-1>/32,<egress-ip-2>/32,<your-admin-cidr>"

On GKE the same control is authorized networks, and on AKS it's authorized IP ranges. Managed kubeconfigs that sign in through the aws, gcloud or az exec plugins don't work in CloudThinker, so the Kubernetes setup guide builds one from a dedicated service-account token instead. Its role reads and nothing else, and it can't read Secrets:

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: cloudthinker-reader
rules:
  - apiGroups: ['']
    resources:
      [
        'pods',
        'pods/log',
        'nodes',
        'namespaces',
        'services',
        'endpoints',
        'events',
      ]
    verbs: ['get', 'list', 'watch']
  - apiGroups: ['apps']
    resources: ['deployments', 'replicasets', 'statefulsets', 'daemonsets']
    verbs: ['get', 'list', 'watch']
  - apiGroups: ['autoscaling']
    resources: ['horizontalpodautoscalers']
    verbs: ['get', 'list', 'watch']
  - apiGroups: ['metrics.k8s.io']
    resources: ['pods', 'nodes']
    verbs: ['get', 'list']

Prometheus and other HTTP services. Put them behind a load balancer or ingress with TLS and an auth proxy that checks a bearer token or Basic auth. The certificate must be publicly trusted, because the connection has no field for a private CA. On AWS, the security group on that load balancer is where the allowlist lives:

aws ec2 authorize-security-group-ingress \
  --group-id <load-balancer-sg-id> \
  --ip-permissions 'IpProtocol=tcp,FromPort=443,ToPort=443,IpRanges=[{CidrIp=<egress-ip-1>/32,Description=CloudThinker}]'

PostgreSQL. There's no private-link or VPN option for this connection. Expose an endpoint restricted to the egress IPs, the same way on port 5432. Exposing a read replica keeps the primary private, with one catch: the replica's query statistics cover only its own workload. Create a dedicated user, and grant pg_monitor so it can see every session and lock:

CREATE ROLE cloudthinker_readonly WITH LOGIN PASSWORD '<secure-password>';
GRANT CONNECT ON DATABASE app TO cloudthinker_readonly;
GRANT USAGE ON SCHEMA public TO cloudthinker_readonly;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO cloudthinker_readonly;
GRANT pg_monitor TO cloudthinker_readonly;

CloudThinker runs this connection in restricted mode, so every query is read-only even if the grants would allow more.

Redis. VPC-only services such as Amazon ElastiCache and MemoryDB can't be connected directly. Most teams don't need to: if redis_exporter already feeds Prometheus, Resolve reads cache health from there and Redis stays private.

Option 2: an environment inside your network

An environment (in beta) is a folder on a machine you run, where the agent can run commands. It connects out to app.cloudthinker.io over HTTPS on port 443, so nothing inbound opens:

cloudthinker worker outpost create ops-vpc --shared
cloudthinker worker start --outpost ops-vpc --workdir /srv/cloudthinker --background

An environment doesn't make a connection private. Workspace connections still run in CloudThinker Cloud, even in a chat that runs in the environment. Instead, you install the service's own tool and credentials on the connected machine, and the agent's shell uses them there. A shared environment can also run Automations, which suits a scheduled check against something only your network can see:

redis-cli --tls -h <elasticache-primary-endpoint> INFO stats

Two things to know. The service won't appear under Connections, because its credentials live in the environment. And shell commands in an environment aren't sandboxed: they run as the OS account you started the worker process with. Use a dedicated, non-admin account.

Option 3: self-hosted, where PrivateLink comes in

When policy says nothing may leave your perimeter, CloudThinker can run single-tenant inside your own AWS accounts. Self-hosted deployments are in early access, offered through a design-partner program, and their components are confirmed during onboarding.

The AWS reference architecture has no internet gateway, public IP or public load balancer. Users and connections reach it over Direct Connect or Site-to-Site VPN through Transit Gateway. Amazon EKS runs with a private API endpoint, and agent commands run on a sandbox node group kept apart from the platform. Data is encrypted with KMS keys you manage, and models run on Amazon Bedrock in your account or your own provider.

This is the only place PrivateLink appears, and the direction is the reverse of the usual vendor diagram. You aren't publishing an endpoint service for CloudThinker to consume. CloudThinker runs in your VPC, and you consume AWS's own services through interface endpoints, so the platform calls ECR, Secrets Manager, KMS, CloudWatch and S3 without leaving the private network:

aws ec2 create-vpc-endpoint \
  --vpc-id <vpc-id> \
  --vpc-endpoint-type Interface \
  --service-name com.amazonaws.<region>.secretsmanager \
  --subnet-ids <subnet-a> <subnet-b> <subnet-c> \
  --security-group-ids <endpoint-sg-id> \
  --private-dns-enabled

Repeat it for ecr.api, ecr.dkr, kms, logs and monitoring, and add a gateway endpoint for S3. Azure and Google Cloud follow the same pattern with Private Link and Private Service Connect.

One investigation, reads only

Checkout p95 climbs at 14:20. Resolve has three readings to test, all through the read-only connections from Option 1. This one is illustrative.

01Signal

p95 at 14:20

Checkout latency climbs. Three readings to test.

02Cache

Ruled out

Eviction rate in Prometheus is flat.

03Database

Ruled out

Primary connections hold at 40% with no step.

04Change

Rollout at 14:17

A new ReplicaSet three minutes before the p95 step.

05Propose

Rollback

A write, so it goes through Auto Mode.

An illustrative investigation. Every step is a read; only the proposed fix would write.

The cache is degraded. If true, evictions jump. Resolve queries Prometheus for rate(redis_evicted_keys_total[5m]) and finds it flat. Ruled out.

The database is saturated. If true, connections sit near max_connections on the primary. The replica can't answer that, since its statistics cover only its own workload, so Resolve reads the primary's CloudWatch metrics through the AWS connection:

aws cloudwatch get-metric-statistics \
  --namespace AWS/RDS --metric-name DatabaseConnections \
  --dimensions Name=DBInstanceIdentifier,Value=checkout-primary \
  --start-time 2026-11-02T13:50:00Z --end-time 2026-11-02T14:40:00Z \
  --period 60 --statistics Maximum

Connections hold at about 40% of the limit with no step at 14:20. Ruled out.

A change landed. If true, the API tier shows a new ReplicaSet just before 14:20. kubectl get rs -n api (a list, which the reader role allows) shows a rollout at 14:17, and Prometheus shows the p95 step three minutes later.

The finding names the 14:17 rollout as the cause, labeled Inferred because the evidence is timing plus a matching metric step, and proposes a rollback. The rollback is a write. It goes through Auto Mode, and it can only run if you've granted write RBAC for that namespace. Nothing in the investigation needed a write permission or a new network path.

Which option fits

Allowlisted endpointEnvironment in your networkSelf-hosted with PrivateLink
Inbound path to the serviceOnly CloudThinker's egress IPsNone; the worker process connects out on 443None; private network only
Where credentials liveCloudThinker Cloud, encryptedOn the connected machineYour own accounts
Shows under ConnectionsYesNoYes
How you cut it offRemove the IP rule or revoke the credentialStop the worker processIt's your platform to turn off
AvailabilityAvailable todayBetaEarly access

The deeper difference is who holds each end of the arrow. With an allowlist, you hold the firewall rule and the credential, and CloudThinker holds nothing you can't revoke from your side. With an environment, you hold the machine. With self-hosted, you hold everything, and PrivateLink is one of the tools you use to keep it private.

Getting started

Start with one service on Option 1 and a read-only credential, then check what Resolve can see:

"List every connection in this workspace, the endpoint each one reaches and the permissions its credential holds. Flag any that could write."

"Checkout p95 has been climbing since 14:20. Investigate across Prometheus, the database metrics and recent rollouts, and propose a fix. Change nothing."

Ask your CloudThinker contact for the egress IP list. For a self-hosted deployment, contact us with your region, network and compliance requirements.

Connect a source and ask your first question in Resolve.

Related reading

privatelinkvpcendpointresolvepulsesecuritynetworkingleastprivilegecompliancecloudthinker