Skip to content

Restrict inbound traffic to Lightsail container

0

Hi,

Is is possible to restrict traffic by IP address to a Lightsail container? I have looked at this article but it says to go to the instances tab and I only have a container deployed. I have also looked through the Networking tab but I only see options for setting up a Static IP, CDN or load balancer. I can't see an option in the deployment settings either.

Thanks for your help.

asked a year ago280 views
3 Answers
2
Accepted Answer

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.

EXPERT
answered a year ago
EXPERT
reviewed a year ago
0

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!

AWS
answered 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.

0

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

EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.