NavigationContentFooter
Jump toSuggest an edit

Getting Started with the NextCloud InstantApp

Reviewed on 21 February 2024Published on 16 August 2018
  • apps
  • compute
  • cloud
  • storage
  • InstantApp
  • NextCloud
  • Instance

In this tutorial, we show you how to deploy your personal cloud storage with the NextCloud InstantApp in seconds. NextCloud allows you to create a 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. By default, this image supports routed IPs.

Before you start

To complete the actions presented on this page, you must have:

Requirements
  • You have an account and are logged into the Scaleway console
  • You have configured your SSH key

Creating a NextCloud Instance

  1. Click Instances in the Compute section of the side menu. The Instances page displays.
  2. Click Create Instance. The Instance creation wizard 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.
Tip

For detailed information about Instance creation, refer to the create an Instance documentation.

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 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 27.0.2 is installed in /var/www/html/nextcloud.
    Getting started with: https://www.scaleway.com/en/docs/tutorials/nextcloud-instantapp/
    Before configuring your NextCloud, you must bind it to a relational database.
    A MySQL database is running locally. You can connect using the following credentials:
    Database user: nextcloud
    Database password: 07661dd3ec51560369c3dbb606b0e35c86da476a
    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://01e090cd-e0f4-4b5e-b035-5fda387535ed.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.
    Note

    The installation takes a few seconds to complete.

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.

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.

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

Opening the mail ports to send emails

Note

In order 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.

  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.

Cloud Products & Resources
  • Scaleway Console
  • Compute
  • Storage
  • Network
  • IoT
  • AI
Dedicated Products & Resources
  • Dedibox Console
  • Dedibox Servers
  • Network
  • Web Hosting
Scaleway
  • Scaleway.com
  • Blog
  • Careers
  • Scaleway Learning
Follow us
FacebookTwitterSlackInstagramLinkedin
ContractsLegal NoticePrivacy PolicyCookie PolicyDocumentation license
© 1999-2024 – Scaleway SAS