{"id":18802239,"url":"https://github.com/oracle-quickstart/oci-scylladb","last_synced_at":"2025-04-13T18:31:26.371Z","repository":{"id":106380756,"uuid":"200685479","full_name":"oracle-quickstart/oci-scylladb","owner":"oracle-quickstart","description":"Terraform module to deploy ScyllaDB on Oracle Cloud Infrastructure (OCI)","archived":true,"fork":false,"pushed_at":"2020-04-30T03:43:13.000Z","size":4813,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-19T21:12:47.376Z","etag":null,"topics":["cloud","oci","oracle","partner-led","scylladb","terraform"],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle-quickstart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-08-05T15:49:33.000Z","updated_at":"2024-05-09T11:50:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"56138b04-f827-4542-a6fc-ba674a11f5b2","html_url":"https://github.com/oracle-quickstart/oci-scylladb","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/oracle-quickstart%2Foci-scylladb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foci-scylladb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foci-scylladb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foci-scylladb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle-quickstart","download_url":"https://codeload.github.com/oracle-quickstart/oci-scylladb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248760346,"owners_count":21157343,"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":["cloud","oci","oracle","partner-led","scylladb","terraform"],"created_at":"2024-11-07T22:27:07.992Z","updated_at":"2025-04-13T18:31:26.354Z","avatar_url":"https://github.com/oracle-quickstart.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oci-scylladb\nThis is a Terraform module that deploys [ScyllaDB](https://www.scylladb.com/) on [Oracle Cloud Infrastructure (OCI)](https://cloud.oracle.com/en_US/cloud-infrastructure).  It is developed jointly by Oracle and ScyllaDB.\n\n## Prerequisites\nFirst off you'll need to do some pre deploy setup.  That's all detailed [here](https://github.com/oracle/oci-quickstart-prerequisites).\n\n## Clone the Module\nNow, you'll want a local copy of this repo by running:\n\n```\ngit clone https://github.com/oracle-quickstart/oci-scylladb.git\ncd oci-scylladb/terraform/\nls\n```\n\nThat should give you this:\n\n![](./images/01-clone.png)\n\nWe now need to initialize the directory with the module in it.  This makes the module aware of the OCI provider.  You can do this by running:\n\n```\nterraform init\n```\n\nThis gives the following output:\n\n![](./images/02-tf_init.png)\n\n## Deploy\nNow for the main attraction.  Let's make sure the plan looks good:\n\n```\nterraform plan\n```\n\nThat gives:\n\n![](./images/03-tf_plan.png)\n\nIf that's good, we can go ahead and apply the deploy:\n\n```\nterraform apply\n```\n\nYou'll need to enter `yes` when prompted.  The apply should take a few minutes to run.  Once complete, you'll see something like this:\n\n![](./images/04-tf_apply.png)\n\n## Access the Cluster\nWhen the apply is complete, the infrastructure will be deployed, but cloud-init scripts will still be running.  Those will wrap up asynchronously.  So, it'll be a few more minutes before your cluster is accessible.\n\nThe output of `terraform apply` gives you the IPs of all nodes. If you ssh into one of the nodes, you can run `nodetool status` to see the state of all cluster nodes or `cqlsh` to execute CQL commands. Authentication and authorization are enabled on the cluster.\n\nThe password of the default user `cassandra` is set to the instance ocid of `node[0]` or hostname `scylladb-node-0`, which has the first IP in the list of IPs in the terraform output. This value is retrievable from the terraform logs, console, or the metadata server on that instance. For example you can ssh into `scylladb-node-0` and run the command `cqlsh -u cassandra -p $(curl -sSL http://169.254.169.254/opc/v1/instance/ | jq -r .id)` as shown below.  \n\n![](./images/05-ssh.png)\n\nYou can change this password or create a new superuser and delete the `cassandra` user by following these [instructions](https://docs.scylladb.com/operating-scylla/security/authorization/).\n\n## Destroy the Deployment\nWhen you no longer need the deployment, you can run this command to destroy it:\n\n```\nterraform destroy\n```\n\nYou'll need to enter `yes` when prompted.  Once complete, you'll see something like this:\n\n![](./images/06-tf_destroy.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-quickstart%2Foci-scylladb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle-quickstart%2Foci-scylladb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-quickstart%2Foci-scylladb/lists"}