Can I just detach an EC2 instance from OpsWorks without deleting the instance?

0

Many years ago, I created an EC2 instance with OpsWorks set up, as it sounded like a way to automate keeping its Amazon Linux OS up to date.

Fast forward to today, and OpsWorks is being shut down. For some reason the migration script provided for moving it to AWS Systems Manager won't work on this instance (S3 won't allow it to access the bucket the script is in,) and I don't really want to deal with the complexity of Systems Manager for this one instance anyhow.

I just want to break the dependency of this EC2 instance on OpsWorks so I don't have to worry about it somehow failing when OpsWorks is shut down. It runs fine on its own and I can maintain it on my own. Is this possible, or do I really have to rebuild everything on this host from scratch on a new instance?

Sundog
質問済み 8ヶ月前343ビュー
1回答
0
承認された回答

Hi there!

I think the only option that might work is to detach the EBS volume, and launch a new instance with it. Per the documentation:

  1. Ensure that the instance is in the offline state.
  2. On the Resources page, click Volumes and click volume name.
  3. On the volume's details page, click Unassign.

I hope this helps.

profile pictureAWS
エキスパート
回答済み 8ヶ月前
  • Thanks - it turned out OpsWorks was associated with an EBS volume that no longer even existed in my case, so I ended up rebuilding this server from the ground up on a new instance. Hopefully this tip will help someone else though. Not how I wanted to spend the day, but at least it's done now.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