Running OpenCTI on AWS with managed services

Running OpenCTI on AWS with managed dependencies can reduce what your team patches and operates, but the dependency fit, sizing, identity and compliance scope need checking before you commit.

On this page

Running OpenCTI on AWS with managed services: when it fits

A team that must host OpenCTI on AWS usually faces one core decision: whether to run OpenCTI's dependencies themselves on EC2 or in containers, or to hand them to AWS managed services. OpenCTI relies on a search engine (Elasticsearch 8.0 or OpenSearch 2.9 or later), Redis 7.1 or later, RabbitMQ 3.11 or later and S3-compatible storage. The managed option replaces each of these with Amazon OpenSearch Service, Amazon ElastiCache, Amazon MQ and Amazon S3, so your team operates the OpenCTI platform, workers and connectors while AWS operates the underlying data services. The platform, Python workers and connectors still run in your own containers or instances, so the managed services change who patches and scales the stateful layers, not who owns the OpenCTI configuration.

OpenCTI's FIPS documentation states that its dependencies are available as these AWS services in FedRAMP Moderate and FedRAMP High (GovCloud) scopes, and that OpenCTI is compatible with AWS native services. Teams usually take this path when they already run regulated workloads on AWS, want AWS-side backup, patching and failover for stateful components, or need a FedRAMP-scoped hosting boundary. Confirm with your own compliance team which FedRAMP scope applies to your workload and whether each service you plan to use is authorized in that scope and region, since the list of services and regions in scope can change and must be checked against AWS's current documentation.

Before you commit, confirm three things: the exact OpenCTI version you will run and the search engine version it supports, whether the managed search service's version and features match what that OpenCTI release expects, and whether your organization's review accepts the shared responsibility split for each managed service. Also confirm the Enterprise Edition requirement for SSO, since authentication strategies, including SSO, need the Enterprise Edition from OpenCTI 7.260224.0 onward. Treat a managed design as a set of decisions to validate in a proof of concept, not as a drop-in replacement for the Docker Compose stack.

Which AWS service replaces which OpenCTI dependency

This table maps each OpenCTI dependency to its AWS managed option and the self-managed alternative, with the fit and the version and region checks for each. Read each row as a decision: confirm the managed service supports the engine version OpenCTI requires before you commit to it.

DependencyAWS managed optionSelf-managed alternative and when it fits
Elasticsearch or OpenSearch (2.9 or later)Amazon OpenSearch Service. Confirm the managed engine version meets OpenCTI's 2.9 minimum and that your region and FedRAMP scope are offered.Self-hosted OpenSearch or Elasticsearch 8.0 or later on your own nodes. Fits teams that need control over node sizing, plugins or upgrade timing.
Redis (7.1 or later)Amazon ElastiCache for Redis. Confirm the engine version and whether your OpenCTI version expects cluster mode or a single endpoint.Self-managed Redis 7.1 or later on EC2 or Kubernetes. Fits teams that already operate Redis and want the same patching process.
RabbitMQ (3.11 or later)Amazon MQ for RabbitMQ. Confirm the broker engine version, instance type and that the broker supports the queue behavior OpenCTI workers need.Self-managed RabbitMQ 3.11 or later on EC2 or Kubernetes. Fits teams that need a specific RabbitMQ plugin set or cluster layout not offered by the managed broker.
S3-compatible object storageAmazon S3. Confirm the bucket region, encryption settings and access method OpenCTI's S3 configuration supports in your environment.MinIO or Ceph on infrastructure you control. Fits air-gapped or on-premises networks where S3 in AWS is not an option.
Platform and workersAmazon ECS on Fargate or Amazon EKS, depending on your team's operating model. The community Terraform project uses ECS Fargate.Self-managed Kubernetes or Docker hosts. Review the community Terraform project's assumptions before you adopt it as written.
Region and compliance scopeConfirm each managed service is available in your chosen region and in the FedRAMP Moderate or FedRAMP High (GovCloud) scope you need.Your own data center or private cloud, where the same version and scope checks apply to the software you install.

How the OpenCTI platform, workers and connectors sit on AWS

