AWS Lambda: Difference between revisions

Content deleted Content added
WikiCleanerBot (talk | contribs)
m v2.05b - Bot T20 CW#61 - Fix errors for CW project (Reference before punctuation)
Added AWS Lambda function URL section (feature, date of launch, format, history, pricing, caution)
Line 27:
 
Since December 2020, Lambda has been capable of supporting Docker containers through ECR up to 10 GB in size.<ref>{{Cite web|date=2020-12-01|title=New for AWS Lambda – Container Image Support|url=https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/|access-date=2021-06-03|website=Amazon Web Services|language=en-US}}</ref>
 
== AWS Lambda Function URL ==
The Lambda Function URL gives Lambda a unique and permanent [[URL]] which can be accessed by [[authenticated]] and non-authenticated users alike.<ref name=":0">{{Cite web |title=Lambda function URLs - AWS Lambda |url=https://docs.aws.amazon.com/lambda/latest/dg/lambda-urls.html |access-date=2024-03-01 |website=docs.aws.amazon.com}}</ref> It was launched in April 6, 2022 by the AWS Lambda team.<ref>{{Cite web |title=Document history - AWS Lambda |url=https://docs.aws.amazon.com/lambda/latest/dg/lambda-releases.html |access-date=2024-03-01 |website=docs.aws.amazon.com}}</ref>
 
=== Format ===
A typical function URL has the following format: <ref name=":0" /><syntaxhighlight lang="text">
https://<url-id>.lambda-url.<region>.on.aws
</syntaxhighlight>
 
=== History ===
Before Function URLs, Lambda functions could be invoked only using AWS Lambda [[API|APIs]] or [https://aws.amazon.com/api-gateway/ Amazon API Gateway]<ref>{{Cite web |title=Invoking Lambda functions - AWS Lambda |url=https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html |access-date=2024-03-01 |website=docs.aws.amazon.com}}</ref>. [[Streaming data|Response streaming]] was also made possible with function URLs.<ref>{{Cite web |title=Configuring a Lambda function to stream responses - AWS Lambda |url=https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html#config-rs-invoke-furls |access-date=2024-03-01 |website=docs.aws.amazon.com}}</ref>
 
=== Pricing ===
There are no extra charges included with invoking a Function URL, other than the duration and [[HTTP|requests]].<ref>{{Cite web |title=Serverless Computing – AWS Lambda Pricing – Amazon Web Services |url=https://aws.amazon.com/lambda/pricing/ |access-date=2024-03-01 |website=Amazon Web Services, Inc. |language=en-US}}</ref> Function URLs are included in Lambda’s request and duration pricing.<ref>{{Cite web |date=2022-04-06 |title=Announcing AWS Lambda Function URLs: Built-in HTTPS Endpoints for Single-Function Microservices {{!}} AWS News Blog |url=https://aws.amazon.com/blogs/aws/announcing-aws-lambda-function-urls-built-in-https-endpoints-for-single-function-microservices/ |access-date=2024-03-01 |website=aws.amazon.com |language=en-US}}</ref>
 
==== Caution with a public function URL ====
If a Lambda function URL is made publicly available with AuthType = NONE, it will warrant unauthenticated access to the Lambda function.<ref>{{Cite web |title=Security and auth model for Lambda function URLs - AWS Lambda |url=https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html |access-date=2024-03-01 |website=docs.aws.amazon.com}}</ref> It can lead to a [[Denial-of-service attack|DDoS]] attack, which will incur costs to the [[Amazon Web Services|AWS]] account which is hosting the Lambda function.
 
== AWS Lambda Layers ==