From 772eedbcbb1e602a146e674db70708b22ddfecea Mon Sep 17 00:00:00 2001 From: dedemorton Date: Mon, 31 Jul 2023 17:31:30 -0700 Subject: [PATCH] [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].