我有一个 Nest.js (Node.js) 应用程序,我想将其部署在 ElasticBeanstalk(Node 16 版本,AL2 5.5.0)上。我的部署一直失败,我在eb-engine.log.
...
2022/03/23 15:11:48.570759 [INFO] Executing instruction: StageApplication
2022/03/23 15:11:48.570846 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/
2022/03/23 15:11:48.570860 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var/app/staging/
2022/03/23 15:11:49.274806 [INFO] finished extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ successfully
2022/03/23 15:11:49.289272 [INFO] Executing instruction: RunAppDeployPreBuildHooks
2022/03/23 15:11:49.289292 [INFO] Executing platform hooks in .platform/hooks/prebuild/
2022/03/23 15:11:49.289306 [INFO] The dir .platform/hooks/prebuild/ does not exist
2022/03/23 15:11:49.289311 [INFO] Executing instruction: Install customer specified node.js version
2022/03/23 …Run Code Online (Sandbox Code Playgroud) 我可以为AWS Elastic Beanstalk环境配置Linux交换空间吗?
我没有在控制台中看到它的选项.从查看/proc/meminfo我环境中运行的实例MemAvailable看起来很低,尽管有很高的Inactive值.我怀疑有一些休眠的后台进程对页面输出没有任何害处,并且会释放t2.nano我正在使用的有限物理内存的非平凡部分.