{"id":16903254,"url":"https://github.com/dpup/aws-cluster","last_synced_at":"2025-03-20T15:16:26.612Z","repository":{"id":19219677,"uuid":"22453874","full_name":"dpup/aws-cluster","owner":"dpup","description":"CoreOS on EC2 with an ELB and vulcand reverse proxies.","archived":false,"fork":false,"pushed_at":"2016-05-21T15:15:44.000Z","size":44,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T14:22:20.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","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/dpup.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}},"created_at":"2014-07-31T02:52:56.000Z","updated_at":"2016-05-21T15:15:46.000Z","dependencies_parsed_at":"2022-09-10T23:01:25.203Z","dependency_job_id":null,"html_url":"https://github.com/dpup/aws-cluster","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/dpup%2Faws-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpup%2Faws-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpup%2Faws-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpup%2Faws-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpup","download_url":"https://codeload.github.com/dpup/aws-cluster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637098,"owners_count":20485446,"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":[],"created_at":"2024-10-13T18:12:09.672Z","updated_at":"2025-03-20T15:16:26.594Z","avatar_url":"https://github.com/dpup.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-cluster\n\nThis repo contains configuration files to set up a\n[CoreOS cluster on EC2](https://coreos.com/docs/running-coreos/cloud-providers/ec2/) with an ELB and\n[Vulcan](http://www.vulcanproxy.com) reverse proxies. There is also a sample configuration for an\napache server.\n\nTo set up a new cluster:\n\n1. Set up AWS CLI (tools use the profile \"home\" at present)\n2. Make sure you have a `~/.dockercfg` file (create one with `docker login`)\n3. Run `node tools/create-stack.js --name MyStack --keypair mykeypair`\n4. Go to the EC2 console and make note of the public IP address of one of the instances and export as `CLUSTER_IP`\n\nYou can also [create a new stack](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#cstack=sn%7EMyCoreOSCluster) \nmanually by uploading the template and following the steps.\n\nTo start the vulcan instances (assuming you have 5 hosts):\n\n```\n  fleetctl --tunnel $CLUSTER_IP start vulcan/vulcan.*.service\n```\n\nIn Route53 create A records for your domains and point at the Load Balancer's public IP (it'll look\nsomething like `MyCluster-ClusterLB-42342ASFGASD-1457111472.us-east-1.elb.amazonaws.com`).\n\nUpdate [defaultweb/defaultweb-discovery.service](defaultweb/defaultweb-discovery.service) to include\nthe domains you manage.\n\nThen you can start the default apache server using:\n\n```\n  fleetctl --tunnel $CLUSTER_IP start defaultweb/*.service\n```\n\nTo customize the apache server you'll want to push to your own docker repository, and update the\nservice config accordingly.\n\n(Note: [Vulcan](http://www.vulcanproxy.com) isn't yet intended for production use)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpup%2Faws-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpup%2Faws-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpup%2Faws-cluster/lists"}