I am currently using the API to publish a feature service from a File GDB in ArcGIS Online. This works fine. If I load this into an AWS lambda function however, the total time to execute is greater than the 29s allowed for a lambda function.
Are other methods, such as publishing from a .sd or cloning an existing feature service from within the same org (is this possible?), any faster than publishing from a File GDB hosted in arcgis online?