I am trying to configure My existing python lambda function which is deployed using chalice. I tried configuring ALB with lambda but it seems ALB is unable to communicate Chalice deployed projects. It seems the Chalice structure that we use for API Gateway cannot be used for ALB. Is there any way to configure the existing Chalice project to respond to ALB without much code change?
How to configure AWS ALB for a chalice lambda project
374 Views Asked by sandesh bafna At
1
There are 1 best solutions below
Related Questions in PYTHON-3.X
- Update a text file with ( new words+ \n ) after the words is appended into a list
- Kivy - Create new widget and set its position and size
- TypeError: encoding or errors without a string argument
- How to print varible name in python
- PyQt, Python 3: Lambda slot assigning signal argument to a variable?
- How to write data to stdin of the first process in a Python shell pipeline?
- pygame.draw.circle, still draws a square
- Duplicate Frames Created When Calling a Function in a Tkinter Application
- Python TypeError: can only concatenate tuple (not "int") to tuple
- recursively editing member variable: All instances have same value
- missing 1 required positional argument: 'key'
- How do I fix this sorting error?
- Dictionary values missing
- Why does opening a file in two different encodings work as expected?
- Binary bit flip generator in python
Related Questions in AMAZON-WEB-SERVICES
- "Access Denied" - User's Permissions to S3 Bucket
- Cohort analysis with Amazon Redshift / PostgreSQL
- Using Amazon KMS service on Heroku
- can't ssh in after cloning an EC2 instance on Amazon AWS
- Using HDFS with Apache Spark on Amazon EC2
- How can I access Mule ESB Community edition via browser?
- AWS EC2: Migrating from Windows to Linux Server
- AWS ELB Load Balancer: is it possible to set multiple session cookies?
- AWS Flow Framework: Can we run activity worker and activity task on different EC2 instances
- Unable to access files from public s3 bucket with boto
- Cloudfront stream only part of the video
- s3cmd not working as cron-task when echos/dates are added
- How to deploy django 1.8 on Elastic Beanstalk using Docker
- InstanceProfile is required for creating cluster - create python function to install module
- How to fix WordPress HTTPS issues when behind an Amazon Load Balancer?
Related Questions in AWS-LAMBDA
- How to get rows count from Amazon DynamoDB using Lambda AWS
- Querying DynamoDB with Lambda does nothing
- undefined is not a function after refactor
- Async AWS Lambda not executed if caller returns too early
- In amazon lambda, resizing multiple thumbnail sizes in parallel async throws Error: Stream yields empty buffer
- How to upload an object into S3 in Lambda?
- How to do image overlay and watermark using node.js in amazon lambda function
- Base64 encode UserData parameter for EC2 RunInstances using AWS Lambda
- AWS Lambda PHP Create Function with Zip
- Triggering a AWS Lambda from a form post
- Zip Files & Folders With No Base Directory
- Dynamically loading jar from arbitrary url
- AWSTask is not instantiable
- AWS Custom Authorizer with request parameters
- Parse OSM PBF in AWS Lambda and S3
Related Questions in AWS-APPLICATION-LOAD-BALANCER
- AWS ALB Host Header Attack
- Availability Zone ap-northeast-1b cannot be associated with a load balancer
- Can we use one ALB with AWS ECS Fargate?
- AWS Application Load Balancer - Lambda response contains only body
- AWS ALB SSL/TLS offloading security
- Terraform, AWS and importing existing SSL certificates
- NET::ERR_CERT_COMMON_NAME_INVALID error occuring while AWS ACM certificate loaded on HTTPS load balancer for a domain created in GoDaddy
- AWS target groups turn unhealthy with no data
- How do I pass paths from a cname record to ALB?
- Custom headers not passed to backend service while using AWS ALB with Custom Domain name
- Routing Multiple A Records To AWS LoadBalancer DNS
- Pulumi Fargate abort deploy on bad health check
- AWS Load Balancer : redirection based on path but strip the path
- Failing checks for target group with target type = ALB
- AWS ALB with custom domain cannot work for specific port
Related Questions in CHALICE
- AWS Lambda Chalice: "The request could not be satisfied" Error
- best way to manage sessions/cookies with chalice
- I'm Getting an error_message:“Key error” when invoking a lambda using boto3.client.invoke
- How To Connect to an already created Chalice Project and AWS Lambda Environment
- How to get chalice like features in fastapi
- How do I make Pylint command run in PyCharm (Python)
- from chalice invoke another lambda
- Chalice AWS Eventbridge
- How to configure AWS ALB for a chalice lambda project
- Flask Pagination is not working with AWS Chalice
- How to deploy by stage with Chalice using CDK
- AWS chalice local works but not chalice deploy
- How to print log in pytest using AWS Chalice framework?
- Terraform invalid arn for aws provider
- AWS IAM Policy required for AWS Chalice
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I had the same problem, and I could not find a suitable answer.
So, I decided to define the other lambda project to proxy the connection between ALB and API Gateway.
My architecture is [ALB -> new lambda -> API Gateway -> existing lambda]. "new lambda"'s implements is below.
I think it's not the best solution but the easiest way to achieve the problem.