{"id":16968448,"url":"https://github.com/squallstar/mongo-cluster","last_synced_at":"2026-04-30T12:35:15.326Z","repository":{"id":31235845,"uuid":"34797238","full_name":"squallstar/mongo-cluster","owner":"squallstar","description":"Mongo Cluster (Replicaset) recipe for Amazon OpsWorks","archived":false,"fork":false,"pushed_at":"2016-02-29T14:22:37.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-07T15:00:02.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://aws.amazon.com/opsworks","language":"Ruby","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/squallstar.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":"2015-04-29T14:05:01.000Z","updated_at":"2016-02-29T14:21:48.000Z","dependencies_parsed_at":"2022-08-03T15:17:09.787Z","dependency_job_id":null,"html_url":"https://github.com/squallstar/mongo-cluster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/squallstar/mongo-cluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fmongo-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fmongo-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fmongo-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fmongo-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squallstar","download_url":"https://codeload.github.com/squallstar/mongo-cluster/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fmongo-cluster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32465009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-14T00:12:07.030Z","updated_at":"2026-04-30T12:35:15.307Z","avatar_url":"https://github.com/squallstar.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mongo Replicaset cluster for AWS OpsWorks\n\n## OpsWorks Stack configuration\n\n- Chef version: **11.10**\n- Use custom Chef cookbooks: **yes**\n- Repository URL: **https://github.com/squallstar/mongo-cluster**\n- Manage Berkshelf: **yes**\n- Berkshelf version: **3.2.0**\n\n## Custom JSON\n\n```\n{\n  \"mongodb\" : {\n    \"config\": {\n      \"auth\": true,\n      \"replSet\": \"mongo-rs\"\n    },\n    \"cluster_name\": \"mongo-cluster\",\n    \"auto_configure\": {\n      \"replicaset\": true\n    },\n    \"key_file_content\": \"foo\",\n    \"admin\": {\n      \"username\": \"baradmin\",\n      \"password\": \"bar\"\n    },\n    \"users\": [\n      {\n        \"username\": \"bazuser\",\n        \"password\": \"baz\"\n      }\n    ]\n  }\n}\n```\n\nAfter creating the first machine, log via **ssh** to **mongo**, create your users and trigger a **rs.initiate()**.\n\n## Adding secondary nodes\n\nProvision your new nodes, then log into the primary mongo and add the other machine as a replica:\n\n```\nrs.add(\"second-machine.example.org\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquallstar%2Fmongo-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquallstar%2Fmongo-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquallstar%2Fmongo-cluster/lists"}