Database

Create and launch a Database Instance

Launch a MySQL database

  1. Log on to the Nectar Dashboard and ensure you’re working in the right project (Use the project selector on the top left-hand side)
  2. Navigate to the Project / Database / Instances page
  3. Click the Launch Instance button to start the Create Database Instance dialog.
  4. Select the appropriate Availability Zone from drop down list and supply the name tutorial for the Instance Name field. Select the latest of version of MySQL in the Datastore drop down list. Database instance dialog details tab
  5. Click the Initialize Databases tab. Enter tutorial in the Initial Databases field. Enter admin in Initial Admin User field. Enter a strong password in the Password field. Database instance dialog initialize tab
  6. Click the Access Database tab. Here, you can add a specific IP or range of IP addresses which can only access your database instance. If it is left as the default (0.0.0.0/0), it will be exposed to the entire Internet. Database access tab

    Access points?
    If you restrict your database instance, remember to think about the access points you will require. It could be your individual computer, another cloud instance you are using and/or your University network IP ranges.

  7. Click Launch button.
  8. Once the building process is finished, you should see your instance become Active. It is now ready to use. Database instance list page

Only allow the V.I.Ps!
For security reasons, we recommend that you either provide a specific host IP address in the Allowed Host field to limit access to your database itself, limit where the database is exposed to via CIDR, or launch your database instance on a private network. See the Advanced Networking tutorial for more information.

In the next section, you will learn how to create and restore database backups.