Founder & Lead Engineer, RAITHub
For an early-stage startup, a first SOC 2 typically costs $10,000 to $80,000 or more all-in, and a Type II report needs controls that have run for a 3 to 12 month observation period. Most of the work is engineering: access reviews, logging, change management, tested backups and vendor tracking, each leaving evidence an auditor can sample. Many startups do not need the report until enterprise deals require it.
If you would rather have the engineering controls built for you, see how RAITHub would build this below.
This guide is for a founder or CTO who has heard "do you have SOC 2?" from a prospect and wants to know what it really involves for the product and the team. If you have a questionnaire to answer this week, start with your first security questionnaire without SOC 2; this post is about the audit itself and the engineering it needs. One fact up front: RAITHub is not SOC 2 certified. It builds the controls and the evidence trails; only your own company can be examined. This is general information, not audit or legal advice; confirm with your adviser and your auditor.
What is SOC 2, in plain terms?
SOC 2 is an examination of your company's controls by an independent CPA firm, which then issues a report your customers can read. It is not a certificate, a badge or a piece of software.
The AICPA describes SOC as "a suite of service offerings CPAs may provide in connection with system-level controls of a service organization" (AICPA SOC 2 page). The auditor measures your controls against the AICPA's Trust Services Criteria, which cover "Security, Availability, Processing Integrity, Confidentiality, and Privacy" (AICPA Trust Services Criteria). Security is the base of almost every SOC 2 scope; the other four are added when your customers need them. For a first report, many startups scope Security alone, or Security plus Availability and Confidentiality, because every extra category adds controls to evidence.
The criteria do not tell you which tools to use. They describe outcomes, such as "access is restricted to authorised people", and you decide how your system achieves them. That is why the engineering choices matter: a control the system enforces is far easier to evidence than one that depends on someone remembering.
What is the difference between SOC 2 Type I and Type II?
Type I reports on whether your controls are suitably designed at a single point in time. Type II also reports on whether they operated effectively over a period, which buyers usually prefer.
| Type I (Type 1) | Type II (Type 2) | |
|---|---|---|
| What it tests | Control design, on one date | Design and operating effectiveness, over a period |
| Observation period | None | 3 to 12 months, per Vanta's SOC 2 cost guide |
| Fee | Lower | Higher, because the auditor samples evidence across the period |
| What it tells a buyer | "The controls exist" | "The controls kept working" |
| Typical use | A first report to unblock a deal soon | The report most enterprise buyers ask for, renewed yearly |
The practical consequence for engineering: in a Type II, the auditor will ask for samples. "Show us the access review from March." "Show us the approval for these five production changes." "Show us the last restore test." If the system did not record it at the time, you cannot produce it later.
How much does SOC 2 cost a startup, and how long does it take?
Vanta, which sells compliance automation, puts the audit fee at "between $10,000 and $50,000" and the all-in cost of a first SOC 2 at "between $10,000 and $80,000 or more", with large enterprises using major firms paying "low six figures and up" (Vanta SOC 2 audit cost). The same page breaks out a readiness assessment starting around $10,000, security tooling of about $10,000 and around $10,000 of preparation work, and notes that the audit fee is "the smallest and most predictable part". Treat these as one vendor's published ranges, not quotes.
| Cost line | Published range or note | Who controls it |
|---|---|---|
| Audit fee | $10,000 to $50,000 (Vanta) | The CPA firm, based on scope and size |
| Readiness assessment | From around $10,000 (Vanta) | Optional; an adviser or the auditor's advisory arm |
| Compliance platform | Not published: Vanta, Drata and Secureframe all quote on request | You, by plan and headcount |
| Engineering time | Rarely priced in guides; usually the largest hidden cost | You: the controls must be built into the product and infra |
| Calendar time | Type I can follow readiness; Type II adds a 3 to 12 month window | Mostly fixed once the window starts |
The calendar is the constraint founders underestimate. If a buyer needs a Type II, the clock only starts once the controls are running. Building the controls early and choosing a short first observation window is how you shorten it.
Buy, build or hire: how should a startup get SOC 2 ready?
You will almost always need an auditor and some tooling. The real choice is how the controls and evidence get produced.
| Option | Examples | Choose this when | Watch out for |
|---|---|---|---|
| Off-the-shelf compliance platform | Vanta (Essentials, Plus, Professional, Enterprise), Drata, Secureframe (Fundamentals, Complete, Defense); pricing on request | You want policy templates, automated cloud checks, evidence collection and auditor access in one place | It checks configuration; it does not write tenant isolation, audit logs or approval flows into your product |
| Templates and spreadsheets | The free Trust Services Criteria download, policy templates, a shared evidence folder | You are very small, scope is Security only, and someone will own the evidence calendar | Evidence gaps appear months later, during the Type II sample |
| Custom build of the product controls | Your team, or a partner such as RAITHub, building RBAC, audit logs, change gates and restore tests into the system | The platform shows failing checks that only code can fix, or buyers ask product-level questions | Needs an engineer who knows what auditors sample; it still does not replace the auditor |
The combination most startups end up with: a platform for policies and cloud checks, engineering work for the product controls, and an independent CPA firm for the report.
Which engineering controls does a SOC 2 auditor actually test?
Five areas create most of the engineering work. For each, the goal is a control the system enforces and a record it produces automatically.
| Control area | What "done" looks like | Evidence the auditor samples |
|---|---|---|
| Access control and reviews | SSO with MFA; named roles; no shared accounts; a scheduled review of who can reach production and admin features | Signed-off review records per quarter; joiner and leaver tickets matched to account changes |
| Logging and monitoring | Application audit log of who did what; infrastructure and auth logs retained; alerts on suspicious events | Log retention settings; example alerts and how they were handled |
| Change management | Protected main branch; every change through a pull request with review and passing CI; no direct production edits | A sample of deployments, each with its PR, approver and test run |
| Backups and recovery | Automated backups, encrypted, with point-in-time recovery; restores tested on a schedule | Backup configuration; dated restore-test records with time taken |
| Vendor management | A list of subprocessors with purpose, data and region; their reports reviewed yearly | The vendor register; downloaded reports; review dates |
Two more show up quickly in a SaaS product: tenant isolation and encryption. Database-enforced isolation is covered in the Postgres row-level security guide, and the wider foundations are in the multi-tenant SaaS guide.
Access reviews: let the database tell you who has access
A quarterly access review is only as good as the list it reviews. Generate that list from the system rather than from memory. For a Postgres database, this query lists every non-system role, whether it can log in, whether it is a superuser, and which roles it inherits:
-- Quarterly access review: who can reach the production database?
SELECT r.rolname AS role,
r.rolcanlogin AS can_login,
r.rolsuper AS superuser,
ARRAY(
SELECT g.rolname
FROM pg_auth_members m
JOIN pg_roles g ON g.oid = m.roleid
WHERE m.member = r.oid
) AS member_of
FROM pg_roles r
WHERE r.rolname !~ '^pg_'
ORDER BY r.rolsuper DESC, r.rolname;
Export the result, have the owner mark each row "keep" or "remove", make the changes, and save the signed file with the date. Do the same for admin roles inside your own application. That file is the evidence.
Logging: an audit log the product writes for itself
Auditors and enterprise buyers both ask who changed what. An application audit log written in the same transaction as the change, and not editable by admins, answers that. The design detail is in SaaS audit log design, and the permission model it records is in SaaS authorization and RBAC design.
Change management: make the pipeline the control
Turn on branch protection, require a review and a passing CI run before merge, and deploy only from the pipeline. Then every production change already has its approval and its test record attached, which is exactly what a Type II sample asks for. Automated tests matter here: a control "every change is tested" is only true if the tests exist; see QA and test automation.
How long does the engineering take if we do it ourselves?
RAITHub's engineering estimate, not a sourced figure: for a small SaaS on a managed cloud, with one engineer who knows the stack, the product-side controls above take roughly 3 to 6 weeks of focused work, longer if there is no automated test suite or no audit log yet. Policies, the vendor register and the auditor relationship are extra and sit with the founder or an adviser.
The main risk is not the build. It is controls that work but leave no record, so that when the Type II window closes the auditor finds gaps in the sample and the report carries exceptions. Decide the evidence for each control before you build it.
When does a startup not need SOC 2 yet?
Often longer than founders fear. Signs you can wait:
- Your buyers are small or mid-sized and accept a security overview and a completed questionnaire.
- One prospect asked once. A single request is a conversation; a pattern of lost deals at "no report, no contract" is the signal.
- Your product is still changing shape weekly. Controls built on an architecture you are about to replace are evidence you will throw away.
- You have not built the basics: SSO and MFA, branch protection, backups with a tested restore. Do those first; they help with every buyer, report or not.
Doing the engineering early is still worth it. Every control above makes the product safer and makes the questionnaire honest, and it shortens the path when you do start the audit.
Why RAITHub for this
- Controls enforced by the system, then tested. On Sundor Skin, a B2B wholesale platform, buyer data sits behind PostgreSQL row-level security across 146 tables, 88 permission codes make up 12 staff roles, and 530+ automated tests run in CI. See the work.
- QA-first delivery. PropDesk shipped with 1,024 tests and 4 roles; this site runs 400+ tests on every change. A tested change pipeline is the change-management control.
- Honest about position. RAITHub is not SOC 2 or ISO 27001 certified. It signs NDAs and DPAs and works inside your controls; production data stays in your own cloud account, and development uses synthetic data.
When you don't need us
- You need the report itself. Only an independent CPA firm can examine your company.
- Your gaps are policies, not code. A compliance platform and an adviser will close them faster.
- Your team already has the engineering capacity and knows what auditors sample. Use this post as the checklist.
How RAITHub would build this
- Gap review: map your product and infrastructure against the five control areas above, and list what the system enforces versus what depends on people.
- Access and roles: named roles and permissions in the app, SSO and MFA for staff, and a generated access-review export.
- Audit log and monitoring: an append-only application audit log written with each change, plus alerts on security events.
- Change pipeline: branch protection, required review and CI, deploys only from the pipeline, and automated tests covering the critical paths and tenant isolation.
- Backups and evidence: a scripted, timed restore test and an evidence folder mapped to each control.
Timeline: as fixed-scope SaaS work this usually fits 4 to 6 weeks; if the backend needs deeper rework, such as adding tenant isolation, plan for 6 to 12 weeks. You receive: automated tests and CI, handover docs and runbooks for each control, and full IP under NDA. See the SaaS development service and SaaS industry page.
Next step: a free 15-minute technical audit, then a written fixed quote. Book the free audit and send the controls your compliance platform or prospect has flagged.
Sources checked on 2 October 2026. General information, not audit or legal advice; confirm with your adviser and auditor.
Frequently asked questions
How much does SOC 2 cost for a small startup?
Vanta's published guide puts the audit fee at $10,000 to $50,000 and the all-in first-year cost at $10,000 to $80,000 or more, including readiness, tooling and preparation. Your engineering time comes on top and is often the largest part.
How long does SOC 2 Type II take?
The observation period alone is 3 to 12 months, and it only starts once the controls are running. Add the time to build the controls before it and the auditor's reporting time after it.
Should a startup get Type I or Type II first?
A Type I first if a deal needs something soon, since it tests design at one point in time. Most enterprise buyers want a Type II, so plan the observation window straight after.
Does a compliance automation platform make you SOC 2 compliant?
No. Platforms such as Vanta, Drata and Secureframe help with policies, cloud checks and evidence collection. The report still comes from an independent CPA firm, and product controls such as audit logs and role checks still have to be built.
Is RAITHub SOC 2 certified?
No. RAITHub is not SOC 2 or ISO 27001 certified. It builds the engineering controls and evidence trails your audit needs, signs NDAs and DPAs, and works inside your controls.
What engineering controls matter most for SOC 2?
Access control with regular reviews, logging and monitoring, change management through reviewed and tested pull requests, tested backups, and vendor management. In a SaaS product, add tenant isolation and encryption.
Can we sell to enterprises before we have SOC 2?
Often, yes. Many buyers accept a completed questionnaire, a security overview and a call for early deals. When several buyers in a row stop at "no report", it is time to start the audit.
Related posts
Ready to discuss your project?
Book a free 15-minute technical audit with our engineering team.