Starting today, customers can run beta macOS versions on their EC2 M1 Mac instances by registering their instances with the Apple Developer Program, and upgrading to their desired preview, seed, or release candidate macOS versions from within their guest environments. With this capability, Apple developers can now integrate latest macOS features into their applications and test existing applications for compatibility before public macOS releases.
Source:: Amazon AWS