AWS Cloud9: Cannot open environment

 ̄綄美尐妖づ 提交于 2019-12-25 03:16:33

问题


I have created an environment in AWS Cloud9 with a Python Lambda function. This was working fine and for several days I was adding functionality. However one day the environment failed to open. After several minutes of loading it displayed an error message:

This is taking longer than expected. If you think there might be an issue, contact AWS Support. It might be caused by VPC configuration issues. Please check documentation: https://docs.aws.amazon.com/cloud9/latest/user-guide/vpc-settings.html?icmpid=docs_ac9_console

I looked at the suggested link, but I don't think the VPC is the issue. I didn't make any changes to it. Moreover I am able to make new environments and open them.

Any ideas how to solve this?


回答1:


Turns out the problem was the default t2.micro (1 GiB RAM) instance that is used to run Cloud9. I was probably running out of memory. Moving my environment to t2.small (2 GiB RAM) solved the problem.

Documentation on moving environments: https://docs.aws.amazon.com/cloud9/latest/user-guide/move-environment.html



来源:https://stackoverflow.com/questions/52103410/aws-cloud9-cannot-open-environment

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