AWS Cloud9:无法打开环境 [英] AWS Cloud9: Cannot open environment

查看:166
本文介绍了AWS Cloud9:无法打开环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在AWS Cloud9中使用Python Lambda函数创建了一个环境. 一切正常,几天来我一直在添加功能. 但是有一天环境无法打开.加载几分钟后,它显示一条错误消息:

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:

这花费了比预期更长的时间. 如果您认为可能存在问题,请联系AWS支持. 这可能是由VPC配置问题引起的. 请检查文档: https://docs.aws. amazon.com/cloud9/latest/user-guide/vpc-settings.html?icmpid=docs_ac9_console

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

我查看了建议的链接,但我认为VPC不是问题所在.我没有对其进行任何更改.而且,我能够创建新环境并打开它们.

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?

推荐答案

原来的问题是用于运行Cloud9的默认t2.micro(1 GiB RAM)实例.我可能内存不足.将我的环境移至t2.small(2 GiB RAM)可以解决问题.

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.

有关移动环境的文档: https://docs.aws.amazon.com/cloud9/latest/user-guide/move-environment.html

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

这篇关于AWS Cloud9:无法打开环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