Tonic On-Premise
Use Instant Datasets with Tonic On-Premise
Requirements
A configured Tonic On-Premise workspace.
A source database previously connected to the workspace at least once (to configure the job and for any data masking or SQL scripts).
An API key and a workspace ID from Tonic for Release to use on your behalf.
A snapshot from AWS of the source database to use in the initial set up of the Instant Dataset.
An AWS security group configured to allow connections from the region your instant datasets will be located.
An AWS subnet group that will be attached to the databases used when cleaning up your instant dataset snapshots.
Example configuration
type: tonic-on-premise
config:
tonic_api_key_ref: $secrets.aws.tonic-cloud-api-key
tonic_workspace_id: 12fdfa34-f56b-0baf-789b-de07b40564d2
tonic_job_database_instance_class: db.t3.small
base_url: https://my-tonic-on-premise.url/api
cloud_region: us-east-1
database_name: my_database
db_security_group_id: sg-01b06dd8874386f75
db_subnet_group_name: default-vpc-048730d0deccd5046
Schema definition
Root schema
type:
type: string
required: true
description: The database task to run (in this case 'tonic-cloud').
config:
type: object
required: true
description: An object with keys that will be specific to the task type.
Config object schema
tonic_api_key_ref:
type: string
required: true
description: Tonic API key or reference arn to the API key stored in AWS SSM.
tonic_workspace_id:
type: string
required: true
description: The Tonic Cloud workspace to use for this dataset.
tonic_job_database_instance_class:
type: string
required: true
description: The RDS instance-type for the src/dest databases used by the Tonic job.
base_url:
type: string
required: true
description: The URL pointing to the On-Premise Tonic service.
cloud_region:
type: string
required: true
description: The AWS region where the temporary databases for cleaning up the snapshots are created.
database_name:
type: string
required: true
description: The name of the database that will be cleaned up by Tonic.
db_security_group_id:
type: string
required: true
description: The DB security group from AWS that will be attached to the temporary databases used to cleanup the snapshots.
db_subnet_group_name:
type: string
required: true
description: The DB subnet group name from AWS that will be attached to the temporary databases used to cleanup the snapshots.
Last updated
Was this helpful?