MahaveerB
Intern
Intern
  • UID5004
  • Fans0
  • Follows0
  • Posts2
Reads:2631Replies:3

Security Groups linking with a MySQL

Created#
More Posted time:Jan 28, 2018 21:53 PM
Is it possible to link ECS security groups with a MySQL database such that if I remove a IP from MySQL immediately it gets removed from security group. Like syncing IP from MySQL with server every 2 seconds or so..
If so, could someone give some script for how to do such?

MahaveerB
Intern
Intern
  • UID5004
  • Fans0
  • Follows0
  • Posts2
1st Reply#
Posted time:Jan 29, 2018 17:35 PM
In  security groups you put cidr blocks right? I'll in a mysql have 32 entries which will keep on changing. I want that through api I can sync security group with the mysql to allow only those 32cidr blocks through a port. Like syncing every 2 seconds .
Guest