1 Answer
- Newest
- Most votes
- Most comments
0
At a network level you could do this with VPC Flow Logs - but that's not going to be in real-time.
You haven't said which RDS flavour you're using but most databases give you the ability to run a query/command which will return the clients which are connected. For example, MySQL: https://dataedo.com/kb/query/mysql/list-database-sessions - you could run those commands in a Python script which is connected to the database.
What are you going to use the list for?
Relevant content
- asked 2 years ago
- Accepted Answerasked 3 years ago
- asked 5 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
Thanks. I will definitely try it out. I am just a beginner in cloud and to make myself familiarize with APIs and boto3, I am fetching details..