InHouse Technology

How InHouseCloud works

Fonte: InHouseCloud · docs/customer/how-it-works.md, commit fbf0e45 de 01/12/2026 · Conteúdo em inglês

Nesta página

This page shows the machinery: where your apps and their data live, the path a request takes from the chat or the browser to an app, and how a change goes from a description to a running app. None of it depends on InHouse reading your apps' data.

Where your apps and data live

People reach the apps in two ways: from Claude or ChatGPT through the one InHouse connector, which inhouse.technology passes on to the company's MCP gateway, and from the browser through the company sign-in. Both arrive at the company's own machine on AWS. There, the MCP gateway and the company sign-in sit in front of the apps; each app runs in its own containers with its own database, file folder and storage bucket on shared services. A platform layer checks, approves, builds and deploys changes. Backups are copied off the machine to S3.

  • Two ways in, one company sign-in. From the chat, the one inhouse.technology connector reaches your company's MCP gateway with your identity attached; inhouse.technology passes the request on and does not store its content. From the browser, each app has its own address under your company's domain at inhouse.technology, and the company sign-in stands in front of every app: nobody reaches an app's pages without signing in with an account of your company.
  • One machine per company. InHouseCloud runs on the same dedicated machine as your InHouseOS, on AWS in us-east-1, with an encrypted disk and no inbound ports open: requests arrive through a Cloudflare tunnel. The Agents plan uses a bigger machine for the agents' browser and vault.
  • Each app in its own containers. Every app starts from the same stack (a FastAPI back end with a React front end, or a Node alternative) and runs in its own containers. It gets its own database and database user on the shared Postgres, its own Redis user, its own file folder and, when it asks for one, its own storage bucket with a key that cannot open another app's bucket. Credentials are generated on the machine, stay out of the app's source and are never shown in the chat.
  • A platform layer beside the apps. The company's app repositories, the checks, the change cards with approvals, the build and deploy, and the portal with each app's health, history and permissions all run on the same machine. The machine is one failure domain: a problem in the shared services can affect every app at once.
  • InHouse's team has no SSH. It reaches the machine only through AWS Systems Manager. Each session or command is read from AWS's own log (CloudTrail) and shown in your company's console, under Hosting, for one year. Automatic routines, such as backups, updates and diagnostics, are not in that log.
  • Backups. Snapshots of the machine's disk are copied to S3, encrypted at rest. The platform also keeps encrypted copies of the app databases, app files and platform configuration on the machine. Before relying on a backup, confirm its coverage, age and recovery options with InHouse; see Backups and support.

What is inside the machine

Inside the company's machine, three parts sit on its edge: the entrance, through which every request arrives without an open port, and the MCP gateway, the door for calls from the assistant, at the top; backups, whose encrypted copies leave the machine to S3, at the bottom. Inside, browser requests pass the router and the company sign-in before an app; the apps run in their own containers, and each app's data is kept apart in a shared database, cache and file storage. Beside them, the change path: the app repositories, the deploy trigger, the check sandbox and the deployer. The portal shows all of it.

An app needs more than its own code: a way in from the internet, a sign-in, somewhere to keep its code and history, a database, a way to deploy changes safely, and backups. A company that builds an internal app on its own sets each of these up and keeps them running. InHouseCloud brings them already installed and connected on your machine, and InHouse operates them. Three of them sit on the edge of the machine: the entrance and the MCP gateway, where requests come in, and the backups, which go out. These are the parts, what each one does for your apps and what it is built on:

Part What it does Built on
Entrance Keeps an outbound connection to Cloudflare open, so the machine has no open port: every request, from the browser or from the assistant, arrives through it. Cloudflare Tunnel
Router (proxy) Holds one address per app and its HTTPS certificate, and sends every browser request to the company sign-in before it reaches the app. Nginx Proxy Manager
Company sign-in (SSO) Checks every request to an app's pages and signs people in with their inhouse.technology account, so no app has its own password. It keeps the company's people and groups: inhouse.technology adds a person when they join and deactivates them when they leave. Authentik, with its own database
MCP gateway Receives each call from the assistant, checks who is asking and which tools they may use, passes the app a short-lived token of its own and records every write. InHouse code
App repositories (Git) One repository per app, with every change the assistant prepared and who approved it, so the history of each app can be read and an earlier version found. Gitea
Deploy trigger When an approved change reaches an app's main branch, starts the deploy job. The job cannot reach the machine's containers or settings. Gitea Actions
Check sandbox Builds a candidate and runs it with its database changes on throwaway containers and a temporary database, before anyone approves it. Docker
Deployer Confirms the change is an approved one, fetches and checks the code, builds a release and puts it into use: creates the app's database, cache user, storage bucket, address and sign-in entry, starts the app, waits for health and sign-in and writes the journal. InHouse code, with Docker BuildKit
Apps Each app runs in its own containers on an internal network that only the router and the gateway reach from outside. Docker Compose; FastAPI with React, or Node
Shared database One database server for all apps, with a separate database and user per app: an app's user cannot open another app's tables. PostgreSQL
Cache and queues Short-lived data and background jobs, with a user and a key prefix per app. Keep records that matter in the database, not here. Redis
File storage A bucket per app for uploads, with a key that opens only that bucket. Garage, compatible with S3
App folders A folder per app on the machine's encrypted disk, for files the app keeps itself. The machine's disk
Portal Shows each app with its health, change history and pending change cards, where owners set permissions, and the latest backup result. InHouse code
Backups Every day, encrypted copies of the app databases, the sign-in database, the repositories, file storage, app folders and platform settings; the machine's disk snapshots are also copied to S3. restic; AWS snapshots

