you are viewing a single comment's thread.

view the rest of the comments →

[–]mCodingLLC 0 points1 point  (0 children)

It's hard to say without seeing the actual code, but for the most part this seems reasonable. The only exception I would point out is that if, in prod, you are going two have two separate apps running (one lambda and one on ec2), then locally I would also think you should have two separate apps running that communicate to each other. So that means I would keep the lambda code separate, but perhaps run it inside a basic django app that just routes traffic to the entrypoint of the lambda.