2 個答案
- 最新
- 最多得票
- 最多評論
1
Hello.
What about deleting files using user data?
By using user data, I thought it would be a good idea to have the script set in the use data delete "start_app.sh" the next time it starts.
https://repost.aws/knowledge-center/execute-user-data-ec2
0
You could create a new instance; then mount the EBS volume from the first instance on the new instance then edit the script or make other changes as necessary. That way, you're not relying on booting the instance which will quickly shut down again.
相關內容
- 已提問 7 個月前
- AWS 官方已更新 2 年前