DEV Community

DMYTRO KOSHELIEV
DMYTRO KOSHELIEV

Posted on

How to get the number of requests from all EC2 instances in python?

I have several EC2 instances and running my python project on them.
What I wanna do is just monitor the number of requests from EC2 instances which they get from the users by real time.
And I want to write this in python code.
I have tried a lot of things, but can't solve this problem.
If you are an expert in Python and also AWS, please give me your help.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay