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

feat: initial commit for serverless operations #352

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

adrianriobo
Copy link
Collaborator

Fix #166

@adrianriobo adrianriobo force-pushed the fix-166b branch 2 times, most recently from 2fa887b to 4c720e4 Compare December 19, 2024 17:12
@adrianriobo adrianriobo mentioned this pull request Dec 19, 2024
@adrianriobo adrianriobo force-pushed the fix-166b branch 5 times, most recently from 9af2462 to 466d60c Compare December 24, 2024 15:32
@adrianriobo adrianriobo force-pushed the fix-166b branch 2 times, most recently from e2ddad9 to bbddb34 Compare January 10, 2025 11:05
@adrianriobo adrianriobo changed the title WIP: feat: initial commit for serverless operations feat: initial commit for serverless operations Jan 10, 2025
@anjannath
Copy link
Collaborator

@adrianriobo currently this PR is implementing the "scheduled destroy" operation using serverless right, or does it also run the create operation in serverless mode?

@adrianriobo
Copy link
Collaborator Author

Yeah, need to reduce the scope of the PR,

this one creates a reusable module for AWS serverless executions and implements the destroy operation based on the timeout parameter.

I will create a full epic around servlerless cause we would need to backport the functionality to Azure and define the behavior for serverless create cause for create we need somewhere to leave the credentials to connect to the target machine / service...as with serverless execution is no longer executed locally....I was thinking to create ephemeral s3 folder and create presigned urls to access assets...but we can discuss about it.

 This commit introduces a serverless module to run serverless operations on AWS, and as an example use case it introduces the timeout parameter for rhel, fedora and windows targets on AWS. When timeout parameter is set a serverless task is scheduled based on the timeout to self destroy resources created by the create operation

Signed-off-by: Adrian Riobo <[email protected]>
@anjannath anjannath merged commit 486138a into redhat-developer:main Jan 17, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scheduled fargate task to destroy desdicated host
2 participants