Skip to content

Commit

Permalink
[Submission] Tutorial: Serverless Applications on Heroku (#1215)
Browse files Browse the repository at this point in the history
* [Submission] Tutorial: Serverless Applications on Heroku

* Proposal -> Description

* Update description
  • Loading branch information
Ackuq authored Apr 16, 2021
1 parent 7157f4e commit 199166d
Showing 1 changed file with 24 additions and 3 deletions.
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>

0 comments on commit 199166d

Please sign in to comment.