From b38ce7d93ae779e07a254b13997d7e90c77bf1c0 Mon Sep 17 00:00:00 2001 From: Tim Cheung <152907271+timckt@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:12:52 +0000 Subject: [PATCH 1/2] docs: Update review dates and formatting --- runbooks/source/analyze-vpc-flow-logs.html.md.erb | 8 ++++++-- runbooks/source/prometheus-reconcile-alert.html.md.erb | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/runbooks/source/analyze-vpc-flow-logs.html.md.erb b/runbooks/source/analyze-vpc-flow-logs.html.md.erb index 9b170235..7069b982 100644 --- a/runbooks/source/analyze-vpc-flow-logs.html.md.erb +++ b/runbooks/source/analyze-vpc-flow-logs.html.md.erb @@ -1,7 +1,7 @@ --- title: Analyze VPC Flow Logs weight: 219 -last_reviewed_on: 2024-06-17 +last_reviewed_on: 2024-12-18 review_in: 6 months --- @@ -11,10 +11,14 @@ Cloud Platform `live-1` VPC is connected to various MoJ AWS accounts VPCs using that are coming to/from Cloud Platform VPC, the VPC flow logs are enabled. These logs are stored in an S3 bucket and can be analyzed using Athena when needed. The steps involve a pointy-clicky exercise to generate Athena integration by creating a CloudFormation stack using a template and use that as a datasource in Athena. + Follow the steps as mentioned in the blog: [AWS blog - Analyze VPC Flow Logs with point-and-click Amazon Athena integration](https://aws.amazon.com/blogs/networking-and-content-delivery/analyze-vpc-flow-logs-with-point-and-click-amazon-athena-integration/). Things to note: + - When creating a CloudFormation template, use the `Partition: Daily` option. This will create a partition for each day and will make it easier to query the logs for a specific day. - Provide Partition start date and end date closer when the issue was observed. The duration is limited to 20 days -- Create two s3 buckets: one for CloudFormation template and another to store the Athena query results which you will provide when creating the CloudFormation stack. +- Create two s3 buckets: + - one for CloudFormation template + - one to store the Athena query results which you will provide when creating the CloudFormation stack. - When the flow logs are downloaded and the user has investigated the issue, delete the created s3 buckets for CloudFormation template and Athena query results and the CloudFormation stack. diff --git a/runbooks/source/prometheus-reconcile-alert.html.md.erb b/runbooks/source/prometheus-reconcile-alert.html.md.erb index f1ab9d59..3e01178f 100644 --- a/runbooks/source/prometheus-reconcile-alert.html.md.erb +++ b/runbooks/source/prometheus-reconcile-alert.html.md.erb @@ -1,7 +1,7 @@ --- title: How to Investigate PrometheusOperatorReconcile Errors weight: 218 -last_reviewed_on: 2024-06-17 +last_reviewed_on: 2024-12-18 review_in: 6 months --- From 06e96f543e2cacd3b5d629a9eefb9d937ae5b664 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:14:39 +0000 Subject: [PATCH 2/2] Commit changes made by code formatters --- runbooks/source/analyze-vpc-flow-logs.html.md.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runbooks/source/analyze-vpc-flow-logs.html.md.erb b/runbooks/source/analyze-vpc-flow-logs.html.md.erb index 7069b982..e0193aa9 100644 --- a/runbooks/source/analyze-vpc-flow-logs.html.md.erb +++ b/runbooks/source/analyze-vpc-flow-logs.html.md.erb @@ -18,7 +18,7 @@ Things to note: - When creating a CloudFormation template, use the `Partition: Daily` option. This will create a partition for each day and will make it easier to query the logs for a specific day. - Provide Partition start date and end date closer when the issue was observed. The duration is limited to 20 days -- Create two s3 buckets: - - one for CloudFormation template +- Create two s3 buckets: + - one for CloudFormation template - one to store the Athena query results which you will provide when creating the CloudFormation stack. - When the flow logs are downloaded and the user has investigated the issue, delete the created s3 buckets for CloudFormation template and Athena query results and the CloudFormation stack.