With the Agents plan, two more parts run on a bigger machine: the agents' browser, which opens only the sites your administrators allow (built on Steel), and the vault, which holds the logins and API tokens agents use without seeing them (InHouse code).

Your apps share these services, which keeps each app small: it brings its own code and nothing else. It also means the machine is one place where a problem in a shared part, such as the database server, can affect every app at once. Ask: "Which of these parts does our expenses app use, and what would stop it from working?"

Who can do what

Role What they can do
Company member Opens the apps and uses the tools their groups allow; browses the catalog, prepares proposals and runs checks
App editor Requests changes to the app
App approver Decides the app's change cards, but not a change they requested
App publisher An editor whose own changes to an existing app go live without an approver, except changes that delete data, widen access or edit the app's access settings
App owner Edits and approves, and chooses the app's editors, approvers and publishers
Company admin Creates new apps (by default only admins can), chooses the lists with the owner and reads the history of writes made through the assistant

Until the owner sets those lists, every app member can edit and approve, and nobody publishes directly. Each app checks which records and actions a person may use; the platform proves who is asking and does not replace those checks. See People and permissions.

One request, end to end

You ask the assistant for something an app holds. The request goes through the InHouse connector to inhouse.technology, which signs you in and passes it to the company's MCP gateway with a token valid for five minutes. The gateway checks your company groups and the tool's restrictions, then calls the app with a separate token valid for five minutes and for that app only. The app decides which records you may see. For a write, the assistant asks you first; the gateway checks that the approver belongs to the company and records the request before and after calling the app.

  • The gateway checks who you are, on every call. It accepts only a short-lived token for your company and checks your company groups and any restriction the app sets on a tool for groups or named people. A tool you may not use is hidden from your assistant and refused if called.
  • The app gets its own token, not yours. The gateway calls the app with a token valid for five minutes, for that app only and with the permissions its settings give your groups. An app cannot reuse it against another app, the gateway or the sign-in.
  • The app decides what you see. It filters records for you exactly as it does when you open it in the browser.
  • Writes need a person. The assistant asks you before an action that changes data. The gateway checks that the person named as approver belongs to the company and records the request, with recognized secrets hidden, before and after calling the app. Admins can read that history. The gateway cannot see the conversation, so the assistant must ask first.

Ask: "Before you change anything in this app, tell me which tool you will call and what will change."

How a change becomes a running app

You describe an app or a change. The assistant prepares it and the platform checks it on throwaway resources: requirements, known credential patterns and platform rules, and, when runtime checking is on, a build, the database changes on temporary data, health and sign-in. Deploying creates a change card; an approver decides it in the portal or in the chat. After approval the platform records the change in the app's repository, builds a release, applies it and waits for health and sign-in, and keeps a journal entry that allows going back to the previous release.

  1. You describe it. The assistant prepares the app or the change from the company's stack and the platform's rules.
  2. The platform checks it on throwaway resources. Checks cover the app's requirements, known credential patterns and platform rules. When runtime checking is on, the platform also builds the app, runs its database changes on temporary data, starts it and tests health and sign-in. Your live app and its data are not touched.
  3. A person approves. Deploying creates a change card in the portal. An approver decides it there or in the chat. A publisher's own change to an existing app skips this step, unless it deletes data, widens access or edits the access settings.
  4. The platform deploys. It records the change in the app's repository, builds a release, applies it and waits for the app to answer health and sign-in. Each deploy is written to the app's journal before anything changes.
  5. Going back. InHouse can return the app to the previous release while it is still kept. That restores the app's code and configuration, not its data: database changes are not undone.

A passed check is not proof that an app has no security defects or works with all your real data. Read Build or change an app and Security and privacy for the limits.

Ask: "Show me the last changes to this app, who approved them and whether each one is healthy."