Checkpointing an instance.

0

Hi, I am trying to run a scientific calculation job on an instance. It is a large calculation which should take a lot of time to compute. Due to the dependency among the calculations, it cannot be parallelized.My concern is that if the instance fails, I will lose all the progress. What are the best practices where if the instance fails, I can resume the computation without having to restart from the beginning.I will prefer to checkpoint periodically and launch another instance from that checkpoint. Does AWS have any built in mechanisms that I can use to checkpoint? thanks

AG
已提問 7 個月前檢視次數 207 次
1 個回答
0

You can snapshot the EBS volumes and then restore that to a new volume and resume. It will take some development on your part, and you'll need to ensure you supply the correct permissions to your instance role to take snapshots and restore them. See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html and https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-creating-snapshot.html and https://docs.aws.amazon.com/prescriptive-guidance/latest/backup-recovery/restore.html

profile pictureAWS
已回答 7 個月前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南