1 Answer
- Newest
- Most votes
- Most comments
0
No afraid this is not possible.
Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, such as .html, .css, .js, and image files, to your users. ECR is not web service im afraid.
Relevant content
- asked 6 months ago
- Accepted Answerasked a year ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Why is that? This isn't possible even with Lambda function in the middle between the cloudfront & the ECR origin?
Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, such as .html, .css, .js, and image files, to your users. ECR is not web service im afraid.
1st of all, thanks for the response There is a way maybe with APi GW? or route 53? or LB? maybe with other way?
We want to serve our registry with a signed URL and not the ECR url.
I just found this terraform article which says it can be done with APi GW and Lambda https://github.com/amancevice/terraform-aws-custom-ecr-domain But this is just a DNS redirect