---
title: One-click NextCloud deployment on Scaleway Instances using InstantApp
description: Learn how to deploy NextCloud on Scaleway Instances in seconds with our step-by-step guide. Start using NextCloud quickly and efficiently with Scaleway's InstantApp.
tags: apps InstantApp NextCloud
products:
  - instances
dates:
  validation: 2025-03-06
  posted: 2018-08-16
  validation_frequency: 12
difficulty: beginner
usecase:
  - application-hosting
ecosystem:
  - scaleway-only
---
import image from './assets/scaleway-instantapp-nextcloud-install.webp'
import image2 from './assets/scaleway-instantapp-nextcloud-splash.webp'

import Requirements from '@macros/iam/requirements.mdx'


In this tutorial, we show you how to deploy your personal cloud storage with the NextCloud InstantApp in seconds. NextCloud allows you to create self-hosted cloud storage to host files, folders, contacts, photo galleries, calendars, and more on your Instance.

Scaleway's NextCloud image is based on Ubuntu 22.04 LTS (Jammy Jellyfish), the NextCloud application, MariaDB as the database engine, and it uses database tuning according to [NextCloud's official recommendations](https://docs.nextcloud.com/server/27/admin_manual/configuration_database/linux_database_configuration.html#configuring-a-mysql-or-mariadb-database).

<Requirements />

- A Scaleway account logged into the [console](https://console.scaleway.com)
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- An [SSH key](/organizations-and-projects/how-to/create-ssh-key/)

## Creating a NextCloud Instance

1. Click **CPU & GPU Instances** in the **Compute** section of the side menu. The [Instances page](https://console.scaleway.com/instance/servers) displays.
2. Click **Create Instance**. The [Instance creation wizard](https://console.scaleway.com/instance/servers/create) displays.
3. Choose the Availability Zone for your Instance.
4. Select the Instance type you want to create.
5. Select the **NextCloud** image in the **InstantApps** tab.
6. Add storage volumes to your Instance.
7. Enter a name and optional tags for your Instance.
8. Click **Create Instance** to launch your NextCloud Instance.

<Message type="tip">
  For detailed information about Instance creation, refer to the [create an Instance](/instances/how-to/create-an-instance/) documentation.
</Message>

## Configuring NextCloud

When the Instance is running, you can see the Instance's IP address in the server list on the control panel.

1. Copy the IP address and open an [SSH session](/instances/how-to/create-an-instance/) to find the database credentials required for NextCloud.
2. The MySQL user, password, and database name are shown in the MOTD message that displays upon your first connection to the server:
    ```
    ################### NEXTCLOUD ###################
    Nextcloud version 29.0.3 is installed in /var/www/html/nextcloud.

    Getting started with: https://www.scaleway.com/en/docs/tutorials/nextcloud-instantapp/

    In order to configure your Nextcloud, it must be bound to a relational database first.
    A MySQL database is running locally. You can connect using the following credentials:
    Database user: nextcloud
    Database password: b88113df1402e2a22c787f5d3f14ca31b4315ef6
    Database name: nextcloud_db

    You can also connect to any other external database supported by Nextcloud (see
    https://docs.nextcloud.com/server/27/admin_manual/configuration_database/linux_database_configuration.html).

    Go to http://7a132dd2-8a5d-4ddb-b7f9-1f86cb88499b.pub.instances.scw.cloud/nextcloud, fill the form with your database information
    and your desired user.

    You can hide this message for the next connections by deleting the /etc/update-motd.d/70-nextcloud file.
    #################################################
    ```
3. Open a web browser and enter the NextCloud URL from the MOTD in the navigation bar. NextCloud's installation script displays.
4. Enter a username and password (of your choice) as well as the database credentials shown in the MOTD of your Instance. Leave the database host as `localhost`. Then click **Install**.
    <Lightbox image={image} alt="" />
    <Message type="note">
      The installation takes a few seconds to complete.
    </Message>

## Log in to NextCloud

Once the installation completes, you are redirected to the login page. Enter the username and password you set previously and press **Enter** on your keyboard.

<Message type="tip">
  After completing the NextcCloud installation, your browser may navigate to an incorrect URL. A quick workaround is to click the "Back" button in the browser to access the NextCloud login page.
</Message>

You are now connected to your personal cloud storage and can start using it.

<Lightbox image={image2} alt="" />

## Opening the mail ports to send emails

 <Message type="note">
  To prevent spam, our infrastructure does not allow access to remote mail ports by default. However, NextCloud requires the ability to send emails, so you must enable access to these ports. Your account needs to undergo a validation process before you can enable the SMTP ports. [Learn more about identity verification](/account/how-to/verify-identity/).
</Message>

1. Click the **Security groups** tab on the Instances overview page.
2. Click **Create a new security group** and input the security group name and description.
3. Check the **Enable SMTP** box to unblock the mail ports.
4. Return to the overview tab and select the security group you created in step 2.

    The new security group configuration is automatically applied to the Instances.