I am also facing this issue.
I cloned my strapi backend to an EC2 instance, configured MySQL and the DB connection in strapi.
My strapi build command hangs at 92% (sealing, asset processing).
I am on Node v14.20.0 and have tried with both npm install and yarn install, as well as npm run build, yarn build