# Create a GitLab Instance from the Neevcloud Marketplace

## **Create a GitLab Instance**

{% embed url="<https://youtu.be/Mn9xVf8aRpY?si=VoAa5sDTBncswrzb>" %}

Navigate to the NeevCloud dashboard, select Server, and click Create Cloud Server.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2F68ItdqBMjsE2bFgvWmd6%2Fspaces_EC5NwtFshv6EATOemuUn_uploads_dZUtLMJ7eFnkFFWzQUrH_image.webp?alt=media&#x26;token=c0cc6d3e-690e-47e2-bef5-fc1b47095709" alt=""><figcaption></figcaption></figure>

## Select Image

### Select Marketplace

To navigate the Marketplace, select GitLab and choose the version.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FdWyEFy2C0swU9VQQrF5r%2Fimage.png?alt=media&#x26;token=66817b5b-6ddb-46e2-8485-be9048b9ebb1" alt=""><figcaption></figcaption></figure>

## Hardware Configuration

Users can choose different CPU and RAM configurations to personalize their system. General Purpose and Memory Optimized, CPU Optimized, GPU Enabled, and Smart Servers are the options that are offered. Click these [links ](https://docs.neevcloud.com/neevcloud-products/computes/getting-started-launch-vms#specifications)for further information.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FekF3xy64ujskfmuc7bvs%2Fimage.png?alt=media&#x26;token=8572d2ec-78f1-4f07-bd54-114f85c5c5f4" alt=""><figcaption></figcaption></figure>

## Select the volumes

Choose the volume size which will be your root disk.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FoigBm0FOvdJI5uxrX4rM%2Fimage.png?alt=media&#x26;token=fcbfc5f9-6cda-4514-966f-f8dff0068e1f" alt=""><figcaption></figcaption></figure>

## Network configuration <a href="#network-configuration" id="network-configuration"></a>

* **Public Network:**- A public network is a type of network that is open and accessible to anyone, allowing users to connect freely. If you select a public network, you must configure it to allow public access to your server.
* **Private Network:-** A private network is accessible only to specific individuals or organizations, ensuring that the general public cannot connect to it. If you choose a private network, you must first create a Private network.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2F6FB0cN7izmLSqxBKVF1Y%2Fimage.png?alt=media&#x26;token=62ff4260-909b-4931-b669-e05e6bbf2176" alt=""><figcaption></figcaption></figure>

## Authentication <a href="#authentication" id="authentication"></a>

* **SSH\_KEY:-** An SSH KEY is a source access credential used in the Secure Shell(SSH) protocol, consisting of a pair of public and private keys that authenticate users and establish encrypted communication between a client and a server. it would be best if you had to create an SSH key to access your server

{% hint style="info" %}
Access to your server requires an SSH\_KEY. It is mandatory
{% endhint %}

* **Password:-** A password is a secret string of characters used to verify a user's identity and grant access to a system or resource.

{% hint style="info" %}
To create a secure password with 10 characters, including symbols, Use a mix of uppercase and lowercase letters, Include numbers, and add special characters like `!`, `$`, `#`, etc. Avoid using easily guessable info like names or birthdates.
{% endhint %}

**Generating SSH KEY**

If you already have an SSH key, select it. If you don't have one, please follow this [link](https://docs.neevcloud.com/neevcloud-products/access-details/ssh-key) to generate an SSH key.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FZryWayFvgJhH3TzYnMyV%2Fimage.png?alt=media&#x26;token=af9e01f5-4562-466f-9bb2-7bc6cf4a063b" alt=""><figcaption></figcaption></figure>

## Add Security Group

Click on Add Security Group. Ensure the required ports for GitLab are allowed.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2Fcr06ZTG9OE9yBwp52pLT%2Fspaces_EC5NwtFshv6EATOemuUn_uploads_AzjE0OWd173mn1tZpel7_image.webp?alt=media&#x26;token=9fcb8dd4-167e-463c-8654-bbfc762b3355" alt=""><figcaption></figcaption></figure>

Enter the server name > Click Create Server

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FTnJRhtsyTGHBxwRRhfQK%2Fimage.png?alt=media&#x26;token=6807f002-cf17-4d9f-b43c-036e8ce37da9" alt=""><figcaption></figcaption></figure>

Once your instance is created the status will change to Active, and other details will be shown.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FXaa4typ6NGjlP5fYXq9H%2Fimage.png?alt=media&#x26;token=626d7c0e-25d9-4ce7-b36f-95e40d5e8800" alt=""><figcaption></figcaption></figure>

## SSH

Now How to access the *GitLab* follow these steps, First, access the server via SSH using your SSH\_key, also, if you want to access it by using Putty follow these [links](https://docs.neevcloud.com/neevcloud-guide/neevcloud-knowledgebase/how-to-use-putty-for-ssh-key-based-authentication). Open the command prompt and navigate to the directory where you downloaded the SSH files.

{% hint style="info" %}
NOTE: if your SSH is not functioning, so you have to set the [permission](https://docs.neevcloud.com/neevcloud-products/computes/getting-started-launch-vms#permissions).
{% endhint %}

```
cd .\Downloads\
```

```
ssh -i  your_ssh_key  ubuntu@your_server_IP_add
```

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FW0uHwSIwCW4rCUp6w3dy%2Fimage.png?alt=media&#x26;token=74e860ec-6cb0-414e-8383-81c18b804ce3" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can find the default GitLab password in the following locations.

/etc/gitlab/ initial\_root\_password&#x20;
{% endhint %}

To change the password of a GitLab user, follow these commands:

```
sudo gitlab-rake "gitlab:password:reset[root]"
```

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FDR4qFeY3fsfHG0fnH3DU%2Fimage.png?alt=media&#x26;token=ccdd6d00-d442-4888-a8a3-02911fa670b7" alt=""><figcaption></figcaption></figure>

Open your browser and go to *GitLab* by accessing *<http://your\\_server\\_IP>*

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2F8G03CV42TJh9vQGK9Nhy%2Fimage.png?alt=media&#x26;token=53f5c5a5-9d05-4e43-bfc9-00f9c9eb6f79" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FuogcSA3TncPHZsOZxixy%2Fimage.png?alt=media&#x26;token=c654a078-601c-479b-abab-6f96769ca4ef" alt=""><figcaption></figcaption></figure>
