{"id":22712064,"url":"https://github.com/buildit/twig-execution-env-metal","last_synced_at":"2026-02-12T19:32:05.029Z","repository":{"id":78235780,"uuid":"94261249","full_name":"buildit/twig-execution-env-metal","owner":"buildit","description":"A prototype AWS \"metal\" execution environment for Twig.  Uses only CloudFormation to create resources to allow Twig to run.","archived":false,"fork":false,"pushed_at":"2017-06-29T22:12:01.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-08-18T16:04:11.468Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/buildit.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-13T21:51:04.000Z","updated_at":"2017-06-26T18:12:07.000Z","dependencies_parsed_at":"2023-03-18T05:15:33.742Z","dependency_job_id":null,"html_url":"https://github.com/buildit/twig-execution-env-metal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buildit/twig-execution-env-metal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Ftwig-execution-env-metal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Ftwig-execution-env-metal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Ftwig-execution-env-metal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Ftwig-execution-env-metal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildit","download_url":"https://codeload.github.com/buildit/twig-execution-env-metal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildit%2Ftwig-execution-env-metal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29378818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T19:05:20.189Z","status":"ssl_error","status_checked_at":"2026-02-12T19:01:44.216Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-12-10T13:09:17.499Z","updated_at":"2026-02-12T19:32:05.015Z","avatar_url":"https://github.com/buildit.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twig \"Metal Rig\" ECS Execution Environment\"\n\nThis set of CloudFormation (Cfn) templates and supporting scripts creates an \"execution environment\" (implemented as \na set of Cfn stacks) for Twig using pure AWS \"to the metal\" techniques.  That is, no software (other \nthan the AWS CLI) is required to create the environment.  However, we have included approaches, such as leveraging \n`make`, that can make the process even easier.\n\n## Getting Started\n\n1. Install the AWS CLI if you don't already have it.  This is not strictly necessary, but other work-saving tools\nuse it, so it's probably best to just install it.  Be sure your CLI configuration is set up properly\nfollowing the Amazon instructions:\nhttp://docs.aws.amazon.com/cli/latest/userguide/installing.html\n\n1. Ensure sure you have an EC2 Key Pair (https://console.aws.amazon.com/ec2/v2/home#KeyPairs:sort=keyName) \navailable in the region you're targeting.\n\n## Make-based Instructions\nThe `make`-based approach allows you to easily manage the creation and update of the execution stack from the command-line.\nIt is essentially automation for the Console-based Instructions you can find below.\n\n### Setup\nCopy `.make.example` to `.make`.  Make changes to the `.make` file as suggested below:\n\n```\nENV = Environment name (tst|dev|stg|prd)\nKEY_NAME = Your EC2 Key Pair name from above.\nPROFILE = AWS CLI profile name.  If you haven't set up custom profiles, leave this set to 'default'.\nPROJECT = Overall name for the environment you're going to be creating (i.e. \"twig\" or \"bookit\" or whatever...)\nREGION = AWS Region\nNAME_SUFFIX = Your name ie: 'firstlastname'.  This is used to identify various resources created by/for the rig.\n```\n\nAfter completing the above run `make deps`, which creates an S3 bucket for you `s3://metalrig.$(NAME_SUFFIX)`.  This\nbucket is used by subsequent steps.\n\n### Managing the environment\n\n#### To **create** a new stack: `make create`\nThis creates a set of Cfn stacks from the templates.  Once completed you'll have a running environment \n(but no code deployed).\n\n#### To know the **status** of the stack: `make status`\nThis simply reports the current state of the main Cfn stack.\n\n### To **update** the existing stack: `make update`\nIf the stack templates are changed, use this command to update the running stack to reflect the changes.\n\n### To completely **delete** the stack: `make delete`\nThis removes the Cfn stacks and all resources created by them.\n\n\n## Console-based Instructions\n\n1. Create an S3 bucket for the template bundle, in your preferred region.  It is helpful to give it the eventual \nname you'll give the Cfn stack.\n1. Run `./bin/deployTemplates \u003cs3 bucket name\u003e`.  This bundles the templates and places them in the S3 bucket \nyou created above.\n1. Using the AWS console, create a Cfn stack using the the S3 location of the template bundle (the URL is output \nfrom the script).  Update parameters as required (most have reasonable defaults).\n1. Once the stack completes, you'll have a VPC running an ECS cluster and a couple of ELBs.  Complete the setup \nof a build stack in order to deploy to this environment.\n\n### Maintenance\n\nParameter changes to the stack can be made though the Cfn console, or with the CLI.\n\nChanges to the environment through actual Cfn templates can be applied by re-deploying the changed templates \n(step 2 above), and then updating the stack in the console.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildit%2Ftwig-execution-env-metal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildit%2Ftwig-execution-env-metal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildit%2Ftwig-execution-env-metal/lists"}