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

Allow enabling database logs for RDS #372

Open
4 tasks
markdboyd opened this issue Jul 11, 2024 · 0 comments
Open
4 tasks

Allow enabling database logs for RDS #372

markdboyd opened this issue Jul 11, 2024 · 0 comments

Comments

@markdboyd
Copy link
Contributor

markdboyd commented Jul 11, 2024

In order to provide useful debugging and security information, we want to allow enabling database logs on brokered RDS plans.

A second, related piece of work after this is complete will be to give customers some self-service access to logs to improve their visibility into their brokered services, likely by ingesting them into OpenSearch


Security considerations

Adding database logs should improve our platform and customer awareness of issues and improve our ability to respond to them

Proposed implementation

One option would be to support the creation of a custom Cloudwatch group per log type per customer. That way, we can provision Cloudwatch groups that are only accessible for the IAM user of the brokered RDS. Furthermore, then we ensure that the Cloudwatch group only contains logs for that customer.

Questions

  • What should the retention period on these Cloudwatch logs be? 7 days?

To do

  • Write an ADR of proposed implementation
  • Figure out necessary changes to support MySQL
  • Figure out necessary changes to support PostgreSQL
  • Implement the necessary changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant