Coder Social home page Coder Social logo

oracle-quickstart / oci-arangodb Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 1.0 850 KB

Terraform module to deploy ArangoDB on Oracle Cloud Infrastructure (OCI)

License: Apache License 2.0

HCL 92.28% Shell 7.72%
oci terraform nosql cloud arangodb partner-led oracle

oci-arangodb's Introduction

oci-arangodb

This is a Terraform module that deploys ArrangoDB on Oracle Cloud Infrastructure (OCI). They are developed jointly by Oracle and ArrangoDB.

Prerequisites

First off you'll need to do some pre deploy setup. That's all detailed here.

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-arangodb.git
cd oci-arangodb/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, create an SSH tunnel using following command:

ssh -L 8529:localhost:8529 opc@<public IP of the instance>

After that, you can simply browse to (http://localhost:8529). You can find the username and password in the ouputs.

Example:

ArangoDB Password = fRAaF6Nx&9

ArangoDB Username = root

ArangoDB VM public IP = 132.145.162.244

View the instance in the Console

You can also login to the web console here 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.

oci-arangodb's People

Contributors

benofben avatar oguzpastirmaci avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

oci-portfolio

oci-arangodb's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.