3 ms·
It also depends on traffic patterns. For EC2 you're paying per hour regardless of whether you had traffic or not. For Lambda you're paying per unit of time used
by dmlittle 5y ago
It also depends on traffic patterns. For EC2 you're paying per hour regardless of whether you had traffic or not. For Lambda you're paying per unit of time used and you pay nothing when the function isn't invoked.