NavigationContentFooter
Jump toSuggest an edit

One-click WordPress deployment on Scaleway Instances using InstantApp

Reviewed on 11 June 2024Published on 07 May 2015
  • InstantApp
  • WordPress
  • instances

WordPress is a popular, free, and open-source blogging tool and content management system (CMS) based on PHP and MariaDB.

Using the WordPress application can significantly save you time and effort, as it comes pre-installed and configured. By default, the WordPress image used in this tutorial supports routed IPs.

This guide demonstrates how to quickly deploy a WordPress application in seconds using Scaleway’s InstantApp.

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended organizations
  • An SSH key
Tip

We recommend you follow this tutorial using a Cost-Optimized Instance.

Note

The WordPress InstantApp comes with the following packages:

nginx
mariadb-server
php-cli
php-fpm
php-mysql

The underlying operating system used is Ubuntu 22.04 LTS, so the package versions are those available on this distribution.

Auto-install functionality

The WordPress image comes with a new auto-install functionality which allows you to create a WordPress Instance using a few well-defined tags. Tags allow you to provide basic information needed to have a fully working WordPress Instance.

To trigger the auto-install functionality, two mandatory tags are required for full automation:

  • admin_user_name
  • admin_email

Optional tags such as weblog_titleand language can also be used to add more customization to the Weblog.

Note

The value for the language tag must adhere to the list of WordPress locale codes

A random password will be generated and will be accessible when you log into your Instance with your SSH key. When defining the weblog_title tag on the console, it is not possible to have spaces in the title of the weblog. This is only feasible when using the CLI. Refer to our tutorial on creating a WordPress Instance using the Scaleway CLI to create an Instance with the Scaleway CLI.

Deploy WordPress

  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 an Availability Zone and an Instance type.
  4. Choose the WordPress image in the InstantApps tab.
  5. Enter a name and optional tags for your Instance.
  6. Click Create Instance.

Open the mail ports to send emails

To avoid spam, remote mail ports cannot be reached from our infrastructure by default. As WordPress requires sending mail, we need to open them. Your account needs to be validated to perform this operation. Contact our assistance to get your account reviewed.

  1. Click the Security groups tab to enter the security groups’ page.
  2. Click Create security group and enter the security group’s name and description.
  3. Check the Enable SMTP ports box to unblock the mail ports.
  4. Click Add Instance and select the WordPress Instance to which you want to apply the security group configuration.
  5. Click Create security group.

Configure and start using WordPress

  1. Click Instances in the Compute section of the side menu. The Instances page displays.

  2. Click your WordPress Instance.

  3. Copy your Instance’s public IP address and paste it into your browser.

  4. Select a language and click Continue. The WordPress admin page displays.

  5. Fill in the required information and click Install WordPress.

    Note

    The installation takes a few seconds.

  6. On the login page, enter your username and password, and click Log In.

  7. You are now connected to your blog and can start using it.

Docs APIScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCarreer
© 2023-2024 – Scaleway