Infrastructure & Dependency Management Policy

Last Updated: November 13, 2026


Purpose

This policy describes how Close-Rate manages its cloud infrastructure, application dependencies, deployments, and operational monitoring. We use managed AWS services to reduce operational overhead.

Infrastructure Overview

All Close-Rate services run on Amazon Web Services (AWS) in the US-East-1 (Virginia) region:

  • Compute: AWS ECS on Fargate — fully managed container hosting with automatic scaling, health checks, and zero-downtime deployments behind an Application Load Balancer

  • Frontend Hosting: AWS Amplify — managed static hosting with CloudFront CDN and automatic SSL. A release is built when we start it, normally from our deploy workflow

  • Database: Amazon RDS Aurora PostgreSQL — managed relational database with automated backups (seven days of point-in-time recovery) and encryption at rest. It sits inside our private AWS network (VPC) and is not reachable from the public internet

  • Search: Transcript search indexes (text chunks and embeddings) are stored in the Amazon RDS Aurora PostgreSQL database above, using the pgvector extension — not a separate search service. They share the database's encryption at rest and private, VPC-only network access

  • Object Storage: Amazon S3 — for call transcripts and the Company Context files customers upload, with server-side encryption (SSE-S3, AES-256). Call audio is streamed to a temporary file for transcription and deleted afterwards; PDFs are generated on demand and not persisted. Customer data is private with no public access — a single dedicated public/ prefix hosts one non-sensitive marketing video used on the website

  • DNS: Hosted in Amazon Route 53. The website is served through AWS CloudFront and the API through our Application Load Balancer

Dependency Management

Backend (Python)

  • Python 3.11 runtime

  • Dependencies installed at exact versions pinned in our requirements and constraints files

  • Key dependencies: FastAPI, SQLAlchemy 2.0, httpx, PyJWT, boto3, pydantic, cryptography, reportlab

  • Our automated checks (GitHub Actions) run ruff (lint), pytest (unit + integration) and pip-audit (dependency advisories) whenever a change can affect the backend. An advisory that has a fix fails the checks, unless we have recorded why its upgrade can wait and a date to review it

  • Dependencies are updated when an advisory affects them and during regular maintenance

Frontend (JavaScript/TypeScript)

  • React 19 with TypeScript 4.9 (react-scripts 5.0.1 / Create React App)

  • Dependencies managed via npm with package-lock.json for deterministic builds

  • Key dependencies: Material UI (MUI v7), Clerk React SDK, Axios, TanStack Query, PostHog

  • Our automated checks (GitHub Actions) run tsc --noEmit, the Jest tests, npm audit and a production build with ESLint warnings treated as errors, whenever a change can affect the frontend. npm audit results are reported and do not block a release

Third-Party Services

  • Anthropic (Claude Opus): Primary analysis/reasoning model for coaching-report generation and AI Insights chat; receives conversation transcript text. Anthropic's commercial terms say it may not train models on customer content sent through its services. Anthropic has a SOC 2 Type II report

  • OpenAI: Text embeddings (text-embedding-3-large), participant extraction and other short text tasks, profile narrative updates and fallback evidence ranking. Also the backup model, used when the primary model fails, for AI Insights answers, sales scripts, objection cheat sheets and the practice buyer library. Receives transcript text. OpenAI says data sent to its API is not used to train its models unless the customer opts in to share it. OpenAI has a SOC 2 Type II report.

  • AssemblyAI: Audio transcription only; receives call audio and returns the transcript. AssemblyAI has a SOC 2 Type 2 report. Since October 15, 2026, our account has been opted out of AssemblyAI's model improvement program, which AssemblyAI says means it does not use the call audio we send it to train its models or for benchmarking. The account is set so that AssemblyAI begins deleting each call's audio and transcript one day after the request; it keeps certain metadata for logging and billing, and its terms let it keep de-identified data made from the audio for purposes other than training its models

  • TypeSafe: Chooses the kind of answer a coaching question needs, and ranks transcript excerpts the person asking is already allowed to see against that question; receives the question and short excerpts. TypeSafe's privacy policy says it does not train or fine-tune models on the input customers send it

  • Clerk: Authentication and user management. Clerk has a SOC 2 Type II report

  • Zoom: Read-only OAuth integration for cloud meeting recording and Zoom Phone call recording import. Zoom has a SOC 2 Type II report and ISO 27001 certification

  • PostHog: Product analytics and session replay: page views, clicks and scrolls. On signed-in screens, text and typed input are masked, so conversation content, report text and rep or customer names are not captured. Signed-in activity is linked to the user's account

