Lightsail bucket now support CORS configuration, please refer to: https://docs.aws.amazon.com/en_us/lightsail/latest/userguide/configure-cors.html