There are frameworks that abstract over the serverless host already cropping up. I have at least one in my GitHub stars, I think uninventively named "the serverless framework".

/