Data Services

Provision databases, caches and queues from the SVIEW Catalog, find their connection details, and request direct access to them.

Databases, caches, queues, and other managed data resources are Components
in SVIEW. You provision them from the Catalog and manage them inside your
Services. This article covers how to provision one, where to find its
connection details, and how to get direct access to it.

Before you start

  • You need a SVIEW role that allows you to create Components in the Service
    you are working in. If + New is not available on Applications →
    Deployments
    , see User Profile.
  • Decide which Service the data service belongs to, and which Environment that
    Service sits in.

Provision a data service

  1. Go to Applications → Deployments and click + New.

    SVIEW Applications → Deployments page with the + New button marked 1

    Figure 1 — Applications → Deployments: click + New

  2. Under ENVIRONMENTS, select the Environment.

  3. Under APPLICATIONS, which appears once an Environment is selected, select the type you need — PostgreSQL, MySQL, Redis, Kafka, and so on. In the Catalog they are listed under Managed Databases, Self Managed Databases and Databases, and Kafka under Streaming.

  4. Choose the SERVICE and NAMESPACE, and enter a NAME.

    The SVIEW + New form with ENVIRONMENTS, APPLICATIONS, SERVICE, NAME and Save marked 1 to 5

    Figure 2 — Choose the environment, the Catalog item, the Service and a name, then click Save

  5. Fill in the configuration — instance size, storage and region.

  6. Click Save. The platform provisions the resource.

Verify it worked

The Component appears in your Service, and its dashboard shows Status as
available once provisioning finishes. Larger instances can take several minutes.

The data service dashboard

Each data service Component has a dashboard showing:

  • Status — whether the instance is available
  • Connection details — hostname, port, and database name
  • Configuration — the settings that control how this resource is
    provisioned
  • Secrets — credentials injected into applications that use this service
  • Variables — connection-related variables available to linked applications

Connect an application to a data service

See Attach a Database to Your Application for how to inject connection
credentials into your application Component so it can reach the data service.

Request direct developer access

Direct access to a database — for running queries, debugging, or migrations —
is not available by default. Request it through Access requests in SVIEW
(see Access Requests):

  1. Go to Access requests.
  2. Select the role you need for the database, for example read-only or write
    access.
  3. Submit the request. A teammate with approval rights, or CTO2B support,
    approves it.
  4. Once approved, follow Connect to a Database to
    establish the connection via Teleport.

Access is time-limited and expires automatically.

Common issues

A Component fails to provision. Some service types need platform-side
enablement in your Environment before they can be created — ElasticSearch is
one example. If provisioning fails, raise a request in your Slack channel
naming the Environment and the Component type, and CTO2B will enable it and
confirm when you can retry. Do not change platform-level variables yourself.

Connection details are missing. Wait until the Component's Status shows
as available; connection details and secrets are populated when provisioning
completes.

What CTO2B manages

CTO2B manages the underlying infrastructure for every provisioned data service
— instance health, engine version patching, automated backups, and network
security. Your team manages schema, data, queries, and application connection
configuration.

Related articles


Did this page help you?