Would you mind to confirm which type of OS architecture your host is using? The PHP build above is using the armhf architecture, but I suspect Amazon is using some type of Linux arm64 architecture. If this is the case, we would need to build one for Linux arm64 PHP for your case. Please also inform me the Linux type and PHP version you are using.
The key issues for ARM is that the company that design ARM does not produce a CPU. It only licenses its reference design to other companies, who can modify the design in various ways. They are often require custom Linux distributions to run. We have customers using ARM computers as small as a postal stamp to as large as a regular server. So it is hard to perform compatibility test for ARM release.
Anyway, from experience, we found our build quite compatible with most ARM devices so long as the OS architecture matches.