The platform (the web UI and GraphQL API), the Python workers and the connectors are the three parts to place on AWS, and each talks to the managed services differently. The platform serves users and API calls and writes requests into the message queue. Workers consume RabbitMQ messages to perform the asynchronous writes, so they are the component that pushes load into the search index and object storage. Connectors run separately and handle import, enrichment, file extraction, export and stream consumption. Each connector needs network reach to the platform and to any external feed or service it uses, which makes its egress path a design decision in its own right. On AWS, the platform and workers can run on compute you choose, while Amazon OpenSearch Service, Amazon ElastiCache, Amazon MQ and Amazon S3 hold the search, cache, queue and file data. Before you size anything, confirm with Filigran which Redis and RabbitMQ versions the release you plan to run supports, since OpenCTI documents minimum versions for each dependency.

The documented baseline gives the platform at least 2 cores and 8 GB of RAM, and recommends at least one platform node for every 3 workers. Treat these as starting minimums rather than a capacity plan. The number of workers you need follows from your ingestion rate, the size and count of imported bundles, enrichment volume and how many connectors run at once, and none of those are known until you measure your own feeds. Plan for a trial period in which you record queue depth in RabbitMQ and indexing latency in the OpenSearch domain, then scale the platform and worker counts against those measurements. Ask your AWS and OpenCTI contacts for the sizing assumptions behind any quote, including the expected data volume, the number of connectors and the retention period, because those inputs drive the instance types and storage far more than the documented minimums do. OpenCTI deployment overview lists the component requirements that a sizing exercise should start from.

How OpenCTI components connect to AWS managed services

The diagram starts with analysts and administrators reaching the OpenCTI platform, which serves the web UI and GraphQL API inside the AWS account. The platform hands asynchronous writes to Python workers through Amazon MQ, which is the RabbitMQ dependency, while workers and connectors share state through ElastiCache for Redis and store search data in Amazon OpenSearch Service and files in Amazon S3. The account boundary marks what you control and what you must verify, including which managed services and regions carry the FedRAMP scope you need.

Components and data paths between OpenCTI and the AWS managed services inside one account.

Community Terraform project or a custom AWS build

The community Terraform project deploys OpenCTI on AWS ECS Fargate and uses AWS OpenSearch and other native resources, so you start with a working topology instead of a blank module. It is a community artifact, not a product from Filigran or AWS, so the maintainers decide its design, release cadence and support. Treat it as a reference architecture you adopt, adapt and own once it is in your account.

  • What it gives you: a starting layout for the platform, workers and connectors on ECS Fargate, with OpenSearch and related native resources declared as code.
  • What it does not give you: a support contract, a compliance mapping or guaranteed fit with your network, identity or logging standards.
  • Version control: pin the module and provider versions you reviewed, and record the commit you deployed so later changes are traceable.
  • Drift risk: if engineers edit resources in the console, the next plan will show differences you must resolve deliberately.
  • Upgrade ownership: when OpenCTI releases move, you decide whether to adopt upstream module changes, which means reviewing them again.

Before you apply anything, confirm the project's license, its last activity and the OpenCTI and OpenSearch versions it targets against the release you intend to run.

How to set up OpenCTI on AWS managed services