Change Management

  • All code changes are tracked in version control (Git)

  • Most infrastructure (networking, the database, access permissions and secrets) is changed in the AWS console or command line. Most of our CloudWatch alarms, and the development environment's sleep schedule, are defined as CloudFormation templates in our repository; the others were created in the AWS console

  • Database schema changes are managed through Alembic migrations, which auto-run as a one-shot in-VPC ECS task before the new tasks serve traffic

  • The application's secrets and API keys are managed through AWS Secrets Manager and ECS task definitions, not in our source code

  • Frontend releases are built and served by AWS Amplify. We start them by hand, normally from our deploy workflow

  • Backend releases normally run from our deploy workflow (GitHub Actions), which we start by hand. It builds a Docker image, pushes to Amazon ECR, and rolls the ECS service with zero-downtime rolling updates gated by ALB health checks; the workflow reports a failure if the new version does not finish rolling out

Build & Deployment Pipeline

  • Frontend: Normally our deploy workflow (started by hand; requires passing checks on the exact commit) → AWS Amplify build (npm ci, production build, prerendered public pages and their tests) → static asset deployment to CloudFront CDN

  • Backend: Normally our deploy workflow (started by hand; requires passing checks, including ruff, pytest and pip-audit, on the exact commit) → Docker build → push to Amazon ECR → Alembic migration (one-shot in-VPC ECS task) → ECS task definition update → ALB health check → traffic shift; the workflow reports a failure if the new version does not finish rolling out

  • The deploy workflow will not release a commit unless our automated checks passed on that exact commit

  • Health checks run continuously; unhealthy tasks are automatically replaced

Monitoring & Alerting

  • Application Logs: Python logging output to AWS CloudWatch Logs with 90-day retention. Production writes logs at INFO level and above. An automated test reads every logging statement at those levels in our application code and fails if one writes a value that our code names as a person's name or email address, a customer, company or workspace name, a meeting topic, a file name, a title, a question someone asked or the AI's own reasoning, or if one writes a storage path without first removing the file's name from it. The test allows two kinds of line: the line for a failed upload names the file, and billing changes made by Close-Rate staff name the staff member. Because the test goes by those names, other values can still reach the logs: errors are logged with their text. Credentials in logged web addresses are replaced with REDACTED

  • Error Tracking: Errors on our servers are written to the application logs. Errors in a visitor's browser are sent to our backend and written to the same logs as one line, with the page's query string removed and email addresses, sign-in tokens and long numbers masked; nothing else is stored

  • Health Checks: The ECS service and its Application Load Balancer perform automatic health checks; failing tasks are replaced automatically

  • Database Monitoring: RDS CloudWatch metrics for CPU, memory, connections, and storage

  • Alarms: CloudWatch alarms email us on server errors, failed reports and AI Insights answers, failed imports and payment events, unhealthy or missing backend tasks, search errors, and our database or our transcription provider rejecting our credentials

Scaling & Availability

  • In production, ECS keeps at least two backend tasks running and adds tasks, up to four, when CPU use is high

  • CloudFront CDN provides global edge caching for frontend assets

  • Aurora keeps the database's storage in several copies across availability zones, with automated backups and seven days of point-in-time recovery

  • S3 is designed for 99.99% availability and 99.999999999% durability. Transcript files are not versioned, so a deleted or overwritten file cannot be restored from S3


Questions about this policy? Contact us at client-services@close-rate.com

Closerate, LLC
777 N Jefferson St
Suite 408
Milwaukee, WI 53202

© 2026 PathFinder Ventures. All rights reserved. Close-Rate is a product of PathFinder Ventures.