Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EC2 : Lifecycle Management for Snapshots #26122

Closed
2 tasks
ETisREAL opened this issue Jun 26, 2023 · 5 comments
Closed
2 tasks

EC2 : Lifecycle Management for Snapshots #26122

ETisREAL opened this issue Jun 26, 2023 · 5 comments
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud feature-request A feature should be added or improved. needs-cfn This issue is waiting on changes to CloudFormation before it can be addressed. p2

Comments

@ETisREAL
Copy link

Describe the feature

Hi, I believe it would be very useful to introduce the functionalities of Lifecycle Management in the CDK

Use Case

Configuring automatic snapshots for Volumes and/or Instances from the CDK

Proposed Solution

Implementing it directly in the Instance class or in the Volume class

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.85.0

Environment details (OS name and version, etc.)

Linux - Ubuntu 22.04

@ETisREAL ETisREAL added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jun 26, 2023
@github-actions github-actions bot added the @aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud label Jun 26, 2023
@peterwoodworth
Copy link
Contributor

The only functionality that I can find related to this through CloudFormation is being able to configure the deletion policy of a Volume as snapshot. This can be configured through CDK already. Could you elaborate on what kind of lifecycle management you'd like to see?

@peterwoodworth peterwoodworth added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. p2 needs-cfn This issue is waiting on changes to CloudFormation before it can be addressed. and removed needs-triage This issue or PR still needs to be triaged. labels Jun 26, 2023
@pahud
Copy link
Contributor

pahud commented Jun 26, 2023

@ETisREAL

I guess the best solution off the top of my head is using BackupPlan from AWS Backup to define your plan, target resource and schedule. Is there anything else in your mind?

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jun 26, 2023
@ETisREAL
Copy link
Author

The only functionality that I can find related to this through CloudFormation is being able to configure the deletion policy of a Volume as snapshot. This can be configured through CDK already. Could you elaborate on what kind of lifecycle management you'd like to see?

Thanks for the quick reply and sorry I wasn't clear. What I think would be a very helpful addition would be integrating the Lyfecycle management functionality that are available from the console regarding Automated snapshots

@ETisREAL
Copy link
Author

@ETisREAL

I guess the best solution off the top of my head is using BackupPlan from AWS Backup to define your plan, target resource and schedule. Is there anything else in your mind?

I guess if BackupPlan is an option that would do the job. Thank you @pahud

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud feature-request A feature should be added or improved. needs-cfn This issue is waiting on changes to CloudFormation before it can be addressed. p2
Projects
None yet
Development

No branches or pull requests

3 participants