Odin
  • Introduction
  • Why Odin?
  • Key Concepts
    • Environment
      • Environment Type
    • Provisioning
      • Provisioning Config for Component Types
    • Component
      • Available Component Types
      • Component Type reference
        • Optimus Components
          • Aerospike [6.3.0.7-1.0.0]
    • Service
      • Know Your Service Definition
    • Versioning
      • Clearing the Confusion: A Simplified Guide to Artifact, Component, and Service Versions
    • Service Sets
    • Labels
  • Reference
    • CLI reference
  • Onboard Your Service
    • Installation
    • Configure
    • Odin -h
    • Getting Started
    • Create Environment
      • Operations on Environment
    • Service Definition
    • Provisioning Config
    • Deploy Service
    • Release Service
    • Optimus Datastore Operations
      • How to use Optimus Datastore in my service?
      • RDS Operations
      • Aerospike Operations
      • Kafka Operations
    • Operating Service & Components
      • Redeploy
        • In Place Deployment
        • Blue Green Deployment
      • Rolling Restart
      • Adding & removing components
      • Revert a deployment for application component
      • Downscaling a Passive Stack
      • Updating the no. of stacks of application component
    • Dev <> QA iteration
    • Frequently Asked Questions
    • Deploy Concrete Service
    • Undeploy Service
    • Delete Environment
    • Appendix
  • How To
    • Define error threshold for canary deployment
    • Add or Remove a component in an already deployed service
    • Integrate mono-repo(cronjobs) with Odin
    • Deploy crontab with Odin
    • Integrate Data pipeline with Odin
    • Push logs to log central
    • Build artifacts for multi module applications
    • Load test with Odin
    • Track Deployments against Commit Ids
    • Deploy Service on Production - Dream11
    • How and when images are created
    • Check logs for deployed infrastructure - Dream11
    • Onboard Stepfunction as a component
    • Onboard Serverless as a component
    • Login to Kubernetes clusters
  • Release Notes
    • 1.2.0-beta.2 - 11 August, 2022
    • Odin October Release
    • Odin 1.2.0 - Nov 9th 2022
    • Odin February Release
Powered by GitBook
On this page
  • Add Optimus Datastore to my existing deployed service
  • Add Optimus Datastore to my new Service
Export as PDF
  1. Onboard Your Service
  2. Optimus Datastore Operations

How to use Optimus Datastore in my service?

PreviousOptimus Datastore OperationsNextRDS Operations

Last updated 7 months ago

Add Optimus Datastore to my existing deployed service

Adding Optimus datastore to the existing deployed service is similar to adding any new component to the existing deployed service. Following are the steps:

  • Update your service definition & provisioning with the right details. The sample of the same can be found here:

Component Name
Files Needed
List of Exposed configs

RDS

Kafka

  • Add the component by using odin's . One sample command of the command can be as follow. The new component details have to be passed in a file content is similar to how the component details and provisioning details of the same is passed during add_component operation. A sample file can be found . Command for example:

odin operate service --operation add_component --name Service-A --env env-1001 --file file.json
  • Once the component addition activity is completed, optimus datastore will be ready for operation via Odin. Currently available operations via Optimus datastores can be found here -

    • RDS:

    • Kafka:

Add Optimus Datastore to my new Service

Adding Optimus datastores in a new service is no different than adding any other component to a new service and deploying the same. The following steps to be followed:

  1. Define the service definition & provisioning file and include the Optimus datastore within it. A sample file can be found in the link below:

RDS

Aerospike

Kafka

  1. Release the service as per the process mentioned here - . Do not forget to verify the service release by running odin list service command.

  2. Deploy the service as mentioned here - .

  3. Once the deployment is completed, along with any other components, Optimus datastore is also available for operation. Currently available operations via Optimus datastores can be found here

    • RDS:

    • Aerospike:

    • Kafka:

List of exposed configs for RDS can be found

List of exposed configs for Kafka can be found .

List of exposed configs for RDS can be found

List of exposed configs for Aerospike can be found

List of exposed configs for Kafka can be found .

add component feature
here
RDS Operations
Kafka Operations
Release Service
Deploy Service
RDS Operations
Aerospike Operations
Kafka Operations
Sample Service Definition & provisioning file for Optimus RDS
here.
Sample Service Definition & provisioning file for Optimus Kafka
here
Sample Service Definition & provisioning file for Optimus RDS
here
Sample Service Definition & provisioning file for Optimus Aerospike
here
Sample Service Definition & provisioning file for Optimus Kafka
here