aws / apprunner-roadmap

This is the public roadmap for AWS App Runner.
https://aws.amazon.com/apprunner/
Other
292 stars 13 forks source link

Unable to use the same custom domain on two services #245

Open cade-coreschedule opened 2 months ago

cade-coreschedule commented 2 months ago

Community Note

Tell us about your request What do you want us to build?

Here's our challenge: we have a production App Runner service that has the Custom Domain *.example.com. This uses the "build from code" build process. We need to change this to "build from ECR". We can't update the service in-place, so we have to create a new App Runner service. We can build the new service, but we can't add the domain name *.example.com to this new one.

How do we migrate from service A to service B with zero downtime? We were intending to get it set up and ready to receive requests, then simply re-route the DNS. This seems impossible without deleting service A - incurring downtime - then quickly adding the domain name to service B and praying ACM validates it quickly.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

No alternative available for reusing the same domain name when creating a new App Runner service.

Additional context Anything else we should know?

Attachments If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

neidiom commented 1 month ago

Try using CloudFront. I have a setup where the origin is AppRunner.