Elasticbeanstalk command line deploy has suddenly become VERY slow

0

I have been using eb deploy to deploy my Node app on elastic beanstalk for 1 year+. It normally takes a few minutes. Suddenly, a few days ago, it became VERY slow (~20 minutes). And running the command with --verbose shows it's spending all of this time packaging the zip file.

To be clear:

eb deploy                                                
Alert: The platform version that your environment is using isn't recommended. There's a recommended version in the same platform branch.

Creating application version archive "app-4c72-4566829_232321".

(WAIT ~20 minutes - normally this was VERY fast. Perhaps instantaneous. When I run with --verbose, I can see it slowly crawling my directory tree and adding files. I have some files in .ebignore but even crawling normal files is very slow like a second or two per file)

This part seems normal / fast:

Upload Complete.
2023-03-24 20:26:20    INFO    Environment update is starting.
2023-03-24 20:26:26    INFO    Deploying new version to instance(s).
2023-03-24 20:27:15    INFO    Instance deployment completed successfully.
2023-03-24 20:27:20    INFO    New application version was deployed to running EC2 instances.
2023-03-24 20:27:20    INFO    Environment update completed successfully.

One thing I noticed is I am running Node.js 16 running on 64bit Amazon Linux 2/5.6.0 and it looks like there is a new platform version (5.7) available. Could the release of this new version have caused this?

Jeremy
질문됨 일 년 전494회 조회
1개 답변
0
수락된 답변

I wrote in to AWS support. They suggested I run eb --debug --verbose. I ran it and some some errors around unknown branches, so I just re-ran eb init (I had to delete my local codecommit branch). That fixed it!

Jeremy
답변함 일 년 전

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

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

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

관련 콘텐츠