Running Chrome on an AWS micro instance

こ雲淡風輕ζ 提交于 2021-02-08 15:48:10

问题


Let me start by saying my server administration experience is limited, so please forgive me if I'm making assumptions that might seem odd.

I've written an extension for Google Chrome and I'd like to test its stability when left running continuously for days, but unfortunately I have no access to a pc or laptop that I can leave on 24/7. So my idea is to set up a EC2 micro instance with ubuntu, then install ubuntu-desktop and a vnc server, and finally connect via vnc to the instance, access to the graphical desktop interface, install Google Chrome, add my extension and let it run there.

Does this sound feasible, or is it a silly idea? What are the potential limitations I could run into?


回答1:


AWS gives you complete control of the OS so what you're suggesting makes sense.

The main disadvantages of running a GUI over the network come down to bandwidth and latency issues, so you might want to consider getting an EC2 instance as close to your region as possible.

Keep in mind AWS Security groups, which will need to be configured to allow your VNC connection.

Micro Instances aren't really made for production use, so you may find it's not really a true test of a typical system. You should factor this into your test as it may be more appropriate to use a small instance type.

Other than that, sounds like a reasonable solution.



来源:https://stackoverflow.com/questions/16468855/running-chrome-on-an-aws-micro-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!