This sequence takes a team from confirming that OpenCTI's dependencies are supported in their AWS scope to a running, monitored deployment with a documented upgrade path. Each step ends with a check that tells the team whether to move on.

  1. Confirm service and region support

    Before any sizing, the platform owner checks that OpenCTI's required dependencies are available as Amazon OpenSearch Service, Amazon ElastiCache, Amazon MQ and Amazon S3 in the target region and compliance scope. OpenCTI's FIPS documentation lists these services for FedRAMP Moderate and FedRAMP High (GovCloud) scopes, so confirm the exact region and scope with AWS and the OpenCTI release you plan to run. Check that the OpenSearch version offered by the managed service meets OpenCTI's minimum, and that the RabbitMQ and Redis versions on Amazon MQ and ElastiCache meet the minimums in the deployment overview. Done when you hold a written list of services, versions and regions that all match the OpenCTI requirements.

  2. Size the managed services

    Work from OpenCTI's documented sizing: the platform needs at least 2 cores and 8 GB RAM, the search engine at least 2 cores, 8 GB RAM and 16 GB SSD, and there should be at least one platform node for every 3 workers. Translate these into instance classes, storage and node counts for each managed service, then ask AWS and your Terraform or architecture reviewer to confirm them against your expected ingestion volume and connector count. Cost comes from the managed instances, storage, data transfer and any high availability replicas, and it recurs monthly. Done when the sizing sheet records the reasoning behind each choice and the monthly cost estimate has been reviewed by the budget owner.

  3. Provision networking and IAM

    Create the VPC layout, private subnets, security groups and endpoints that let the platform, workers and connectors reach OpenSearch, ElastiCache, Amazon MQ and S3 without public exposure. Define IAM roles for the compute tasks and the S3 bucket access, scoped to the buckets and actions OpenCTI needs, and keep TLS enabled between components. Confirm with your security team how secrets are stored and rotated. Done when a test instance inside the private subnets can resolve and connect to each service endpoint and the IAM policies pass review against the least-privilege scope you agreed.

  4. Deploy the community Terraform or a custom stack

    Choose between the community Terraform project, which deploys OpenCTI on ECS Fargate with AWS OpenSearch and other native resources, and a custom stack built from your own modules. Review the community code line by line, pin module and image versions, and adapt variables to your network and sizing decisions. Treat the community project as unsupported code from a third party unless your team or a partner owns its maintenance. Done when the plan output matches the design, the apply completes, and the OpenCTI platform and worker services show as running in ECS.

  5. Connect S3 and the message queues

    Point OpenCTI's file storage at the S3 bucket and confirm the platform can write and read objects with the IAM role you created. Connect the message queue and cache endpoints in the platform and worker configuration, and check the RabbitMQ and Redis settings against the dependency requirements, including TLS and any load balancer requirement for RabbitMQ. Make sure workers consume messages from the queue after startup. Done when a test file uploaded through the UI is stored in the bucket and a test message published to the queue is consumed by a worker.

  6. Validate health checks and ingestion

    Confirm the load balancer and ECS health checks pass for the platform, then run a test import through a connector and verify that objects appear in the UI and the GraphQL API. Check that the search index receives the data and that workers process the queue without a growing backlog. Record the test results and the configuration state so the baseline can be compared later. Done when the health checks stay green through a full import cycle, the imported objects are searchable, and the queue returns to a steady level.

  7. Document the upgrade path

    Write down how the team will upgrade OpenCTI and each managed service. OpenCTI uses dated version numbers, with regular releases that ship when ready and LTS releases every 6 months, each supported for 1 year. LTS releases require a specific LTS license key and receive only critical bug and security fixes after the one-month stabilization period. OpenSearch versions receive bug fixes and security patches during maintenance but no new features, so plan managed-service upgrades separately. Ask the product life cycle documentation and your AWS account team to confirm current dates before you commit to a schedule. Done when the runbook names the release track, the license owner, the test environment used before each upgrade, and the rollback steps.

Security controls to plan for OpenCTI on AWS

A managed-services deployment moves several security boundaries into AWS and into the search and messaging layers. Each control below has a clear owner, and most depend on decisions made before the first deployment. Confirm each one with your platform, identity and security teams before the design is approved.

Single sign-on on the platform

Authentication strategies, including SSO through SAML or OpenID Connect, are an Enterprise Edition feature since OpenCTI 7.260224.0. Community Edition deployments need a decision on local users, LDAP or an Enterprise license before the identity design is final. Owner: identity team with the OpenCTI administrator. Check which strategies your identity provider supports, how group claims map to OpenCTI roles, and how break-glass administrator access is kept outside SSO.

OpenCTI authentication docs

Role-based access on OpenSearch

Amazon OpenSearch Service hosts the search index, and its fine-grained access control determines what each service identity can read and write. Owner: platform team with the search administrator. Confirm that the OpenCTI service account has only the index and cluster permissions it needs, that administrative users are separate from it, and that document-level or field-level security is used only where your data governance requires it.

Encryption in transit and at rest

Platform, worker and search traffic should use TLS, and the OpenSearch Security model supports TLS for node and client traffic. Owner: platform team with the security architect. Confirm certificate issuance and rotation for the endpoints OpenCTI, its workers and connectors use, and confirm that the managed domain, ElastiCache and Amazon MQ encryption settings match your data classification and the FIPS requirements, if any.

Audit logging of platform and search activity

