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 個月前檢視次數 344 次
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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南