Skip to content

Commit

Permalink
[DOCS] Mention that ESF may result in additional charges
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemorton committed Aug 1, 2023
1 parent 5b97992 commit 772eedb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/en/aws-elastic-serverless-forwarder.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<preventing-unexpected-costs>>.

[discrete]
[[aws-serverless-forwarder-overview]]
= Overview
Expand Down
1 change: 1 addition & 0 deletions docs/en/aws-serverless-troubleshooting.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<aws-serverless-forwarder-inputs>> 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].

Expand Down

0 comments on commit 772eedb

Please sign in to comment.