Tag Specific Volume in a Multi-Volume Launch Template

0

I have a Launch Template with multiple volumes. I'd like to tag one of the volumes in a specific way so that I can make snapshots solely of this volume via DLM or AWS Backup, is there any way to do that ?

profile picture
질문됨 2년 전547회 조회
2개 답변
1

One way to do this would be to use EventBridge. Configure an EventBridge Rule that matches the launch of your EC2 instance. The Rule would then invoke a Lambda function, written by you, that tags the attached volume according to your desired preferences.

AWS
전문가
답변함 2년 전
0

hi, by using AWS Resource Group / Tag Editor s ?

hope it helps !

aaagius
답변함 2년 전
  • Hi! Thank you for your help. I may not have been accurate enough in my question. I'd like the process to be automatic when the resource is being created. I am trying to achieve a redundant single instance that will run within an ASG spanning multiple AZs.

    One of the EBS shall be persistent among the multiple AZs; to achieve this I want it to be automatically snapshot'ed when created. If an AZ were to go down, the launch template (being updated with the latest snapshot every time a snapshot is taken) would be used to create an instance in the next available AZ. The new EBS in the new AZ should now automatically be the new source of snapshots.

    From what I understand using Tag Editor would be more as a manual procedure. When using a Launch Template I can tag my EBS volumes as a whole, but unfortunately not individually.

    Thanks.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