Using python in amazon web service lambdas can be tricky in the following scenarios.
- There are some dependencies that are not included in the aws python lambda executor
- There are some dependencies that require binaries (Packages such as numpy, sklearn e.t.c.)
For the first topic it is still possible to develop on your laptop and to send the lambda via s3. For dependencies with binaries you have to work with a real ec2.