AWS Infrastructure
Knocknoc ships with a script for updating security groups in AWS. Checkout the backend documentation here: https://docs.knocknoc.io/books/admin-guide/page/aws-ec2-security-groups
This includes an IAM role for updating the security group.
This approach allows for a large degree of flexibility in using Knocknoc for AWS resources, and could easily be adapted to any of the other methods available.
Further more nuanced support for AWS services is on the roadmap. Please feel free to provide feedback if you have any other requirements.
Providing your own script
Knocknoc agent simply runs the script provided in the Backend config with the arguments documented. Its a simple matter of replacing the script and ensuring the user 'knocknoc-agent' can run the script with correct permissions, and you can adapt it work however you like.