Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Submission] Tutorial: Serverless Applications on Heroku #1215

Merged
merged 3 commits into from
Apr 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions contributions/executable-tutorial/axp-fseifert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,29 @@ GitHub: [Ackuq](https://github.com/Ackuq)
Felix Seifert (fseifert@kth.se)
Github: [felix-seifert](https://github.com/felix-seifert)

## Proposal
## Description

Heroku is a webservice where users can run simple web applications for free for a limited number of hours per month. The obvious approach is to run serverless applications which are billed per second. However, Heroku does not offer the option to deploy serverless applications of-the-shelf.
Heroku is a webservice where users can run simple web applications for free for a limited number of hours per month. The obvious approach is to run serverless applications which are billed per second. However, Heroku does not offer the option to deploy serverless applications of-the-shelf.

We found a way on how to use Heroku's One-off Dynos, which are not addressable via HTTP requests, to process Functions-as-a-Service via providing arguments via environment variables. This approach is mentioned on the web only a single time. We want to create a tutorial on how to use Heroku to deploy a serverless application. As this tutorial is not executable simply via the browser and requires interactions with Heroku and GitHub, we do not want to use a platform for online tutorials and suggest to create a GitHub repo which contains source code examples and detailed descriptions on how to achieve the serverless deployment.
We found a way on how to use Heroku's One-off Dynos, which are not addressable via HTTP requests, to process Functions-as-a-Service via providing arguments via environment variables. This approach is mentioned on the web only a single time. We want to create a tutorial on how to use Heroku to deploy a serverless application. This tutorial requires interaction with both Heroku and GitHub and goes through every major step in making it possible, as well as providing a frontend UI you can use to test your own serverless functions or even use to build your own frontend.

the tutorial is present both in the GitHub repository linked below and in generated tutorial website, created with GitHub pages. To accompany this tutorial, a Medium article was created to hopefully make the tutorial gain more public traction.

## Link to GitHub repository

https://github.com/felix-seifert/serverless-on-heroku

## Link to generated tutorial website

https://felix-seifert.github.io/serverless-on-heroku/

## Accompanying Medium article

https://axel-84042.medium.com/going-serverless-on-heroku-using-one-off-dynos-79b6fd85705a

## Easter egg hint

<details>
<summary>Click me for hint</summary>
</details>