Skip to content

Commit d418495

Browse files
committed
docs: Create documentation for the deployment examples
1 parent ce7acc0 commit d418495

File tree

24 files changed

+711
-9
lines changed

24 files changed

+711
-9
lines changed

.vscode/settings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"files.exclude": {
3+
"**/.terraform/": true,
4+
"**/.terraform.lock.hcl": true,
5+
"**/terraform.tfstate": true,
6+
"**/terraform.tfstate.backup": true,
7+
"**/terraform.tfstate.*.backup": true,
8+
"**/.ansible/": true
9+
}
10+
}

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
# Cogstack Platform Toolkit
1+
# Cogstack Platform
22

33
This repository contains tools and services used to support CogStack deployments
44

5-
See the latest documentation on [Readthedocs](https://cogstack-platform-toolkit.readthedocs.io/en/latest/observability/_index.html)
5+
See the latest documentation on [Readthedocs](https://docs.cogstack.org/en/latest/)
6+
7+
## Project contents
8+
- Source for the official cogstack documentation. This git repo stores the top level documetation that hosts on https://docs.cogstack.org
9+
- CogStack deployment instructions and examples
10+
- CogStack platform tools eg Observability.

deployment/terraform/examples/aws-kubernetes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AWS Deployment
1+
# AWS EKS Deployment
22

33
This is an example deployment of CogStack in AWS. It will create publically accessible services, so is not suitable for production deployment.
44

deployment/terraform/examples/azure-kubernetes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Azure AKS deployment
1+
# Azure AKS Deployment
22

33
This is an example deployment of CogStack in Azure.
44

deployment/terraform/examples/openstack-docker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Openstack Docker Example Module
1+
# Openstack Docker Deployment
22

33
This Terraform example provides one stop approach to deploy the **CogStack** platform with its core components and observability stack in an OpenStack environment. It is specifically designed to simplify and automate the provisioning and configuration needed to run CogStack reliably and securely.
44

deployment/terraform/examples/openstack-kubernetes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Openstack Kubernetes Example Module
1+
# Openstack Kubernetes Deployment
22

33
This Terraform example provides one stop approach to deploy the **CogStack** platform with its core components and observability stack in an OpenStack environment. It is specifically designed to simplify and automate the provisioning and configuration needed to run CogStack reliably and securely.
44

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,28 @@
11

2-
Terraform module for running cogstack services through Helm
2+
# CogStack Helm Terraform Module
3+
This Terraform module deploys CogStack services using Helm charts on a Kubernetes cluster.
4+
5+
## Example usage
6+
7+
```hcl
8+
module "cogstack_helm_services" {
9+
source = "path_to_module"
10+
medcat_service_values = <<EOT
11+
replicaCount: 2
12+
EOT
13+
14+
}
15+
```
16+
17+
## What is this module for?
18+
This module simplifies deploying the CogStack with an opinionated Helm release setup.
19+
20+
It does the following:
21+
- Deploys MedCAT Service using Helm
22+
- Configures Ingress based on path prefix and hostname
23+
- Runs a terraform Check as an integration test on the deployed service
24+
25+
The module expects Kubernetes and Helm providers to be configured and a working cluster available.
26+
27+
28+

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ MedCAT Trainer <https://docs.cogstack.org/projects/medcat-trainer/>
3737
:caption: CogStack Platform
3838
3939
NiFi <https://docs.cogstack.org/projects/nifi/>
40-
40+
platform/deployment/_index.md
4141
platform/_index
4242
```
4343

docs/overview/CogStack ecosystem (v1).md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Usually, the sink will be the ElasticSearch store, keeping the processed EHRs wh
3535

3636
The information about available data processing components offered by CogStack Pipeline can be found in [CogStack Pipeline](CogStack%20Pipeline.md) part.
3737

38-
:::{ifno}
38+
:::{info}
3939
We recommend using CogStack Pipeline component in the newest version 1.3.0.
4040
:::
4141

docs/platform/deployment/_index.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Deployment
2+
3+
## Introduction
4+
:::{warning}
5+
We are actively working on improving the deployment of CogStack
6+
7+
The following section shows how to run MedCAT Service in a variety of environments and configs.
8+
9+
To setup a full deployment of CogStack including the data pipelines and infrastructure, contact us
10+
:::
11+
12+
## Overview
13+
CogStack is a self-hosted platform made up of microservices and tools
14+
15+
If you want to get started quickly, check out the [Quickstart](./get-started/quickstart) guide to run CogStack locally in just a few simple steps.
16+
17+
Our recommended deployment method is on Kubernetes using Helm charts. This makes installing and managing CogStack easy and consistent. For a detailed walkthrough, see [Helm](./helm/_index) .
18+
19+
You can run Kubernetes anywhere — on your own hardware or through cloud providers like AWS (EKS) or Azure (AKS). To help with this, we provide basic examples that deploy infrastructure, CogStack, and tests using Terraform. These are available in the [Examples](./examples/_index) folder.
20+
21+
Along with kubernetes, it is also possible to run CogStack through docker compose. See the [Reference](./reference/_index) folder for this.
22+
23+
24+
## Recommendations
25+
26+
- Deploy CogStack on Kubernetes for best scalability and reliability.
27+
- Use Helm to install and manage your CogStack instances.
28+
- Manage your infrastructure declaratively with Terraform.
29+
- Keep your Terraform code in a Git repository and adopt GitOps workflows so all infrastructure changes go through version control
30+
31+
32+
```{toctree}
33+
:maxdepth: 2
34+
35+
get-started/_index
36+
37+
helm/_index
38+
39+
examples/_index
40+
41+
reference/_index
42+
```

0 commit comments

Comments
 (0)