OpenSearch Security can write audit logs, and OpenCTI Enterprise Edition adds its own activity monitoring and audit logs. Owner: security operations with the OpenCTI administrator. Decide where each log stream is stored, who can read it, and how long it is kept. Confirm that audit events from the search layer and the platform can be correlated by user and time, since neither log alone answers who changed a threat record.

IAM roles for S3 access

OpenCTI stores files and imports in S3-compatible storage, and on AWS the safest pattern is an IAM role attached to the running tasks rather than long-lived access keys. Owner: cloud team. Check that the role allows only the bucket and prefixes OpenCTI uses, that bucket encryption and public access blocks are enabled, and that the same principle is applied to any connector that reads or writes to the bucket.

Network isolation of managed services

The search domain, cache, message broker and platform tasks should sit in private subnets with security groups that allow only the traffic each component needs. Owner: cloud network team. Confirm that no managed endpoint is reachable from the internet, that connectors reaching external feeds use a controlled egress path, and that administrative access uses a bastion or session manager rather than open ports.

Secrets handling for service credentials

Database-style credentials for OpenSearch, Redis, RabbitMQ, connector API tokens and the OpenCTI admin token should not sit in task definitions or source control. Owner: security engineering with the platform team. Confirm that a managed secrets store injects them at runtime, that rotation has a tested procedure, and that the admin token is restricted and monitored because it grants broad access.

Questions buyers ask about running OpenCTI on AWS

What drives the cost of running OpenCTI on AWS with managed services?

The main cost drivers are the size of each managed service, the volume of data you ingest and retain, and the one-time build compared with recurring running costs. Amazon OpenSearch Service, ElastiCache, Amazon MQ, S3 and the compute that runs the platform and workers are each billed by capacity, so the node counts, instance classes, storage and multi-AZ choices set most of the monthly bill. Data volume grows the search index and object storage over time. Ask for a quote that separates the one-time design, build and handover work from the recurring infrastructure your AWS account pays for, and from any ongoing support retainer. Confirm current AWS pricing for your region directly with AWS, because managed service rates change.

How long does an OpenCTI deployment on AWS take?

Duration depends on how many environments you need, how much of the network and identity setup already exists, and whether you need FedRAMP or FIPS-aligned services, which add review steps. A single non-production environment built on an existing landing zone takes less time than a production deployment that needs separate accounts, private networking, SSO and documented backups. The fixed-scope agreement sets the timeline in writing before work starts, so ask for the milestones, the decisions you must make early and the review points your security team needs to attend.

What does our team need to provide for an AWS managed OpenCTI build?

You need to provide the AWS accounts and an organizational structure that allows the platform to live in them, IAM roles or permission sets for deployment and day-to-day administration, and a VPC design with subnets, routing and DNS that fits your network controls. You also need an OpenCTI administrator who can decide authentication, data segregation and retention policy. Confirm whether your AWS organization already has guardrails such as service control policies, centralized logging and key management, because these affect how the managed services can be provisioned.

Can our own engineers deploy OpenCTI on AWS without a partner?

Yes, if your team has working experience with AWS networking, IAM, managed search and container platforms, and someone who owns OpenCTI configuration. The community Terraform project deploys OpenCTI on AWS ECS Fargate with AWS OpenSearch and other native resources, so it gives an engineering team a starting point. Plan for the work after the first deployment: version upgrades, patching of the managed services, backup verification, monitoring and access reviews. Check the Terraform project's current maintenance status and the OpenCTI installation documentation before relying on it for production.

How does FedRAMP scope change the choice of AWS services for OpenCTI?

OpenCTI's FIPS documentation states that its dependencies are available as Amazon OpenSearch Service, Amazon ElastiCache, Amazon MQ and Amazon S3 in FedRAMP Moderate and FedRAMP High (GovCloud) scopes. The scope you need limits which regions and service versions you can use, so confirm the exact authorization status of each service in the region you plan to use with AWS before choosing it. Your authorizing official or compliance lead decides whether the authorization boundary covers your deployment. DeployOpen prepares configuration and evidence for compliance assessments, but it does not issue authorizations.

Should we choose Amazon OpenSearch Service or self-managed search for OpenCTI?

