[Haskell-cafe] [ANN] Stratosphere: AWS CloudFormation EDSL in Haskell
Alberto G. Corona
agocorona at gmail.com
Tue Apr 19 19:21:24 UTC 2016
Very nice job.
I have tried AWS EC2 and I failed miserably since the permission system and
his intricate configurations, his paranoid security, and their secret
formulas for pricing are beyond an average human intelligence.
It is possible to have an example stratosphere application that could
configure and run a Haskell program in one or many EC2 nodes , close the
instances and send back the results?
Are there some elements still lacking to achieve such goal?
2016-04-19 20:56 GMT+02:00 David Reaver <johndreaver at gmail.com>:
> Github: https://github.com/frontrowed/stratosphere
> Hackage: https://hackage.haskell.org/package/stratosphere
>
> CloudFormation is a system that provisions and updates Amazon Web Services
> (AWS) resources based on declarative templates. Common criticisms of
> CloudFormation include the use of JSON as the template language and limited
> error-checking, often only available in the form of run-time errors and
> stack
> rollbacks. By wrapping templates in Haskell, we are able to easily
> construct
> them and help ensure correctness.
>
> The goals of stratosphere are to:
> - Build a Haskell EDSL to specify CloudFormation templates. Since it is
> embedded in Haskell, it is type-checked and generally much easier to work
> with than raw JSON.
> - Have a simple checking/linting system outside of the types that can find
> common errors in templates.
> - Be able to also read valid CloudFormation JSON templates so they can be
> type-checked. This also gives us free integration tests by using the huge
> amount of example templates available in the AWS docs.
>
> Most of the commonly used CloudFormation resources are implemented, and
> adding
> new resources is very straightforward. (We created a web scraper that
> generates
> a JSON file from a given CloudFormation documentation page URL, and from
> that
> we generate a Haskell module.) So far, we have implemented resources we
> use at
> Front Row Education, and we will add more resources over time.
>
> The library is very much in a usable state as-is. However, we want to make
> any
> sweeping changes while it is still young. If you have any suggestions at
> all,
> you want us to add your favorite resource, or if you find a bug, please
> file an
> issue on Github!
>
> Also, we want to give a huge thanks to Brendan Hay, the author of
> amazonka, for
> his ideas and feedback on the project.
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
>
--
Alberto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160419/de9bb732/attachment.html>
More information about the Haskell-Cafe
mailing list