We have just enrolled in Cloud Armor paygo.
Two attacks have been identified already. The dashboard reads “Mitigation is enforced. No action is required”.
But the VM is still unavailable when we allow external traffic.
What else can we do?
We have just enrolled in Cloud Armor paygo.
Two attacks have been identified already. The dashboard reads “Mitigation is enforced. No action is required”.
But the VM is still unavailable when we allow external traffic.
What else can we do?
Best answer by Absonny00-coder
Recommended actions to be taken...
1. Confirm your VM is behind a Google Cloud Load Balancer. Cloud Armor policies only apply to traffic routed through load balancers. If you’re exposing the VM directly, Cloud Armor won’t protect it.
2. Check Cloud Logging for denied/allowed requests. This will show if legitimate traffic is being blocked or if the VM is simply failing health checks.
3. Scale your backend. Consider auto scaling or adding more instances to absorb traffic.
4. Add rate limiting rules. For example, limit requests per IP to prevent floods.
5. Verify firewall rules. Ensure external traffic is allowed on the correct ports.
6. Test availability internally. Try accessing the VM from within the VPC to confirm if the issue is external only.
Bottom Line:
Cloud Armor is mitigating attacks at the edge, but your VM may still be failing due to backend health check issues, resource exhaustion, or missing load balancer integration. Start by checking Cloud Logging and backend health, then ensure your VM is properly integrated with a Google Cloud Load Balancer for full protection.
Would you like me to walk you through setting up rate limiting rules in Cloud Armor step by step?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.