EC2 Instance in Non-existent VPC after Shared Resource Deletion

0

I have create a shared resource (subnet ) using AWS Resource Access Manager (RAM) in Account A and share a subnet with organization account Account B and then in the other account Account B, i created an EC2 instance in that shared subnet in Account B. The shared resource in Account A was deleted after some time and I went back to Account B to check if the EC2 instance was still working. Ec2 instance was active and running. However, the shared VPC does not exist anymore in Account B. If this is the correct behavior, If yes does it mean we can run an EC2 instance with a non-existent VPC?

1回答
1
承認された回答

I can't start a new one, but I don't think it affects resources that are already active.
https://repost.aws/knowledge-center/delete-shared-vpc

Un-sharing subnets doesn't have a direct impact on the active resources. However, you must terminate all active resources within the shared or un-shared VPC to delete the parent VPC. To verify active resources, do the following:

profile picture
エキスパート
回答済み 1年前
profile picture
エキスパート
レビュー済み 1ヶ月前

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

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

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

関連するコンテンツ