They do have Edge Functions, which is similar to Lambda. Same with Netlify and Cloudflare. For DBs you have to seek somewhere else.
It's not really something that will run your Rails backend, but it has the potential of doing a lot for creative small teams.