Instance restart frequently, but status check is not, and the software I installed will disappear

0

My instance restart frequently(when I log in again, up time is short. Status check is normal), and the software I installed will disappear. For example, I upgraded python to 3.8, but it changed back to 3.7

Instance info: Enter image description here

Storage: Enter image description here

Monitor: Enter image description here

Uptime in console: Enter image description here

awser
질문됨 일 년 전267회 조회
2개 답변
0
수락된 답변

Is it the same instance or a replacement one - does the instance ID change?

Are you using EC2 autoscaling or Spot instances?

전문가
답변함 일 년 전
  • Thanks for your answer. I'm not sure if the instance id has changed, I'll record it. It doesn't look like autoscaling, because the files I uploaded are always there, but every time I upgrade the software, it will be lost

  • I think you need to provide more information about your configuration. What sort of instance is it and what disk volumes does it have. What tpe are those volumes? Where are you uploading files to on your instance?

  • Hi skinsman, I uploaded screenshots in the question. I used the git clone to upload the files in /home/cloudshell-user

0

When you upload files to /home/cloudshell-user, that's in your CloudShell persistent storage - a 1GB allocation that most likely is kept in S3. It doesn't have anything to do with your EC2 instance so termination/replacement of your EC2 instance won't affect it.

The software upgrades you do on the instance though are tied to the instance - so it looks like your instance is being replaced. If the Instance ID changes then that will confirm it.

전문가
답변함 일 년 전
  • Oh yes. I thought cloudshell was specially used by aws to log in to instances. Thank you for your help

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

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

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

관련 콘텐츠