|
| 1 | +{ |
| 2 | + "title": "REST API Integration with Private ALB integration", |
| 3 | + "description": "This pattern explains workaround on how to integrate an API Gateway REST API with an Application Load Balancer.", |
| 4 | + "language": "Python", |
| 5 | + "level": "200", |
| 6 | + "framework": "AWS SAM", |
| 7 | + "introBox": { |
| 8 | + "headline": "How it works", |
| 9 | + "text": [ |
| 10 | + "To work around this limitation for private ALBs, a multi-step approach is necessary", |
| 11 | + "1. Use an API Gateway VPC to integrate your API with a private Network Load Balancer.", |
| 12 | + "2. Use the Network Load Balancer to forward the API request to the private Application Load Balancer", |
| 13 | + "3. Application Load Balancer will forward the traffic to Lambda Function configured on HTTPS listener." |
| 14 | + ] |
| 15 | + }, |
| 16 | + "gitHub": { |
| 17 | + "template": { |
| 18 | + "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/rest-api-alb-integration-workaround", |
| 19 | + "templateURL": "serverless-patterns/rest-api-alb-integration-workaround", |
| 20 | + "projectFolder": "rest-api-alb-integration-workaround", |
| 21 | + "templateFile": "template.yaml" |
| 22 | + } |
| 23 | + }, |
| 24 | + "resources": { |
| 25 | + "bullets": [ |
| 26 | + { |
| 27 | + "text": "How do I integrate an API Gateway REST API with an Application Load Balancer", |
| 28 | + "link": "https://repost.aws/knowledge-center/api-gateway-application-load-balancers" |
| 29 | + } |
| 30 | + ] |
| 31 | + }, |
| 32 | + "deploy": { |
| 33 | + "text": [ |
| 34 | + "sam deploy" |
| 35 | + ] |
| 36 | + }, |
| 37 | + "testing": { |
| 38 | + "text": [ |
| 39 | + "Once the application is deployed, retrieve the API URL provided as output and open it in a browser page." |
| 40 | + ] |
| 41 | + }, |
| 42 | + "cleanup": { |
| 43 | + "text": [ |
| 44 | + "Delete the stack: <code>sam delete</code>." |
| 45 | + ] |
| 46 | + }, |
| 47 | + "authors": [ |
| 48 | + { |
| 49 | + "name": "Vamsi Pulikonda", |
| 50 | + "image": "https://raw.githubusercontent.com/vamsipulikonda/my-photo/main/vamsi-photo.jpg", |
| 51 | + "linkedin": "vamsipulikonda", |
| 52 | + "bio": "I am a cloud computing enthusiast working as a Cloud Engineer at Amazon Web Services." |
| 53 | + } |
| 54 | + ], |
| 55 | + "patternArch": { |
| 56 | + "icon1": { |
| 57 | + "x": 15, |
| 58 | + "y": 50, |
| 59 | + "service": "apigw", |
| 60 | + "label": "Amazon API Gateway" |
| 61 | + }, |
| 62 | + "icon2": { |
| 63 | + "x": 43, |
| 64 | + "y": 50, |
| 65 | + "service": "alb", |
| 66 | + "label": "Network Load Balancer" |
| 67 | + }, |
| 68 | + "icon3": { |
| 69 | + "x": 70, |
| 70 | + "y": 50, |
| 71 | + "service": "alb", |
| 72 | + "label": "App. Load Balancer" |
| 73 | + }, |
| 74 | + "icon4": { |
| 75 | + "x": 92, |
| 76 | + "y": 50, |
| 77 | + "service": "lambda", |
| 78 | + "label": "AWS Lambda" |
| 79 | + }, |
| 80 | + "line1": { |
| 81 | + "from": "icon1", |
| 82 | + "to": "icon2" |
| 83 | + }, |
| 84 | + "line2": { |
| 85 | + "from": "icon2", |
| 86 | + "to": "icon3" |
| 87 | + }, |
| 88 | + "line3": { |
| 89 | + "from": "icon3", |
| 90 | + "to": "icon4" |
| 91 | + } |
| 92 | + } |
| 93 | +} |
0 commit comments