# On-premises deployment scoping checklist Everything settled before an installation on your own infrastructure is built. Each question below has a set of usual answers; we work through them with you, record the one you choose and who owns it, and the result decides what gets deployed and who supplies each piece. This is a **scoping** document — what is deployed and by whom. The installation work itself follows a component-by-component deployment and acceptance checklist, which is agreed with your engineers once scoping is done. Read it before the first technical call Nothing here needs answering in advance. Knowing which questions are coming, and who on your side answers each one, is what shortens the conversation from weeks to days. ## 1. Compute and disks **1.1. How is compute allocated?** Bare-metal servers · virtual machines on your own virtualisation (vSphere, Proxmox, Hyper-V, KVM) · instances in a cloud environment · something else. We record the count and sizes, who provisions them, and how we are granted access during the project phase. **1.2. What disks carry persistent data** — databases, message log, object storage? Local bare-metal disks · network block devices (SAN/iSCSI, Ceph RBD, cloud persistent disks) · something else. We record performance — IOPS and latency are critical for etcd, PostgreSQL and the message log — and who watches free space and owns expansion. **1.3. Minimum compute.** The floor is set by the component set, not by your call volume, and it is written out in full for both delivery options: - [Minimum system requirements — delivery on your own hardware](https://docs.aiva.apifonica.com/integration/system-requirements-on-premises/) - [Minimum system requirements — cloud delivery](https://docs.aiva.apifonica.com/integration/system-requirements-cloud/) Three constraints drive those numbers. **At least three Kubernetes nodes**: the SIP entry point’s replicas cannot share a node, and the third node is the failover margin. **At least three machines for the quorum services**: PostgreSQL’s coordination store, the Redis Sentinel quorum and the message log controllers each need an odd number of members, and fewer than three means no high availability. **SSD or NVMe** for the coordination store, the database write-ahead log and the message log. **1.4. Are GPUs needed?** Not for the standard delivery, where language, synthesis and recognition run on cloud providers. They are needed if those models run inside your perimeter instead, or if you bring machine-learning workloads of your own — then we record the model and count, the drivers and operator, and a dedicated node pool with a taint. **1.5. How many perimeters** — production, staging, test? Each gets its own pass through this checklist, or has its differences from the main one recorded. We note the isolation between them: networks, databases, observability, and database and bucket names that cannot collide. ## 2. Network and telephony **2.1. How does your telephony reach the SIP entry point?** Direct access over a private network, routed end to end without NAT · a site-to-site VPN, IPsec or WireGuard · NAT or port forwarding · a dedicated segment or DMZ interconnecting through your session border controller · the public internet with an IP allow-list · something else. NAT and SIP disagree SIP and SDP do not travel well through NAT, and the RTP range is wide. It is workable, but it needs particular care and it is worth saying early if it is your only option. The public internet is only acceptable with a session border controller on both sides, and we do not recommend it. We record the subnets and addresses on both sides, which side initiates traffic, and where the NAT sits. **2.2. Does the API and panel need public access?** Published only into your internal networks · published but restricted, through your VPN or an IP allow-list · public, with TLS, rate limiting and the expected traffic sources recorded. We record the DNS name and the publishing method. **2.3. How are TLS certificates issued and renewed?** ACME with an HTTP-01 challenge, which needs a public entry point on port 80 and cannot issue a wildcard · ACME with a DNS-01 challenge through your DNS provider’s API, which needs no public entry point and can issue a wildcard · static certificates from your own corporate PKI or purchased, loaded by hand or through the sync operator · something else. We record the coverage — public **and** internal endpoints — where the certificates live, **who owns reissuance**, and who watches expiry. **2.4. Interconnect details.** Worked through once 2.1–2.3 are answered. The output is a network requirements document for you: the SIP interconnect parameters and the firewall request. *The SIP trunk* - Your PBX or session border controller, the transport (UDP, TCP or TLS), and the interconnect method: IP peering without registration, which is our default, or SIP registration. - Trunk capacity: concurrent calls and calls per second, agreed against the load in section 11. - Codecs. The delivery default is G.722, PCMU and PCMA; any other set is agreed separately. - The signalling and media split. The SDP connection address does not point at the signalling address — media goes to the node carrying the call, bypassing the balancer in front of it. Your session border controller has to accept this, or media anchoring is required. *Firewall and network* - The firewall matrix: SIP ports, the RTP range, directions, and service flows such as SIP capture and metrics. - The RTP range, set explicitly in the delivery configuration rather than left at the image default, and matching that matrix. Bandwidth is about 100 kbit/s per call in each direction on G.711, multiplied by the concurrent-call figure. Add your QoS or DSCP requirements if your network applies them. - Service ports on components that use the host network are closed off from your networks by firewall, with default passwords replaced. - The consolidated egress table: the language, synthesis and recognition providers from section 7, the image registry from section 9, the configuration repository from section 5, and the secret store from section 8. Whether a corporate HTTP proxy sits in front of them, and what goes through it. *Site base services* - **DNS** — whose zone the service names live in, internal and public, and who creates the records. - **NTP** — the time source for the machines and the Kubernetes nodes. Without a common clock, log and trace correlation and TLS validation drift apart. - **Corporate PKI** — what it covers beyond 2.3: database TLS, service mTLS. ## 3. Data stores A choice is made per store, and one delivery may mix them. For each we record the variant, the endpoints and credentials, and who operates it — upgrades and monitoring included. | Store | Deployed by us | Supplied by you | | ------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | | PostgreSQL | Patroni high availability across three machines, with a coordination store, connection pooler and a read/write front | Your own or a managed service; we receive credentials, and the version is checked against our compatibility matrix | | Redis | Redis with Sentinel, quorum-based failover, append-only persistence, TLS | Your own or a managed service; credentials only | | ClickHouse | Agreed per delivery | Your own or a managed service; credentials only | | Message log (Kafka) | Agreed per delivery | Your own or a managed service; credentials only | | Object storage | S3-compatible storage on the delivery’s own servers, agreed per delivery | Any S3-compatible or cloud storage; the storage backend is pluggable | **Backups.** Who owns the lifecycle — taking them, storing them, and regularly verifying restores? Us, as part of the delivery with a runbook · you, following our runbook, and for managed services using the provider’s own means · a mix, which may differ per store. A high-availability cluster is not a backup Patroni and Sentinel survive a node failure. They do not survive a dropped table or logical corruption. Backups are mandatory under every variant, and so is an owner for verifying that a restore actually works. We record the target RPO and RTO, where backups live, and how often restores are verified. ## 4. Kubernetes **4.1. Who provisions the cluster?** We do, with our own infrastructure code · you do, and we hand over the minimum requirements: version, node count and size, CPU and RAM, storage classes, and the ability to use the host network for the SIP entry point · a managed cluster from a provider or your own platform. Under every variant the cluster is created through infrastructure code, with its location recorded; the version, release channel and CNI go into the deployment record; and an owner is named for cluster upgrades and patching. **4.2. Which CNI?** **Cilium**, or a distribution built on it, is the best fit — it is our reference CNI and its behaviour with host-network telephony is proven. Anything else (Calico, Flannel) needs a separate check: host network plus host ports for the SIP entry point, delivery of SIP and RTP over UDP to the node address, and the ability to attach an additional virtual IP to a node interface. **4.3. How are virtual IPs provided for the SIP entry point?** A cloud internal load balancer per replica · MetalLB with an L2/ARP announcement from a pool in the node subnet · a BGP announcement into your network · static virtual IPs in the node subnet · something else. We record the address pool, who allocates it, and the failover mechanics when a replica moves. **4.4. What the cluster has to permit.** Handed to whoever administers it, together with the minimum requirements: *The SIP entry point* - Host ports for SIP and the control interface; an init container attaches the virtual IP and edits packet filtering rules, so **elevated network privileges are required**. Your PodSecurity or policy engine must permit this explicitly in the telephony namespace — without it the delivery does not work. - The binding and announcement mechanics are adapted to the CNI in 4.2 and the virtual IP method in 4.3, and the combination is verified before telephony acceptance. - Anti-affinity: replicas do not share a node, so nodes are at least replicas plus one. *Call handling* - Media terminates on the pod address, so the pod network must not filter or inspect UDP between nodes and pods. - Real-time audio is sensitive to CPU throttling and preemption. Use a guaranteed service class, or avoid aggressive CPU limits, and add a priority class that protects against eviction under resource pressure. - Active calls live inside the pods. Stopping or recreating one goes through a graceful drain, never a plain delete. - No horizontal autoscaler — scaling is owned by the platform’s own controller. *Speech and language services* - Large images and model loading at startup mean a long initialisation. Probe timeouts are set leniently. *Cluster-wide agreements* - Node maintenance and upgrades break active calls. They go through the platform’s maintenance mechanics, in agreed windows. - **Sidecar injection is forbidden in the telephony namespaces.** A service mesh sidecar breaks SIP and RTP. - The standard namespace set is fixed: the secret sync allow-lists depend on it, and renaming is not available. ## 5. Configuration The installation’s configuration lives in a git repository — change history, review, rollback — and the same repository is what the deployment tool syncs from. **Where does that repository live?** In your git, where we create it and record our access during the project phase along with read access for the deployment tool · in ours, which means your cluster needs egress to it · in a bare repository on a persistent disk, or a bucket, which is the minimal variant with no review process and needs its own backup · something else. We record the change process — who pushes and from where — read access for the deployment tool, and repository backups. Git holds the applied values What is deployed into the cluster is reproducible from the repository, with secrets as references into the store. A local ignored copy acting as the real source of the live configuration is not acceptable. ## 6. Deployment and upgrades **Which deployment tool?** You already run one — Flux, Argo CD — and we integrate with it, which is estimated separately · we deploy **Flux**, the default · manual scripts, if you insist, with the risks recorded in writing along with the support limitations that follow. We record who presses the upgrade button: you, or us at your request. ## 7. Language, synthesis and recognition Language models and speech synthesis connect through adapter services — a single point with a fallback chain — and recognition connects to its configured provider. For each of the three, the options are the same shape: 1. **A cloud provider.** The usual answer. We record the provider and the egress it needs; language-model backends carry residency flags so requests can be routed accordingly. 2. **Inside your perimeter.** Agreed separately: it needs GPUs, and a check that scenario quality holds with the model you can host. 3. **Supplied by you.** A gateway with a compatible API attaches as one more backend, and response quality is then yours. Two things are settled for all three together: - **The data route.** Exactly what leaves the perimeter — dialogue text, audio — and to whom. This is the question that matters most to anyone who chose their own infrastructure for data control. - **An inventory of the actual egress points**, reconciled with the declared egress boundary and the consolidated table in 2.4. ## 8. Secrets An external secret store is a **mandatory component of every delivery**. Nothing we deploy keeps secrets in the clear in git or in manifests: they live in the store and are synced into Kubernetes secrets by an operator. **Which store?** Your existing one — Vault, OpenBao, Infisical, CyberArk — reused and integrated through the sync operator · one we deploy, agreed per delivery · something else. We record the list of secrets and their sources — application credentials, TLS and PKI, the registry pull secret, cloud provider keys — and who operates the store: backups, rotation, access. ## 9. Observability and delivery infrastructure Every component here is mandatory for a full delivery. Leaving one out of a specific delivery is possible, with the price of leaving it out recorded in writing. For each of **metrics** (Prometheus and Grafana), **logs** (Elasticsearch and Kibana) and **SIP traces**, the question is the same: a separate deployment for this environment, or an existing one reused? Reusing an existing one means recording the delivery method and retention, and a label or identifier range that keeps environments from mixing. No monitoring, no SLA Metrics are what make an SLA measurable and problems visible before they are reported. Logs are what make an incident investigable afterwards. SIP traces are the only way telephony problems get diagnosed at all. **Image registry.** A separate deployment for the environment, or an existing registry — ours or yours — with access and reachability recorded from both the cluster and the machine fleet. **Air-gap.** Must every image be available inside the perimeter? If yes, all of them, third-party ones included, are mirrored into an internal registry, deploying from public sources is forbidden, and we record how the mirror is populated and by whom. If no, we record the full list of external sources as egress exceptions. A mixed mode — product images from one registry, infrastructure images from public ones — is common. Two more, easy to forget: - Coverage is confirmed for **both layers**: the machine fleet and the Kubernetes applications. Cloud-native stopgaps do not count, because they do not carry over to your own infrastructure. - **Tracing** — separate or existing. ## 10. Operations and support **What access do we have to production?** This is recorded in the contract. None, with diagnostics reaching us through a support bundle, runbooks, or your hands · partial on request, over VPN or a jump host, following the contractual procedure · permanent, with the scope and the access audit recorded. The rest: - The procedure for handing us diagnostics during an incident: logs, configuration, SIP traces. - Everything not reproducible from infrastructure code, beyond the data stores covered in section 3: configuration, dashboards, the state of the secret store. - Retention requirements for data and call recordings, and the regulatory constraints behind them. - Site disaster tolerance — a single zone or a standby site, and site-level targets. This is beyond high availability within one site. - LDAP or single sign-on for your administrators to reach the operational interfaces. - Contacts and escalation paths on both sides. ## 11. Volume and load - Concurrent calls at peak, calls per day, and average duration. - The share of calls recorded, and how long recordings are kept. These are the inputs to the sizing calculation, and they are what turns the minimum configuration into the one you actually buy. *** Anything above that departs from our reference architecture is written up as a deviation with an estimate of the work attached, so nothing is agreed without its cost being visible. **[Talk to us](https://apifonica.com)** when you are ready to start.