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

Send S3 notifications in staging environment #379

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

jdno
Copy link
Member

@jdno jdno commented Jan 16, 2024

The S3 bucket with the CDN logs for crates.io now sends S3 notifications to an SQS queue. This enables crates.io to start counting downloads in the background and not as part of the request-response cycle.

jdno added 3 commits January 16, 2024 16:41
The SQS queue must be in the same region as the S3 bucket, otherwise it
cannot be configured as the target for notifications. With our current
Terragrunt setup, it is not possible to create resources in a different
region, so we had to globally change the region that is associated with
this account.
The S3 bucket with the CDN logs for crates.io now sends S3 notifications
to an SQS queue. This enables crates.io to start counting downloads in
the background and not as part of the request-response cycle.
@jdno jdno merged commit 8f23675 into rust-lang:master Jan 17, 2024
3 checks passed
@jdno jdno deleted the s3-log-notifications branch January 17, 2024 09:52
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