|
| 1 | +{ |
| 2 | + "title": "Multi-tenant API with AWS Lambda tenant isolation", |
| 3 | + "description": "This sample project demonstrates the tenant isolation mode of AWS Lambda functions.", |
| 4 | + "language": "Python", |
| 5 | + "level": "200", |
| 6 | + "framework": "AWS SAM", |
| 7 | + "introBox": { |
| 8 | + "headline": "How it works", |
| 9 | + "text": [ |
| 10 | + "Amazon API Gateway receives the HTTP GET request with tenant id in the header x-tenant-id.", |
| 11 | + "The API Gateway triggers either the standard or the tenant isolated Lambda functions depending on the URI.", |
| 12 | + "Observe the counter variable value between standard and tenant isolation mode enabled Lambda function as you invoke the APIs for different tenant." |
| 13 | + ] |
| 14 | + }, |
| 15 | + "gitHub": { |
| 16 | + "template": { |
| 17 | + "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-lambda-tenant-isolation", |
| 18 | + "templateURL": "serverless-patterns/apigw-lambda-tenant-isolation", |
| 19 | + "projectFolder": "apigw-lambda-tenant-isolation", |
| 20 | + "templateFile": "template.yaml" |
| 21 | + } |
| 22 | + }, |
| 23 | + "resources": { |
| 24 | + "bullets": [ |
| 25 | + { |
| 26 | + "text": "AWS Lambda tenant isolation", |
| 27 | + "link": "https://docs.aws.amazon.com/lambda/latest/dg/tenant-isolation.html" |
| 28 | + }, |
| 29 | + { |
| 30 | + "text": "AWS Blog - Building multi-tenant SaaS applications with AWS Lambda’s new tenant isolation mode", |
| 31 | + "link": "https://aws.amazon.com/blogs/compute/building-multi-tenant-saas-applications-with-aws-lambdas-new-tenant-isolation-mode/" |
| 32 | + } |
| 33 | + ] |
| 34 | + }, |
| 35 | + "deploy": { |
| 36 | + "text": [ |
| 37 | + "sam build", |
| 38 | + "sam deploy --guided" |
| 39 | + ] |
| 40 | + }, |
| 41 | + "testing": { |
| 42 | + "text": [ |
| 43 | + "See the GitHub repo for detailed testing instructions." |
| 44 | + ] |
| 45 | + }, |
| 46 | + "cleanup": { |
| 47 | + "text": [ |
| 48 | + "Delete the stack: <code>sam delete</code>." |
| 49 | + ] |
| 50 | + }, |
| 51 | + "authors": [ |
| 52 | + { |
| 53 | + "name": "Biswanath Mukherjee", |
| 54 | + "image": "https://serverlessland.com/assets/images/resources/contributors/biswanath-mukherjee.jpg", |
| 55 | + "bio": "I am a Sr. Solutions Architect working at AWS India. I help strategic global enterprise customer to architect their workload to run on AWS.", |
| 56 | + "linkedin": "biswanathmukherjee" |
| 57 | + } |
| 58 | + ], |
| 59 | + "patternArch": { |
| 60 | + "icon1": { |
| 61 | + "x": 20, |
| 62 | + "y": 50, |
| 63 | + "service": "apigw", |
| 64 | + "label": "API Gateway REST API" |
| 65 | + }, |
| 66 | + "icon2": { |
| 67 | + "x": 80, |
| 68 | + "y": 50, |
| 69 | + "service": "lambda", |
| 70 | + "label": "AWS Lambda" |
| 71 | + }, |
| 72 | + "line1": { |
| 73 | + "from": "icon1", |
| 74 | + "to": "icon2", |
| 75 | + "label": "Request by tenant" |
| 76 | + } |
| 77 | + } |
| 78 | +} |
0 commit comments