Choose the managed service when your team prefers AWS to handle node patching, cluster hardware replacement and some of the upgrade mechanics, and when the managed service supports the engine version and features your OpenCTI release requires. OpenSearch is Apache 2.0 licensed and wire-compatible with Elasticsearch 7.10, but managed service limits and upgrade paths still apply. Self-managed search gives more control over versions and plugins but adds operational work. Confirm the engine version OpenCTI requires for your release, the supported managed versions and the token and TLS settings with your OpenCTI documentation.

What ongoing work follows after an OpenCTI AWS deployment goes live?

Plan for version upgrades of OpenCTI, the managed services and the connectors, because each can change configuration needs. OpenCTI non-LTS releases ship from daily to weekly, while LTS lines are supported for one year, so choose a release line your team can keep current. Recurring tasks include restore tests of backups, reviewing audit logs and access, sizing checks as data grows and monitoring of queues and indices. Ask for a written handover that names who owns each task, and decide whether a retainer covers upgrades and continuous testing.

Why OpenSearch Service and what the Elasticsearch choice changes

OpenCTI stores and queries its knowledge graph in Elasticsearch or OpenSearch, and on AWS the practical choice is Amazon OpenSearch Service rather than a self-run Elasticsearch cluster. OpenSearch is a fork of open source Elasticsearch 7.10, and OpenSearch Dashboards derives from Kibana 7.10.2. All OpenSearch software is released under the Apache License, Version 2.0, and the OpenSearch FAQ does not describe a paid edition. That licensing picture matters for a regulated buyer because the engine itself carries no separate commercial license, while the AWS service carries its own usage charges. Ask your AWS account team to itemize what the managed domain will cost, including storage, instance hours and any data transfer, so the quote is not compared against self-hosted software alone.

The version lineage also shapes migration. OpenSearch is wire-compatible with Elasticsearch 7.10, can read indices created from Elasticsearch 6.0 through 7.10, and supports rolling upgrades from those versions. If your OpenCTI data sits on an older Elasticsearch cluster, confirm the source version against that range before choosing OpenSearch, and plan a test restore of an index set into a non-production domain. The OpenSearch releases page describes maintenance policy: a version stays under maintenance until the next major version enters maintenance or one year passes, whichever is longer, and maintenance releases carry fixes and security patches but no new features. Because OpenSearch targets a new minor version roughly every eight weeks, the domain version you pick will age quickly. Confirm with Filigran which OpenSearch version your OpenCTI release has been tested against before you select a domain version, and schedule upgrades against the maintenance window rather than the release train.

Compatibility is the check that matters most. Do not assume that a newer OpenSearch release works with your current OpenCTI version because the API surface looks familiar. Record the OpenCTI version, the OpenSearch domain version and the minimum dependency versions listed in the OpenCTI deployment documentation, then run ingestion, search and connector workloads in a staging domain before any production upgrade. Decide early who owns that test, how long a rollback window stays open, and how the snapshot policy in your AWS account will capture indices before each change.

How DeployOpen scopes and delivers OpenCTI on AWS

DeployOpen plans and builds OpenCTI on AWS inside your own accounts, with the platform, workers, connectors and managed dependencies designed together. Each engagement starts with a written scope that names the services, the environment and the handover deliverables before any build work begins.

How we scope

  • Map which OpenCTI dependencies move to Amazon OpenSearch Service, ElastiCache, Amazon MQ and S3, and which stay self-managed.
  • Confirm the target AWS accounts, regions, network layout and whether a FedRAMP scope applies to your workload.
  • Agree the written scope, deliverables and timeline with you before work starts, since most engagements are fixed-scope.

How we build

  • Deploy the platform, Python workers and connectors using the community Terraform project or infrastructure code your team can review.
  • Configure TLS, secrets handling, access controls and the authentication strategy your identity team requires for the platform.
  • Test ingestion, search, queue behavior and failover against the managed services, and record the results for your review.

How we hand over

  • Provide architecture documentation, infrastructure code, configuration records and runbooks written for your platform and security teams.
  • Walk your engineers through upgrades, LTS license handling, backups and sizing decisions so the team can operate the stack.
  • Deliver a findings list with fixes and a retest scope, so open items are tracked to closure before handover is signed off.

How we support

  • Offer ongoing support, upgrade work and continuous testing as a retainer after handover, scoped in writing.
  • Plan OpenCTI version upgrades and managed service version changes together, checking compatibility before each change.
  • Confirm with your team which support boundaries, change windows and escalation contacts apply to your environment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.