AgensGraph 2.1 on AWS!
Fast, reliable graph database management system with high relational model compatibility IS ON-CLOUD NOW!
We are pleased to announce that our newest product, AgensGraph 2.1 Community Edition, is now available on Amazon Web Service (AWS). AgensGraph 2.1 contains a list of new features like enhanced performance and exceptional usability for PostgreSQL users.
And now it is cloud-enabled on AWS, extending its powerful features into a more scalable environment for anyone who requires cloud-based data management and applications.
How to launch AgensGraph on AWS!
Step 1: Sign in to AWS, Search “AgensGraph”
You can start launching AgensGraph on AWS by simply connecting to https://aws.amazon.com/marketplace , signing in, and search for “AgensGraph,” described as below.
Step 2: Subscribe “AgensGraph”
When you see “AgensGraph” product page, you can check brief information about AgensGraph product (Product Overview). Click “Continue to Subscribe”, select appropriate region according to your base for connection, and select your EC2 instance on which AgensGraph will be deployed following your data environment and payment condition. as below.
Remember, AgensGraph 2.1 Community Edition is free-to-use but you may pay for using AWS instance that you choose.
Once you finished choosing your Region and preferred Instance, proceed with clicking “Continue to Subscribe” again.
After you accepted terms, you’re going to see the below screen showing that your quest for subscribing AgensGraph is completed. Click “Continue to Configuration” to continue launching.
Step 3: Configure EC2 Instance
Fill in Fulfillment Option, Software Version, and Region like the screen described below, and click “Continue to Launch”.
When you see Launch this Software page, you can pre-check how to connect to the launched instance by clicking Usage Instructions. Select “Launch through EC2” in Choose Action, and click “Launch”.
After that, you can choose between launching AWS instance for AgensGraph without additional configuration steps (in this case, all options will be set to AWS default) or moving onto configuration pages before launching your instance.
But first, you finally need to choose the type of your instance. If you are new to AWS, you can run a free instance for 12-months by choosing free tier instance (t2.micro).
Or, you can choose an instance type you prefer, of course you will be hourly charged for using it, and in this case, an instance that Bitnine recommends for stability and performance (m4.large).
After completing configuration steps from Step 3 (Configure Instance Details) to Step 6 (Configure Security Group) on the EC2 management console page according to your environment (or you can just jump onto the final review stage for the launch skipping configuration steps by clicking Review and Launch button), you will review all configurations for the instance before the launch.
Step 4: Launch EC2 Instance
You need to create a private key file (e.g: bitnine_marketing_keypair.pem) to ensure a secure connection to the instance.
Choose “create a new key pair” if you do not have a previous key file. Put some nice name onto your new private key file and download it by clicking “Download Key Pair” and save the downloaded file to a secure place in your local environment.
It is used every time you connect to the instance, so you should be aware of the location of this private key file. Click Launch Instances to continue.
If there is no issue in previous steps, you will see the below screen showing that your instance is successfully launched.
To connect to the instance, click View Instances button on the bottom-left side of the page for opening up EC2 Management Console.
The information and status of your instance are shown on the management console page, and if you click “Connect” button, a screen pops up for explaining how to connect to the instance.
Step 5: Connect to Instance and Launch AgensGraph
As the final step, it is time to see the User Guide for Linux Instances to connect to the instance from your local environment. If you use Windows OS you need to install SSH client like PuTTY, generate .ppk file from your stored .pem file, and then connect to the instance server as directed.
Following the directions in the help document right above, you may connect to the instance as user name “ubuntu,” which is a similar user account to “root.”
Once you successfully connected to your EC2 instance, now you can run AgensGraph server by following the instructions in Usage Instructions tab on EC2 Management Console page.
Of course, here I set the permission level of ag-env.sh file to 777 but it should be set differently by your environment. Test some simple queries to verify AgensGraph is working normally, and it is done.
If you want to connect to the instance from other accounts than “ubuntu,” please refer to this document to proceed. If there is any question about each step for using AgensGraph on AWS described in this post, please mail your inquiry to firstname.lastname@example.org.
▶ Download the full use cases of AgensGraph
▶ Learn about AgensGraph
※ AgensGraph 2.1 Community Edition is licensed under Apache 2.0, so please feel free to use and send us any inquiry/idea about our products to: email@example.com or our Github