Running AllegroGraph on Amazon EC2

 

1. Obtain an Amazon AWS account

If you are new to AWS, you can read the Getting Started with AWS Documentation.

2. Select an AMI

All you need for the next step is the "AMI" identifier in the second column of this table:

AWS Region AMI Operating System AllegroGraph version
Asia Pacific (Tokyo) ami-0918352ce5fe9028b EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
Asia Pacific (Tokyo) ami-0ec0558a98294e344 EBS(PV)-backed 64-bit Amazon Linux 6.5.0
Asia Pacific (Seoul) ami-070ca6653e2dc14bf EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
Asia Pacific (Seoul) ami-06607745086423301 EBS(PV)-backed 64-bit Amazon Linux 6.5.0
Asia Pacific (Mumbai) ami-03b58a89970489eee EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
Asia Pacific (Mumbai) ami-04150885a57e8ed27 EBS(PV)-backed 64-bit Amazon Linux 6.5.0
Asia Pacific (Singapore) ami-0bd40e0382f51ce00 EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
Asia Pacific (Singapore) ami-07cfd817303c939cf EBS(PV)-backed 64-bit Amazon Linux 6.5.0
Asia Pacific (Sydney) ami-0c3884a9d50d0cbf7 EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
Asia Pacific (Sydney) ami-04cd27813ad86118e EBS(PV)-backed 64-bit Amazon Linux 6.5.0
Canada (Central) ami-0d92db1371bf5abf2 EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
Canada (Central) ami-03a823bcff4f797c8 EBS(PV)-backed 64-bit Amazon Linux 6.5.0
EU (Frankfurt) ami-042546ddd9d8e22b6 EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
EU (Frankfurt) ami-051b816f03fe273db EBS(PV)-backed 64-bit Amazon Linux 6.5.0
EU (Stockholm) ami-0f1f5fc002a0941d0 EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
EU (Stockholm) ami-098b47213bdc08b3e EBS(PV)-backed 64-bit Amazon Linux 6.5.0
EU (Ireland) ami-00ba4defa4cfb0b72 EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
EU (Ireland) ami-0c6bbb31085f3139a EBS(PV)-backed 64-bit Amazon Linux 6.5.0
EU (London) ami-0425c82feba224811 EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
EU (London) ami-0f44fd7b816a22ac2 EBS(PV)-backed 64-bit Amazon Linux 6.5.0
EU (Paris) ami-039040efc333e75fc EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
EU (Paris) ami-029f860bdd3a60115 EBS(PV)-backed 64-bit Amazon Linux 6.5.0
South America (Sao Paolo) ami-0219d7b1daba54769 EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
South America (Sao Paolo) ami-0850261a00d70f8a2 EBS(PV)-backed 64-bit Amazon Linux 6.5.0
US East (Northern Virginia) ami-03add099ea79f16d1 EBS(PV)-backed 64-bit Amazon Linux 6.5.0
US East (Northern Virginia) ami-0ed56f6d1fb0ac1bc S3(PV)-backed 64-bit Amazon Linux 6.5.0
US East (Northern Virginia) ami-0c39571d8da026a24 EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
US East (Northern Virginia) ami-02ca9a06320400fd4 S3(HVM)-backed 64-bit Amazon Linux 6.5.0
US East (Ohio) ami-0db079c2e0713c267 EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
US East (Ohio) ami-09ed024741d4a8be9 EBS(PV)-backed 64-bit Amazon Linux 6.5.0
US West (Northern California) ami-011015821b88e9b2f EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
US West (Northern California) ami-0ee594694bd56a4fa EBS(PV)-backed 64-bit Amazon Linux 6.5.0
US West (Oregon) ami-086f724c48efabae7 EBS(HVM)-backed 64-bit Amazon Linux 6.5.0
US West (Oregon) ami-06192965f3a8773f6 EBS(PV)-backed 64-bit Amazon Linux 6.5.0

3. Start the AMI you selected above

To run an instance with one of the above AMIs go to the AWS Management Console and click on "AMIs" in the left sidebar. Select "Public Images" in the first Filter drop-down menu and enter allegrograph in the search box and press ENTER. You should now see something like this list of AllegroGraph AMIs.

Using the "Name" column, locate the version of AllegroGraph version you want to use. There are two types of AllegroGraph AMIs, instance-store (also called S3) and ebs. This is the type of storage for the root filesystem. You can safely select either.

With the AMI you want to start selected, click on the Launch button. This will guide you through the launch wizard, where you select the instance type (e.g., m1.xlarge) and various other configuration details.

If this is your first time using EC2, you should create a new Security Group in Step 6 of the Launch Wizard. We recommend opening ports 22 (SSH), 10035 (WebView), and 16000-17000 (session ports). . Ports 18000-19000 are used for replication and are optional.

Once you launch the AMI, it will take a few minutes for it to enter the running state. Once it does, you can copy the Public DNS name from the instance Description tab and paste it into a brower, adding :10035 to the end of the host name. In this case we will paste ec2-54-225-60-137.compute-1.amazonaws.com:10035 into a browser so we can login to AllegroGraph's WebView console using the user name "test" and password "xyzzy".

4. Using WebView

Now that we have the instance running and we are connected to it, let's exercise AllegroGraph through the WebView interface.

First, let's create a new repository called sample-actors. On the screen you see just after login, you can enter a repository name and press the Create button. Once created, you can click on the repository name in WebView. The result is an empty repository.

Now, let's load some data into the newly created repository. By clicking on "Import RDF... from a URL" we can enter a URL from which data will be loaded. The source we will use is https://franz.com/s3/actors.ntriples, which is an RDF file containing movie actors. Once the URL is pasted ad select "Multi-core loading" and press OK. The result is 166,497 statements loaded into our new respository. If we click on the "View Statements" link we will see a list of the first 100 triples in the database.

Copyright © 2019 Franz Inc., All Rights Reserved | Privacy Statement Twitter Google+