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
demandé il y a 7 mois207 vues
1 réponse
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
répondu il y a 7 mois
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions