1 個回答
- 最新
- 最多得票
- 最多評論
0
Hi, Here are answers to your questions:
- The snapshot is stored in AWS, and you can visit all your existing snapshots for a instance from snapshots tab in Lightsail console instance detail page. Alternatively, you can use lightsail cli to get snapshots, you can use get-auto-snapshots to get automatic snapshots, or get-instance-snapshotsto get all manual created instance snapshots.
- You will be responsible for restoring the snapshot. You can set up alarm on operation system level failure by following this doc. If it the software level failure, you have to implement your own alarming mechanism to reduce the downtime of your software.
- Without a static ip, the ip address will not remain the same, the public ip address is randomly assigned when instance started. To preserve the ip address, I would recommend you to create a static ip. Once you restored a new instance from snapshot, you can attach the static ip to the newly created instance. Without static ip, the domain will still resolve to old ip address which no longer accessible.
已回答 1 年前
相關內容
- 已提問 1 年前
- AWS 官方已更新 9 個月前
- AWS 官方已更新 5 個月前
THANKS A LOT @yujie. A couple of follow up questions:
Is the lightsail snapshot stored in the same lighstail instance ? If yes, it means if an instance fails, there is no way to get to the latest snapshot.
Does snapshot contain the file system (as much files it has) or it's a disk snapshot. If just the filesystem, the way to restore it to copy all the files to a new instance. Or if its a snapshot, we can just create a new instance and give it an snapshot to restore from ?
Snapshot is not stored in the same lightsail instance, it is stored separately in AWS, if the instance failed, you can still find the latest snapshot from Lightsail console and restore a new instance from the snapshot.
The instance snapshot contains the file system and the entire operation system. If you have a disk attached to the instance, you can also create a disk snapshot and restore disk from the disk snapshot.
you can view more details here https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-instance-snapshots-in-amazon-lightsail