feat(infra): provisiona S3 + CloudFront para mídia VAST (M2-02)#150
Open
cstipkovic wants to merge 2 commits into
Open
feat(infra): provisiona S3 + CloudFront para mídia VAST (M2-02)#150cstipkovic wants to merge 2 commits into
cstipkovic wants to merge 2 commits into
Conversation
Adiciona bucket S3 privado (Block Public Access, SSE-S3, BucketOwnerEnforced) e distribuição CloudFront com Origin Access Control (sigv4) para servir vídeos VAST cacheados, substituindo o disco local do legado (/tmp/adserver_video_cache). PriceClass_All garante edges na América do Sul. Contrato com M5-07 (media-handler): env MEDIA_BUCKET/MEDIA_CDN_DOMAIN e convenção de chave MD5(url).mp4. Output MediaDistributionId reservado para associação do WAF na M2-06. Sem lifecycle de expiração — paridade com cache indefinido do legado. Closes #76 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adiciona bucket S3 privado (Block Public Access, SSE-S3, BucketOwnerEnforced) e distribuição CloudFront com Origin Access Control (sigv4) para servir vídeos VAST cacheados, substituindo o disco local do legado (/tmp/adserver_video_cache). PriceClass_All garante edges na América do Sul. Contrato com M5-07 (media-handler): env MEDIA_BUCKET/MEDIA_CDN_DOMAIN e convenção de chave MD5(url).mp4. Output MediaDistributionId reservado para associação do WAF na M2-06. Sem lifecycle de expiração — paridade com cache indefinido do legado.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumo
Adiciona bucket S3 privado (Block Public Access, SSE-S3, BucketOwnerEnforced) e distribuição CloudFront com Origin Access Control (sigv4) para servir vídeos VAST cacheados, substituindo o disco local do legado (
/tmp/adserver_video_cache).PriceClass_Allgarante edges na América do Sul.O que foi feito
serverless.yml: recursosMediaBucket,MediaBucketPolicy,MediaOAC,MediaDistribution; envMEDIA_BUCKET/MEDIA_CDN_DOMAIN; Outputs (incluindoMediaDistributionId, reservado para associação do WAF na M2-06).MD5(url).mp4— paridade com oVideoCacheService.javalegado.docs/MATRIZ-PARIDADE.md: linhas N12 e V09 atualizadas (infra provisionada, lógica ainda pendente na M5-07).Como testar
Closes #76
🤖 Gerado com Claude Code