forked from aws-samples/serverless-patterns
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-pattern.json
More file actions
66 lines (66 loc) · 2.33 KB
/
Copy pathexample-pattern.json
File metadata and controls
66 lines (66 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"title": "Application Load Balancer with Lambda as a target",
"description": "Create an Application Load Balancer with Lambda as target using Serverless Framework",
"language": "Node.js",
"architectureURL": "",
"videoId": "",
"level": "100",
"framework": "Serverless Framework",
"services": {
"from": "alb",
"to": "lambda"
},
"introBox": {
"headline": "How it works",
"text": [
"This pattern registers the lambda function as the target for the Application Load Balancer using the serverless framework.",
"",
"When the load balancer endpoint is hit in the browser, if the specified URL (`/hello`) path matches, it triggers the lambda function & the file (hello) is downloaded in your local system with the output from lambda function."
]
},
"gitHub": {
"template": {
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/alb-lambda-serverless",
"templateURL": "serverless-patterns/alb-lambda-serverless",
"projectFolder": "alb-lambda-serverless",
"templateFile": "serverless.yml"
}
},
"resources": {
"headline": "Additional resources",
"bullets": [
{
"text": "Using AWS Lambda with an Application Load Balancer",
"link": "https://docs.aws.amazon.com/lambda/latest/dg/services-alb.html"
},
{
"text": "Lambda functions as targets - Elastic Load Balancing",
"link": "https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html"
}
]
},
"deploy": {
"text": [
"<code>serverless deploy --verbose</code>"
]
},
"testing": {
"text": [
"See the GitHub repo for detailed testing instructions."
]
},
"cleanup": {
"text": [
"<code>serverless remove --verbose</code>."
]
},
"authors": [
{
"headline": "Presented by Anjali Modi, Software Engineer, Distinction-Dev",
"name": "Anjali Modi",
"bio": "Anjali Modi is a Software Engineer working for developing Serverless solutions at Distinction-Dev, India",
"linkedin":"https://www.linkedin.com/in/anjali-modi-068045119/",
"imageURL": "https://1.gravatar.com/avatar/51f84b006e95184c3943b4d5e17b1ac3"
}
]
}