We also now offer two PAGO variants, both pre-loaded with DBpedia data.

The DBpedia Snapshot (Virtuoso PAGO) (documented on this page) starts as a static instance, preloaded with the DBpedia 2016-10 dataset, mirroring the public DBpedia instance found at http://dbpedia.org/sparql.
You can make changes to this data, but it will not track changes made to Wikipedia nor DBpedia-Live.

Prerequisites

Recently created AWS accounts will have been automatically signed up for the Amazon S3 and EC2 Web Service.
If you created your AWS account a long time ago, you may now need to manually sign up for these services.

Ensure an AWS security group allowing access to ports 22 (standard SSH), 80 (standard HTTP), and 8890 (Virtuoso HTTP-based Admin) is used.
(This is the setup of the AMI offerings.)

Instantiating DBpedia Snapshot (Virtuoso PAGO) via Web Interface

Choose a suitable size EC2 Instance Type and Key Pair, then click on the button Launch with 1-click button.

A confirmation dialog will be presented indicating the image has been deployed.

Check the in the AWS Console EC2 images Web Interface that the image has been successfully instantiated.

Load the Virtuoso Admin Console (a/k/a Conductor) in your browser to confirm all is running properly:

http://{amazon-ec2-ami-dns-name-or-ip-address}:8890/conductor

First-time Setup & Usage Notes

These steps in this section are only necessary the first time you start the Virtuoso instances on the AMI.
This section may be ignored thereafter, as it is not necessary after AMI reboots.

There are two Virtuoso instances in this AMI.
One which comes up quickly, with no significant content, so you know the AMI is basically functional; and one which comes up more slowly, with the full DBpedia dataset, which takes significant time to start due to some Amazon requirements for such AWS instances.

Basic Instance

ssh into your instantiated AMI using a command of the form —

ssh -i {secure-pem-file} ec2-user@{amazon-ec2-dns-name-or-ip-address}

The Virtuoso DBMS Server for the Basic Instance will have started with the AMI.
You can verify this with --

ps -ef | grep "virt*" | grep -v grep

If you do not see a running instance, execute the following commands, and then repeat the command above.

At the authentication challenge, log in as the dba user, with the AMI instance-id as the password.
Note: If unable to connect to the Virtuoso server using the instance-id as password, please register with our Support Site, and create a Support Case for fastest assistance.

Drill down to System Admin → User Accounts.

Locate the dba user, and click the associated Edit link.

The form allows many things to be changed.
For now, just input your desired password into both Password and Confirm Password boxes, and click the Save button.

You can now perform other administrative tasks through the Conductor interface, or return to basic use.

DBpedia Instance

ssh into your instantiated AMI using —

ssh -i {secure-pem-file} ec2-user@{ec2-dns-name-or-ip-address}

Stop the Basic Instance (to conserve system and license resources) by running —

virtuoso-stop.sh dbpedia

Start the Virtuoso DBMS Server against the DBpedia Database by issuing the commands below.
Note: At initial launch, it takes the Virtuoso DBMS Server approximately 20 minutes to bring the DBpedia database online, due to its size.

At the authentication challenge, log in as the dba user, with the AMI instance-id as the password.
Note: If unable to connect to the Virtuoso server using the instance-id as password, please register with our Support Site, and create a Support Case for fastest assistance.

Drill down to System Admin → User Accounts.

Locate the dba user, and click the associated Edit link.

The form allows many things to be changed.
For now, just input your desired password into both Password and Confirm Password boxes, and click the Save button.

You can now perform other administrative tasks through the Conductor interface, or return to basic DBpedia use.

Performance Notes

Please be aware of the following, which impact the performance and utility of your AMI:

This AMI includes a bundled Virtuoso license which enables 10 Database Sessions and the use of 4 logical processors.
Licenses that upgrade these attributes are available as paid upgrade options.

Virtuoso always takes full advantage of the memory it's configured to use.
This may be much less than is found in its host environment/AMI. This AMI is pre-configured for an m3.large EC2 Instance Type, so will use 7GB of RAM.
If you choose a larger EC2 Instance Type (such as the recommended m3.2xlarge), then the NumberOfBuffer and MaxDirtyBuffers parameters in the /opt/virtuoso/dbpedia/dbpedia.ini configuration file should be increased to correspond to the chosen Instance Type's available memory, as detailed in the Virtuoso Performance Tuning Guide.
A few examples are shown below.
After changing these or any other settings in the INI file, restart the Virtuoso server as described above.

There are a wide range of AMI choices, offering various combinations of system memory and logical processors.
To improve performance, use an EC2 Instance Type with more memory and more logical processors.
To make use of additional processors, you will need to also acquire an upgraded Virtuoso license.

Troubleshooting

If you encounter any problems resolving the sample DBpedia URIs listed in the steps above, please:

Determine whether Virtuoso is running, with this command

ps -ef | grep "virt*" | grep -v grep

Check the log of Virtuoso's most recent activity with one of these commands

for the DBpedia instance

tail /dbpedia/*.log

for the basic instance

tail /opt/virtuoso/dbpedia/*.log

The output of those commands will show you whether the initial Virtuoso DBpedia DB setup (which can take a while due to DB size) is still in progress, the setup encountered some error, or the setup has completed but Virtuoso awaits one of the following commands: