1 回答
- 最新
- 投票最多
- 评论最多
1
Sure, it's possible to have an external process like an SSM document or a lambda that finds and kills them. But I would probably only use the timeout
util in the startup command when you start your app. https://linuxize.com/post/timeout-command-in-linux/
the command would look something like this: timeout 3600 start service
.
Hope it helps!
已回答 2 年前
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前