Manage environments

This document describes how to manage environments needed for using the data exploration features in Dataplex.

Before you begin

Follow the steps in the "Before you begin" section of Explore your data.

Enable or disable fast startup on default environments

You can enable and disable fast session startup on default environments.

Enable fast session startup in the default environment:

gcloud

gcloud dataplex environments update default --project=PROJECT_ID --lake=LAKE_ID --location=LOCATION --session-enable-fast-startup

Disable fast session startup in the default environment:

gcloud

gcloud dataplex environments update default --project=PROJECT_ID --lake=LAKE_ID --location=LOCATION --no-session-enable-fast-startup

Edit the environment

  1. In the Google Cloud console, go to the Dataplex page:

    Go to Dataplex

  2. Navigate to the Manage view.

  3. Choose a Dataplex lake for which you would like to edit an environment.

  4. Click the Environments tab.

  5. In the Environment ID column, click the environment you want to edit.

  6. Click the Edit button.

Grant query execution permissions to an environment

To run queries, you must be be granted the Developer role on the environment.

gcloud

gcloud dataplex environments add-iam-policy-binding ENVIRONMENT_NAME --project PROJECT_ID --lake LAKE_ID --location LOCATION --member="user:USER" --role="roles/dataplex.developer"

What's next?