Skip to content

Remove logging to Cloudwatch from EC2 instances#10

Merged
anero merged 2 commits intocontrolshift-devfrom
remove_cloudwatch_logging
Feb 26, 2025
Merged

Remove logging to Cloudwatch from EC2 instances#10
anero merged 2 commits intocontrolshift-devfrom
remove_cloudwatch_logging

Conversation

@anero
Copy link

@anero anero commented Feb 26, 2025

Removed integration to send logs to Cloudwatch from EC2 instances to reduce the cost of running Buildkite instances.
Disabling this integration is not currently supported by Buildkite, so we need to change the AMIs and the Cloudformation template to avoid it.

Part of CON-301

Copy link

@lavaturtle lavaturtle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks reasonable. I guess we'll know if it works once we rebuild the stack and roll it out on Buildkite?

# sometimes that fails, are various CloudFormation Stacks and S3 Buckets left around.
#
# This is a safety net at the end of the build that attempts to delete any resources created by this
# pipeline more than a day ago, regardless of if they were created in the current build or not.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we making any changes to this cleanup process, or just updating the comment?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think they're referring to logs created during the AMI build, which I'm hoping won't be created, but I may be wrong. I was mostly trying to keep comments current with the changes we're making. My plan is to delete all log groups from CloudWatch before deploying these changes and check if any of them are recreated.

@anero anero merged commit 9cf4d0f into controlshift-dev Feb 26, 2025
@anero anero deleted the remove_cloudwatch_logging branch February 26, 2025 20:30
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.

2 participants