David Kimura PRO said about 2 years ago on Deploying to Amazon Linux 2 :
  I haven't looked much into this, but with AL2, my guess would be to use the Procfile to declare the service to run. I would probably also look at running the Worker environment type instead of a Web worker. The rest of the config should be pretty similar