Running nightmare on Amazon Linux
You may have thought of running nightmare on AWS Lambda. But before we can run it on Lambda, we need first to make it run on Amazon Linux.
Provision instance which replicates Lambda environment
According to AWS Documentation on Lambda Execution Environment and available Libraries we would need this AMI image with this alias amzn-ami-hvm-2016.03.3.x86_64-gp2
. Keep in mind that AMI-image-id for this instance would be different in different regions (eg):
- In
eu-west-1
-ami-f9dd458a
- In
us-east-1
-ami-6869aa05