Prepopulated Virtuoso hosting of MusicBrainz? on EC2 AMI
What is the MusicBrainz Project?
MusicBrainz is a community music metadatabase that attempts to create a comprehensive music information site. You can use the MusicBrainz? data either by browsing this web site, or you can access the data from a client program for example, a CD player program can use MusicBrainz to identify CDs and provide information about the CD, about the artist or about related information. You can also use the MusicBrainz? Tagger to automatically identify and clean up the metadata tags in your digital music collections.
MusicBrainz Installation on Virtuoso EC2 AMI instance
OpenLink Software provides a backup up of the current MusicBrainz Database as hosted on the live service at http://dbtune.org/musicbrainz/sparql
, that users can restore into a Virtuoso EC2 AMI instance in the cloud, providing them with an instance of MusicBrainz for their own use.
Installation
- Start a Virtuoso EC2 AMI instance.
Note a Virtuoso Release 5 AMI instance ( ami-ids ami-59628630 or ami-c46084ad ) must be used with this backup.
We recommended a 64-bit large image AMI instance with 8GB of memory be used, which is a
m1.large
EC2 instance type.
- Note for best performance particularly under extensive usage it is recommended the 16GB
m1.xlarge
EC2 instance type be used. - Load the Virtuoso Conductor Administration interface of the running EC2 AMI instance with a URL of the form
http://your-ec2-instance-cname/conductor
.
- From the Virtuoso Conductor, navigate to the "System Admin" -> "Packages" tab to obtain a list of available Virtuoso packages (VADs) to install.
- Click the "Install" button to initiate installation of the "EC2 Extensions" VAD package for use in performing backup and restore tasks.
- Click the "Proceed" button to install the "EC2 Extensions" VAD package.
- Go to the URL
http://your-ec2-instance-cname/ec2exts
to load the Virtuoso Extensions for Amazon EC2 Images login page and log in as the "dba" user.
- From the Virtuoso Extensions for Amazon EC2 Images main page, click the "Restore a Remote Backup" link.
- On the "Restore a Remote Backup" page, set the follow options.
Protocol: WebDAV/HTTP Host: s3.amazonaws.com Path or Bucket: mbz-virtuoso-bundle Backup File Prefix: musicbrainz-backup
- Click the "Restore" button to begin the restoration of the MusicBrainz database from backup.
.
.
.
- Click on the "Continue" button to begin the re-assembly of the database from the restored backup files.
Output similar to the following will be displayed when the re-assembly of the database is complete.
Once complete the server will have been restarted automatically with the restored MusicBrainz database and is ready for use.
Usage Examples
The URI scheme used in the EC2 rendition of MusicBrainz is based on a simple mapping:http://your-ec2-instance-cname/music/artist/3c79e3ff-f41b-45d8-af26-40151798056b
maps to original MusicBrainz entity: http://musicbrainz.org/artist/3c79e3ff-f41b-45d8-af26-40151798056b
described in the Web page: http://musicbrainz.org/artist/3c79e3ff-f41b-45d8-af26-40151798056b.html
For example, the (X)HTML representation of the description of the Track: Roots Natty Congo, by Artist: Johnny Clarke is as follows;
-
http://your-ec2-instance-cname/music/track/ced52b51-f607-4fde-a3e0-6c6ca9a3f200
Results
- The MusicBrainz SPARQL endpoint can be accessed on http://your-ec2-instance-cname/sparql
- The OpenLink Interactive SPARQL Query Builder can be accessed on http://your-ec2-instance-cname/isparql, enabling the visual construction of queries (Graph Patterns).
Related
- Safeguarding your Virtuoso-hosted SPARQL Endpoint
- EBS-backed BYOL ("Bring Your Own License") Virtuoso EC2 AMI
- SPARQL Endpoint Protection Methods Collection
- Virtuoso documentation
- Virtuoso Tips and Tricks Collection
- SPARUL over SPARQL using the http://cname:port/sparql-auth endpoint
- Virtuoso Authentication Server UI
- Manage a SPARQL-WebID based Endpoint
- WebID Protocol Support in OpenLink Data Spaces.
- Manage ODS Datadspaces Objects WebID? Access Control Lists (ACLs):
- Guide for Set up a X.509 certificate issuer and HTTPS listener and generate ODS user certificates.
- Setting up PubSubHub in ODS
- PubSubHubBub Demo Client Example
- Feed subscription via PubSubHub protocol Example
- Setting Up PubSubHub to use WebID Protocol or IP based control lists
- CA Keys Import using Conductor
- Generate an X.509 Certificate hosted WebID Guide
- Generate an X.509 Certificate (with a WebID watermark) to be managed by host operating system keystore
- Generate an X.509 Certificate (with a WebID watermark) to be managed by a browser-based keystore
- Using Virtuoso's WebID Verification Proxy Service with a WebID-bearing X.509 certificate
- Using Virtuoso's WebID Identity Provider (IdP) Proxy Service with an X.509 certificate
- ODS Briefcase WebID Protocol Share File Guide
- WebID Protocol Specification
- Test WebID Protocol Certificate page
- WebID Protocol Certificate Generation page