Skip to content

Commit

Permalink
Merge pull request #6498 from ministryofjustice/update-docs-2
Browse files Browse the repository at this point in the history
docs: Review and update runbooks
  • Loading branch information
mikebell authored Nov 25, 2024
2 parents c858dec + 25ca93a commit 39bbe93
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion runbooks/source/add-new-opa-policy.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Add a new OPA policy
weight: 9000
last_reviewed_on: 2024-05-24
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down
2 changes: 1 addition & 1 deletion runbooks/source/auth0-rotation.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Credentials rotation for auth0 apps
weight: 68
last_reviewed_on: 2024-05-24
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down
2 changes: 1 addition & 1 deletion runbooks/source/bastion-node.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Create and access bastion node
weight: 97
last_reviewed_on: 2024-05-24
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down
2 changes: 1 addition & 1 deletion runbooks/source/delete-prometheus-metrics.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Delete Prometheus Metrics
weight: 170
last_reviewed_on: 2024-05-24
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down
2 changes: 1 addition & 1 deletion runbooks/source/delete-state-lock.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Delete terraform state lock
weight: 199
last_reviewed_on: 2024-05-24
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down
4 changes: 2 additions & 2 deletions runbooks/source/disaster-recovery-scenarios.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Cloud Platform Disaster Recovery Scenarios
weight: 91
last_reviewed_on: 2024-05-20
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down Expand Up @@ -152,7 +152,7 @@ This way of restoring the whole cluster have been tested with below procedure
Any namespaces over 3 hours old can be recovered using Velero (newer namespaces might not have been backed up before the incident occurred).

Create the cluster with the **same** name from the [source code](https://github.com/ministryofjustice/cloud-platform-infrastructure/blob/main/create-cluster.rb)
and provide the exisiting `vpc-name`. This will link the velero backup locations to the lost cluster.
and provide the existing `vpc-name`. This will link the velero backup locations to the lost cluster.

Find the name of the most recent backup of the `allnamespacebackup` schedule:

Expand Down
2 changes: 1 addition & 1 deletion runbooks/source/export-elasticsearch-to-csv.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Export data from AWS Elasticsearch into a CSV file
weight: 190
last_reviewed_on: 2024-05-24
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down
2 changes: 1 addition & 1 deletion runbooks/source/get-audit-log-from-modsec.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Get an audit log from modsec
weight: 8600
last_reviewed_on: 2024-05-24
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down
2 changes: 1 addition & 1 deletion runbooks/source/resolve-opensearch-no-logs.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Resolving no logs in modsec OpenSearch
weight: 190
last_reviewed_on: 2024-05-24
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down
4 changes: 2 additions & 2 deletions runbooks/source/resolve-opensearch-shard-issues.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Resolving OpenSearch shard problems
weight: 190
last_reviewed_on: 2024-05-24
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down Expand Up @@ -52,7 +52,7 @@ kubectl run curl-pod -n <your-namespace> --image="alpine/curl" --restart=Never -

## Connecting to the OpenSearch api

Because we have fine-grained access enabled on OpenSearch connection isn't based on ip. It's based on SAML. To link your cli with OpenSearch there is a manual step of adding your aws user arn to the `all_access` OpenSearh role.
Because we have fine-grained access enabled on OpenSearch connection isn't based on ip. It's based on SAML. To link your cli with OpenSearch there is a manual step of adding your aws user arn to the `all_access` OpenSearch role.

1. login to the OpenSearch dashboard using github via saml
1. as a webops team member you have permissions to edit roles so head to Security -> Roles -> `all_access` (see screenshot below)
Expand Down
8 changes: 4 additions & 4 deletions runbooks/source/upgrade-terraform-version.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Upgrade Terraform Version
weight: 54
last_reviewed_on: 2024-05-24
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down Expand Up @@ -126,10 +126,10 @@ Here is a snapshot of how our directory looks but this is likely to change:
aws-accounts
├── cloud-platform-aws
│ ├── account # AWS Account specific configuration.
│ └── vpc # VPC creation. Workspaces for individual clusters
│ └── vpc # VPC creation. Workspaces for individual clusters
│ ├── eks # Holding EKS, workspaces for individual clusters.
│ │ └── components # EKS components. Workspaces for individual clusters
└── kops # Holding KOPS, workspaces for individual clusters.
│ │ └── core # EKS core. Workspaces for individual clusters
| └── components # EKS components.
├── cloud-platform-dsd
│ └── main.tf
├── cloud-platform-ephemeral-test
Expand Down
2 changes: 1 addition & 1 deletion runbooks/source/upgrade-user-components.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Upgrade user components
weight: 55
last_reviewed_on: 2024-05-24
last_reviewed_on: 2024-11-25
review_in: 6 months
---

Expand Down

0 comments on commit 39bbe93

Please sign in to comment.