[Yandex Cloud documentation](../index.md) > [Yandex Data Processing](index.md) > Getting started

# Getting started with Yandex Data Processing

To get started:

1. [Create a cluster](#cluster-create).
1. [Connect to the cluster](#connect).
1. [Connect to component interfaces](#connect-components).


## Getting started {#before-you-begin}

1. Navigate to the [management console](https://console.yandex.cloud) and log in to Yandex Cloud or sign up if not signed up yet.

1. If you do not have a folder yet, create one:

   1. In the [management console](https://console.yandex.cloud), in the top panel, click ![image](../_assets/console-icons/layout-side-content-left.svg) or ![image](../_assets/console-icons/chevron-down.svg) and select the [cloud](../resource-manager/concepts/resources-hierarchy.md#cloud).
   1. To the right of the cloud name, click ![image](../_assets/console-icons/ellipsis.svg).
   1. Select ![image](../_assets/console-icons/plus.svg) **Create folder**.
   
      ![create-folder1](../_assets/resource-manager/create-folder-1.png)
   
   1. Give your [folder](../resource-manager/concepts/resources-hierarchy.md#folder) a name. The naming requirements are as follows:
   
       * Length: between 3 and 63 characters.
       * It can only contain lowercase Latin letters, numbers, and hyphens.
       * It must start with a letter and cannot end with a hyphen.
   
   1. Optionally, specify the description for your folder.
   1. Select **Create a default network**. This will create a [network](../vpc/concepts/network.md#network) with subnets in each availability zone. Within this network, you will also have a [default security group](../vpc/concepts/security-groups.md#default-security-group), within which all network traffic will be allowed.
   1. Click **Create**.
   
      ![create-folder2](../_assets/resource-manager/create-folder-2.png)

1. [Assign](../iam/operations/roles/grant.md) the following roles to your Yandex Cloud account:

    * [dataproc.editor](security/index.md#dataproc-editor) to create a cluster.
    * [vpc.user](../vpc/security/index.md#vpc-user) to use the cluster [network](../vpc/concepts/network.md#network).
    * [iam.serviceAccounts.user](../iam/security/index.md#iam-serviceAccounts-user) to attach a [service account](../iam/concepts/users/service-accounts.md) to the cluster and use it to create resources.

    {% note info %}
    
    If you cannot manage roles, contact your cloud or organization administrator.
    
    {% endnote %}

1. [Set up a NAT gateway](../vpc/operations/create-nat-gateway.md) in the subnet where your cluster will be deployed.

1. If you use security groups, [configure them](operations/cluster-create.md#change-security-groups).

1. You can access a Yandex Data Processing cluster both from within the Yandex Cloud infrastructure and from external networks:

   * To connect from within Yandex Cloud, create a [Linux](../compute/quickstart/quick-create-linux.md) VM in the cluster’s network.

   * To connect to the cluster from the internet, enable public access for subclusters during cluster creation.

   {% note info %}

   The next step requires connecting to the cluster from a [Linux](../compute/quickstart/quick-create-linux.md)-based VM.

   {% endnote %}

1. [Connect](../compute/operations/vm-connect/ssh.md) to your VM over SSH.


## Create a cluster {#cluster-create}

To create a cluster:

1. In the management console, open the folder where you want to create a cluster.
1. Navigate to **Yandex Data Processing**.
1. Click **Create cluster**.
1. Configure your cluster and click **Create cluster**. For more information, see [Creating a cluster](operations/cluster-create.md).
1. When the cluster is ready for operation, its status will change to **Alive**. This may take a while.

## Connect to the cluster {#connect}

To connect to your cluster:


1. If you are using security groups for your cloud network, [configure them](operations/security-groups.md) to allow all relevant traffic between the cluster and the connecting host.


1. Copy the SSL key you specified during Yandex Data Processing cluster creation to the VM.

1. Connect to the cluster over SSH and check that Hadoop commands run properly. Depending on your image version, specify the username. For versions 2.*: `ubuntu`.

For a detailed description of the Yandex Data Processing cluster connection process, refer to the [Connecting to a cluster](operations/connect.md) section.

## Connect to the component interfaces {#connect-components}

To connect to the Yandex Data Processing component interfaces using the web UI:

1. [Enable the **UI Proxy**](operations/connect-interfaces.md#ui-proxy-enable) setting in the cluster.
1. Get a list of interface URLs.

To connect to the Yandex Data Processing component interfaces via SSH with port forwarding:

1. Create a jumpbox VM with a public IP address in the cluster’s network, using a security group that allows incoming and outgoing traffic on all component ports.
1. Connect to the new VM over SSH with port forwarding to the required Yandex Data Processing host ports. Depending on your image version, specify the username. For versions 2.*: `ubuntu`.

The detailed process for connecting to the Yandex Data Processing cluster’s component interfaces is described in [Connecting to component interfaces](operations/connect-interfaces.md).

## What's next {#whats-next}

* Read about the [service concepts](concepts/index.md).
* Learn more about [creating clusters](operations/cluster-create.md) and [working with jobs](operations/jobs.md).