LambStatus | Serverless Status Page System | Serverless library
kandi X-RAY | LambStatus Summary
kandi X-RAY | LambStatus Summary
LambStatus is the serverless status page system. See our website for features.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Handle an event .
LambStatus Key Features
LambStatus Examples and Code Snippets
Community Discussions
Trending Discussions on LambStatus
QUESTION
I am creating a status page using LambStatus https://lambstatus.github.io/ and would like to have the status of components update automatically via cloudwatch alarms. I have to limit traffic to the status page. I currently only have traffic whitelisted that originates from a VPN or from our VPC IP addresses. In a perfect world the cloudwatch alarm triggers SNS ----> Lambda function ---> curls the API endpoint to update the component.
I need to either place the Lambda in the VPC so that the HTTPS Patch comes from a set of IP addresses or discover some other way of whitelisting the VPC.
Lambda functions can have access to VPC resources but still exist in the default VPC. Is it possible for me to control the IP addresses of the lambda function or have some way to whitelist the lambda request?
...ANSWER
Answered 2019-Mar-29 at 05:11Since Lambda uses IP address from EC2 range if you're planning to use WAF, You need to add an explicit header in CURL and allow the request in WAF only if the header is present.
Since you mentioned about WAF, I assume the API endpoint is a public endpoint and accessible over a Public IP address.
In this case, the good option is to use Lambda in VPC. Lambda to communication to a Public IP in a VPC environment , it needs to be launched a private subnet , you can choose a subnet which has default route to a NAT gateway, NAT gateway requires a Elastic IP address so all the traffic from Lambda would go by the NAT gateway and you can whitelist the NAT gateway IP. I would not recommend using a NAT instance because I don't know the instance type and the number of requests.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install LambStatus
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page