From 772eedbcbb1e602a146e674db70708b22ddfecea Mon Sep 17 00:00:00 2001 From: dedemorton Date: Mon, 31 Jul 2023 17:31:30 -0700 Subject: [PATCH 1/3] [DOCS] Mention that ESF may result in additional charges --- docs/en/aws-elastic-serverless-forwarder.asciidoc | 4 ++++ docs/en/aws-serverless-troubleshooting.asciidoc | 1 + 2 files changed, 5 insertions(+) diff --git a/docs/en/aws-elastic-serverless-forwarder.asciidoc b/docs/en/aws-elastic-serverless-forwarder.asciidoc index b83a8ac1..ddf7206f 100644 --- a/docs/en/aws-elastic-serverless-forwarder.asciidoc +++ b/docs/en/aws-elastic-serverless-forwarder.asciidoc @@ -13,6 +13,10 @@ The Elastic Serverless Forwarder is an Amazon Web Services ({aws}) Lambda functi The Elastic Serverless Forwarder works with {stack} 7.16 and later. +IMPORTANT: Using Elastic Serverless Forwarder may result in additional charges +on your next cloud provider billing statement due to increased usage. To learn +how to minimize additional charges, refer to <>. + [discrete] [[aws-serverless-forwarder-overview]] = Overview diff --git a/docs/en/aws-serverless-troubleshooting.asciidoc b/docs/en/aws-serverless-troubleshooting.asciidoc index 0dbdabcb..34799a21 100644 --- a/docs/en/aws-serverless-troubleshooting.asciidoc +++ b/docs/en/aws-serverless-troubleshooting.asciidoc @@ -20,6 +20,7 @@ NOTE: For example, if you don't increase the visibility timeout for an SQS queue If the Elastic Serverless Forwarder is attached to a VPC, you need to https://docs.aws.amazon.com/vpc/latest/privatelink/create-interface-endpoint.html[create VPC Endpoints] for S3 and SQS, and for *every* service you define as an input for the forwarder. S3 and SQS VPC Endpoints are always required for reading the `config.yaml` uploaded to S3 and managing the _Continuing queue_ and the _Replay queue_, regardless of the <> used. [discrete] +[[preventing-unexpected-costs]] == Preventing unexpected costs It is important to monitor the Elastic Serverless Forwarder Lambda function for timeouts to prevent unexpected costs. You can use the https://docs.elastic.co/en/integrations/aws/lambda[AWS Lambda integration] for this. If the timeouts are constant, you should throttle the Lambda function to stop its execution before proceeding with any troubleshooting steps. In most cases, constant timeouts will cause the records and messages from the event triggers to go back to their sources and trigger the function again, which will cause further timeouts and force a loop that will incure unexpected high costs. For more information on throttling Lambda functions, refer to https://docs.aws.amazon.com/lambda/latest/operatorguide/throttling.html[AWS docs]. From 04bcd47a2131b0ab6d4f66c14f46285e734f4aeb Mon Sep 17 00:00:00 2001 From: DeDe Morton Date: Tue, 8 Aug 2023 09:49:37 -0700 Subject: [PATCH 2/3] Apply changes from kaiyan-sheng Co-authored-by: kaiyan-sheng --- docs/en/aws-elastic-serverless-forwarder.asciidoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/aws-elastic-serverless-forwarder.asciidoc b/docs/en/aws-elastic-serverless-forwarder.asciidoc index ddf7206f..95149e79 100644 --- a/docs/en/aws-elastic-serverless-forwarder.asciidoc +++ b/docs/en/aws-elastic-serverless-forwarder.asciidoc @@ -15,6 +15,7 @@ The Elastic Serverless Forwarder works with {stack} 7.16 and later. IMPORTANT: Using Elastic Serverless Forwarder may result in additional charges on your next cloud provider billing statement due to increased usage. To learn +IMPORTANT: Using Elastic Serverless Forwarder may result in additional charges. To learn how to minimize additional charges, refer to <>. [discrete] From 88692435aebb911a3a2dc64108e6d49f2eb7366e Mon Sep 17 00:00:00 2001 From: DeDe Morton Date: Tue, 8 Aug 2023 09:50:27 -0700 Subject: [PATCH 3/3] Delete repeated text. --- docs/en/aws-elastic-serverless-forwarder.asciidoc | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/en/aws-elastic-serverless-forwarder.asciidoc b/docs/en/aws-elastic-serverless-forwarder.asciidoc index 95149e79..aa2b8ad0 100644 --- a/docs/en/aws-elastic-serverless-forwarder.asciidoc +++ b/docs/en/aws-elastic-serverless-forwarder.asciidoc @@ -13,8 +13,6 @@ The Elastic Serverless Forwarder is an Amazon Web Services ({aws}) Lambda functi The Elastic Serverless Forwarder works with {stack} 7.16 and later. -IMPORTANT: Using Elastic Serverless Forwarder may result in additional charges -on your next cloud provider billing statement due to increased usage. To learn IMPORTANT: Using Elastic Serverless Forwarder may result in additional charges. To learn how to minimize additional charges, refer to <>.