{"id":13682254,"url":"https://github.com/Financial-Times/aws-cf-elixir","last_synced_at":"2025-04-30T07:31:00.185Z","repository":{"id":96763435,"uuid":"88203175","full_name":"Financial-Times/aws-cf-elixir","owner":"Financial-Times","description":"AWS CloudFormation Templates for Elixir Build and Application Nodes","archived":false,"fork":false,"pushed_at":"2021-02-02T12:35:08.000Z","size":8,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":48,"default_branch":"master","last_synced_at":"2024-08-02T13:33:53.724Z","etag":null,"topics":["cloudformation","elixir-lang"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Financial-Times.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-04-13T20:20:26.000Z","updated_at":"2021-02-02T12:35:10.000Z","dependencies_parsed_at":"2023-03-14T23:30:58.652Z","dependency_job_id":null,"html_url":"https://github.com/Financial-Times/aws-cf-elixir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Financial-Times%2Faws-cf-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Financial-Times%2Faws-cf-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Financial-Times%2Faws-cf-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Financial-Times%2Faws-cf-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Financial-Times","download_url":"https://codeload.github.com/Financial-Times/aws-cf-elixir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224201918,"owners_count":17272665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudformation","elixir-lang"],"created_at":"2024-08-02T13:01:42.999Z","updated_at":"2024-11-12T01:31:25.321Z","avatar_url":"https://github.com/Financial-Times.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# AWS CloudFormation Templates for Erlang/Elixir Build and Application nodes\n\n## Templates\n### [`Build-Server.yaml`](Build-Server.yaml)\n\nA build server with Erlang, Elixir and node.js installed via [asdf](https://github.com/asdf-vm/asdf), e.g. to build [Phoenix](http://www.phoenixframework.org/) project releases with [edeliver](https://github.com/ellispritchard/edeliver). \n\nIn principle a server built with this template need not be restricted to Elixir builds, there's nothing special apart from the installation of various tools needed for building Elixir applications.\n\n\n\n### [`Application.yaml`](Application.yaml)\n\nA node configured with a user and init scripts for running a stand-alone Elixir app, as packaged by\n[distillary](https://github.com/bitwalker/distillery) and installed by [edeliver](https://github.com/ellispritchard/edeliver).\n\nApart from the init scripts, again, there's nothing special here; in this case, we don't even install Erlang, since were targeting stand-alone applications.\n\nThe init script creates a user with the same name as the system-code given to the template. The template also requires the Erlang/Elixir application name so it can run the application script created by `edeliver`, e.g. if your Erlang application name is `myapp` and the system-code is `my-app-svc` then the user created on the node will be `my-app-svc` (with home directory `/home/my-app-svc`), and the application start-up script (to be created by `distillary` and installed by `edeliver`) is expected to be called `~myapp/distributions/myapp/bin/myapp`.\n\n## Jenkins \u0026 edeliver\n\n[edeliver](https://github.com/ellispritchard/edeliver) uses `ssh` to build on the build server, and `scp` to copy builds to the application servers.\n\nIn order to do this, the Jenkins user public key must be installed in the `.ssh/authorized_keys` file of the `build` user on the build node, and the application user (e.g. `my-app-svc`) on application nodes, with the correct user-read-only permissions (e.g. `700` on the `.ssh` directory, and `600` on the file).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFinancial-Times%2Faws-cf-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFinancial-Times%2Faws-cf-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFinancial-Times%2Faws-cf-elixir/lists"}