{"id":31786091,"url":"https://github.com/jigsaw373/tdengine-cluster","last_synced_at":"2026-05-08T19:31:54.101Z","repository":{"id":223414491,"uuid":"760203196","full_name":"jigsaw373/tdengine-cluster","owner":"jigsaw373","description":"Fully automate configure, backup and run TDengine cluster on clouds","archived":false,"fork":false,"pushed_at":"2024-02-25T17:52:02.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T12:44:24.136Z","etag":null,"topics":["ansible","aws","s3","tdengine","terraform","time-series"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/jigsaw373.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}},"created_at":"2024-02-20T01:16:20.000Z","updated_at":"2024-02-23T01:53:48.000Z","dependencies_parsed_at":"2024-02-25T18:55:02.748Z","dependency_job_id":null,"html_url":"https://github.com/jigsaw373/tdengine-cluster","commit_stats":null,"previous_names":["jigsaw373/tdengine-cluster"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jigsaw373/tdengine-cluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigsaw373%2Ftdengine-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigsaw373%2Ftdengine-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigsaw373%2Ftdengine-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigsaw373%2Ftdengine-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jigsaw373","download_url":"https://codeload.github.com/jigsaw373/tdengine-cluster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigsaw373%2Ftdengine-cluster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32794587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["ansible","aws","s3","tdengine","terraform","time-series"],"created_at":"2025-10-10T12:44:17.221Z","updated_at":"2026-05-08T19:31:54.084Z","avatar_url":"https://github.com/jigsaw373.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 TDengine Cloud Setup Simplified\n\n**Boost your TDengine with our Terraform \u0026 Ansible toolkit.** This repo arms developers with powerful scripts to:\n\n- **Provision AWS Infrastructure**: Deploy your architecture effortlessly.\n- **Enable S3 Storage**: Securely store data with AWS S3 integration.\n- **Fine-Tune Clusters**: Customize TDengine settings for optimal performance.\n- **Manage Backups**: Automate your backup strategy with precision.\n\n## Prerequisites\n\n- AWS Account\n- Terraform installed\n- Ansible installed\n\n## Usage\n\n### Step 1: Provision Infrastructure with Terraform\n\nNavigate to terraform directory:\n\n``` bash\ncd terraform\n```\n\nInitialize Terraform:\n\n```bash\nterraform init\n```\n\nApply the Terraform plan to provision the infrastructure:\n\n```bash\nterraform apply\n```\n\nAfter applying, Terraform create a `hosts.ini` file with the public IPs as follows:\n\n```ini\n[tdengine_cluster]\nnode1 ansible_host=\u003cPublic_IP_of_Node1\u003e  ansible_user=ubuntu\nnode2 ansible_host=\u003cPublic_IP_of_Node2\u003e ansible_user=ubuntu\n...\n```\n\n### Step 2: Run the TDengine Installation Playbook\n\nNavigate to ansible directory:\n\n``` bash\ncd ../ansible\n```\n\nRun the installation playbook:\n\n```bash\nansible-playbook -i hosts.ini install_tdengine.yaml\n```\n\n### Step 3: Create Database Manually\n\nLog into any of the TDengine nodes and create the database:\n\n```bash\ntaos -h \u003cnode1_IP\u003e\ncreate database mydb;\n```\n\n### Step 4: Implement Backup Policy\n\nRun the backup playbook to configure the backup policy:\n\n```bash\nansible-playbook -i hosts.ini backup_tdengine.yaml\n```\n\n### Step 5: Implement Backup Schedular\n\nModify `setup_cron.sh` based on the requirements then run:\n\n```bash\nchmod +x setup_cron.sh\n./setup_cron.sh\n```\n\nPowered by [terraform-ai](https://github.com/jigsaw373/terraform-ai).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigsaw373%2Ftdengine-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjigsaw373%2Ftdengine-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigsaw373%2Ftdengine-cluster/lists"}