- Newest
- Most votes
- Most comments
Hello.
As of August 2024, as far as I know, there is no way to do IP restrictions on Lightsail containers.
The document you are reading is a firewall configuration for a Lightsail instance, so it cannot be configured for a Lightsail container.
Hi there,
Yes, confirming the above is true. Lightsail currently does not support configurable ip restriction for inbound traffic to Lightsail Containers. We'd appreciate it if you tell us more regarding your use-case. Thanks!
answered 2 years ago
Hello,
It is not possible to restrict traffic by IP address to a Lightsail container. The firewall settings mentioned in the documentation apply to Lightsail instances, not containers.
https://docs.aws.amazon.com/lightsail/latest/userguide/what-is-amazon-lightsail.html
Relevant content
asked 4 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago

I am looking for a simple way to host a web app that I wrote. I have a login page but I am also looking to restrict the users that can access it to a limited set of IP addresses. I have used an EC2 instance previously but it was a very steep learning curve an I would prefer not to have to worry about VPCs, load balancers etc.