I am experiencing an issue restoring a Magento 2 backup on an AWS EC2 instance. After successfully restoring the backup, when I try to access the site via the EC2 instance's IP address, I encounter a "Error 503 Backend fetch failed" error, indicating an issue with the Varnish cache server.

1 Answer 1


There are multiple reasons for these you can check with the:

-> Varnish issue contact your server administrator
-> Check varnish configuration in the env.php
-> Check the credentials of the Varnish

It is confirmed that it's the issue of the varnish side.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.