https://github.com/oracle-quickstart/oci-hazelcast
Terraform module to deploy Hazelcast Enterprise on Oracle Cloud Infrastructure (OCI)
https://github.com/oracle-quickstart/oci-hazelcast
cloud hazelcast imdg jet oci oracle partner-led terraform
Last synced: 5 months ago
JSON representation
Terraform module to deploy Hazelcast Enterprise on Oracle Cloud Infrastructure (OCI)
- Host: GitHub
- URL: https://github.com/oracle-quickstart/oci-hazelcast
- Owner: oracle-quickstart
- License: apache-2.0
- Created: 2018-09-26T19:20:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-20T20:29:28.000Z (over 6 years ago)
- Last Synced: 2024-12-29T20:16:02.724Z (over 1 year ago)
- Topics: cloud, hazelcast, imdg, jet, oci, oracle, partner-led, terraform
- Language: HCL
- Homepage:
- Size: 3.29 MB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oci-hazelcast
This is a Terraform module that deploys [Hazelcast](https://hazelcast.org/) on [Oracle Cloud Infrastructure (OCI)](https://cloud.oracle.com/en_US/cloud-infrastructure). They are developed jointly by Oracle and Hazelcast.
## Prerequisites
First off you'll need to do some pre deploy setup. That's all detailed [here](https://github.com/oracle/oci-quickstart-prerequisites).
## Clone the Module
Now, you'll want a local copy of this repo. You can make that with the commands:
git clone https://github.com/oracle-quickstart/oci-hazelcast.git
cd oci-hazelcast/terraform
ls
That should give you this:

## Initialize the deployment
We 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:
terraform init
This gives the following output:

## Deploy the module
Now for the main attraction. Let's make sure the plan looks good:
terraform plan
That gives:

If that's good, we can go ahead and apply the deploy:
terraform apply
You'll need to enter `yes` when prompted. Once complete, you'll see something like this:

When 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. Now is a good time to get a coffee.
When the deployment is completed, it will show you the public IP of the instance created on Oracle Cloud Infrastructure (OCI). Using that public IP, you can SSH into the instance.
`ssh opc@`
Example:
`Hazelcast IMDG VM public IP = 129.213.130.219`
## View the instance in the Console
You can also login to the web console [here](https://console.us-phoenix-1.oraclecloud.com/a/compute/instances) to view the IaaS that is running the cluster.

## Destroy the Deployment
When you no longer need the deployment, you can run this command to destroy it:
terraform destroy
You'll need to enter `yes` when prompted.
