i couldn’t find a proper resource to do this on AWS EC2 machine
I assume you can use this code snippet: LLaVa