Virtual Screen for AWS EC2

0

Hello, My company developed a python script which, when run on local machine, may take certain screen shot depending on the operating condition. Now, we want to migrat it onto AWS EC2 instance ( and launch it via task scheduler ) . Because there is NO physical display or monitor associate with the instance (when launch the program while the instance is disconnected from the local machine ) , the program failed for not finding a monitor.

Is there a solution for this situation ? May be there is some way to REDIRECT the displayed information onto certain memory space and "taking a screenshot" simply means "to copy that memory"? In other word, is there such a "Vritual DISPLAY" or "Virtual Monitor" mechanism exist ?

Thanks for replying in advance.

Larry Chen

질문됨 2년 전730회 조회
1개 답변
1

Can the script be edited to be more EC2 specific? The CLI and SDK both have the ability to take a console screenshot.

See here for CLI https://docs.aws.amazon.com/cli/latest/reference/ec2/get-console-screenshot.html

And here for the SDK https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetConsoleScreenshot.html

AWS
AWSJoe
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