Database
Launch and backup a MySQL database instance
Launch a MySQL database
- 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)
- Navigate to the
Project
/Database
/Instances
page - Click the
Launch Instance
button to start the Create Database Instance dialog. - Select the appropriate Availability Zone from drop down list and supply the name
tutorial
for theInstance Name
field. Select the latest of version of MySQL in theDatastore
drop down list. - Click the
Initialize Databases
tab. Enter tutorial in theInitial Databases
field. Enter admin inInitial Admin User
field. Enter a strong password in thePassword
field.
Note
Ideally, for security reasons, you should provide a specific host IP address in
the Allowed Host
field to limit access to your database instance or launch
your database instance on a private network. See the
Advanced Networking
tutorial for more information.
- Click
Launch
button. - Once the building process is finished, you should see your instance become
Active
. It is now ready to use.
Create a backup
Note
Database backups are stored in Nectar object storage. Your Nectar project will need object storage quota sufficient to hold your backups.
- Navigate to the
Project
/Database
/Instances
page - Find the database instance
tutorial
and click theCreate Backup
button to start theBackup Database
Dialog. - Enter tutorial_backup in
Name
field and select tutorial inDatabase Instance
dropdown list. - Click
Backup
button. - Wait until the backup process is finished and you should see the database backup is listed under
Project
/Database
/Backups
.