Bug: Lambda Snapstart arm to x86 Migration issue

0

Hello Everyone, Currently I am running an Spring boot application with JAVA 8 and arm architecture. I have migrated to JAVA 11 and x86 architecture for enabling snapstart feature. While updating the Could formation I am struck with an error which says "arm64 is not supported for SnapStart enabled functions", even tough I have moved from arm to x86 in the could formation template.

**Note: **: Creating a new stack is working but while updating the existing stack which has arm is throwing the above error.

Please advice on solving this issue, I would be needing the same stack to get updated since downtime is not allowed.

1개 답변
2
수락된 답변

Hi

Are you trying to change to the architecture to x86_64 at the same time as enabling SnapStart? Because that could cause your problem as the function has not migrated to x86_64 yet. Have you tried first migrating to x86_64 fully and then turning on SnapStart?

profile picture
전문가
답변함 10달 전
  • Was looking around for this migration, but from Cloud formation template there wasn't any solutions for doing that as a migration activity. Hence in the snapstart enabled lambda I have given the architecture of x86 and expected it to migrate it from arm while updating. Could you please suggest some ways of doing this without any downtime.

  • The above answer is working, but still it would require more than one deployment (one with x86 and then one with snapstart) looking for ways to make it in single deployment

  • Hi AGS I don't think it's possible to do that change in one deployment, not reliable anyway. The architecture must first change before you turn on SnapStart, and there is no way to tell CloudFormation to do the architecture update then the SnapStart update. CloudFormation will try and do the updates at the same time.

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

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

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

관련 콘텐츠