Problems while hosting Remix JS app with AWS Amplify


I have created a Remix JS app, then built it locally, and it's working fine. Then I created a repository in CodeCommit and kept the App there, then I tried to host it with AWS Amplify. It created a pipeline and the pipeline succeeded, but when I am opening the app in the browser with the link from Amplify pipeline, it is giving following error.

If anyone can help with this scenario that would be great. Thanks in advance.

Amplify hosting error

  • I also have the same problem with AWS Amplify hosting with Remix.JS

  • Hi, would you be able to share the full url you are using to access your app? Have you looked into the S3 bucket Amplify has generated for the static content? What Amplify does is create a S3 Bucket and put all the static assets there and put a CloudFront Distribution in front. This error shown is coming from S3 when CloudFront tries to forward the request to S3 to get the requested object.

asked 2 months ago55 views
1 Answer

Hello, I understand that you would like to host your application based on RemixJs framework to Amplify. After deploying the application, you are getting "AccessDenied" when accessing the application using the branch URL generated by Amplify.

Unfortunately, as of now Amplify doesn't not support hosting for RemixJs application and it's currently a feature request. Also, you may refer to the comment on this Github issue where engineer from Service team has also mentioned the same.

Having said that, I am unable to comment on when this feature may get released, I request you to keep an eye on our What's New and Blog pages for any new feature announcements.

In case I misunderstood the query, please feel free to reach out to us via creating a support case from the support centre dashboard.

answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions