I understand that using AWS Lambda allows us to submit single functions to a runtime and have them execute when needed. But what about the software these functions depend on? Where do these get installed? Does the installation and configuration happen every time the lambda instance gets spun up? Wouldn't this take a while for larger applications/detailed configurations?
Or does the installed software sit on the server (say on an EC2 instance) and then simply gets called upon as needed by the lambda functions?