MariaDB is also available as part of Amazon's RDS service. See the MariaDB on Amazon RDS page for more details.

MariaDB Corporation has created some pre-built MariaDB images on Amazon AWS. These images are a quick way to get a basic install of MariaDB up and running. They are available by clicking on the button above.

Available versions

The currently available Linux distribution and MariaDB combinations are:

DistributionMariaDB Versions
Ubuntu 14.04 "Trusty" x86_64MariaDB 10.1.20, MariaDB 10.0.30
Debian 8 "Jessie" x86_64MariaDB 10.1.20, MariaDB 10.0.30
CentOS 7 x86_64MariaDB 10.1.20, MariaDB 10.0.30

Default logins

These images are created off of the default base images for the respective Linux distributions, and as such there are some differences between them. The primary one is the account used to login. Refer to the following table for details:

DistributionDefault ssh login account
CentOScentos
Debianadmin
Ubuntuubuntu

First steps

MariaDB on the Amazon AWS images is a basic vanilla install directly from the MariaDB repositories. There is no password set for the default MariaDB root user. So when you first login and start using one of these images, run the mysql_secure_installation script to set a root user password and set some other recommended options.

For more information on using MariaDB, refer to the Getting Started section of the Knowledge Base.

Migration / Upgrade Instructions

As new versions of these AMIs are created, there is no need to create a new instance. Upgrading to the latest version of MariaDB in the series you are using, 5.5 or 10.0, can be done in-place on your existing instance. All data in your MariaDB databases are preserved during the upgrade.

On Ubuntu and Debian instances, run the following commands to upgrade MariaDB to the latest version:

sudo apt-get update
sudo apt-get upgrade

On CentOS, run the following command to upgrade MariaDB to the latest version:

sudo yum update

A couple of notes about upgrading:

  1. If prompted during the upgrade to set or change the MariaDB root user password (this is not the system root user password), you can leave the box blank and just press the "Enter" key to preserve the currently set password. That said, if no MariaDB root user password has been set, please set one; as running MariaDB without a password for the root user is a huge security hole.
  2. After upgrading MariaDB, run the mysql_upgrade script after the package manager finishes, like so:
    sudo mysql_upgrade
    

Comments

Comments loading...