Replace all firewall rules on an instance
One step with Amazon Lightsail. We can help you get access.
Get something done
Replace all firewall rules on an instance
with Amazon Lightsail · IT Infrastructure Management
Use Amazon Lightsail: its Amazon Lightsail Instances API lets you replace all firewall rules on an instance in a single step (POST /ls/api/2016-11-28/PutInstancePublicPorts). capabilities.work can help you get signed up and connected.
- Can I overwrite the whole firewall of an instance with a new set of rules?
- What happens to ports I leave out when I replace an instance's rules?
Say it to your AI assistant
- Replace all firewall rules on {instanceName} with {portInfos}.
- Set the full list of open ports on {instanceName} to {portInfos}.
For your developer
POST /ls/api/2016-11-28/PutInstancePublicPorts in Amazon Lightsail Instances API. Full spec on APIs.io.