Skip to content

Setting up OpenDF using AWS

coderaashir edited this page Jan 24, 2016 · 2 revisions

Requirements Netbeans version 8.0 or higher running in sudo mode using gksu. An AWS instance with authentication details ready
OpenDF cloned onto your PC (link: https://github.com/scorelab/OpenDF ) MySQL setup with the following guide: https://github.com/scorelab/OpenDF/tree/master/db (readme.md)

Steps

  1. You’ll need to register Elastic Beanstalk Service in the IDE's Services window as a Cloud provider. Open the IDE's Services window. (Window > Services or Ctrl-5)

  2. Right-click the Cloud node and select Add Cloud. The Add Cloud Provider dialog opens. Select Amazon Beanstalk as the Cloud Provider. Enter an arbitrary name for the provider. Click Next.

  3. Enter your key and secret key. Click Next.

  4. Click through the rest of the wizard. NetBeans IDE mounts your existing Amazon Beanstalk Tomcat environments as running Tomcat servers.

  5. Now that you’ve registered the Elastic Beanstalk Service, you’ll need to create a new Elastic Beanstalk environment.

  6. In the Server and Settings page of the New Web Application wizard, click Add Server. The Add Server Instance dialog opens.

  7. Select Amazon Beanstalk as the server type. The Create New Virtual Application or Environment window page opens. Select the Amazon Beanstalk account you want to use. Give the new environment an arbitrary name and select a Tomcat container type.

  8. Once done, you’ll need to use the ‘build with dependencies’ option with OpenDF and setup the necessary database. You can follow the following guide to further proceed to deployment: https://github.com/scorelab/OpenDF/wiki/Installing

Note: You can also use AWS to setup the mysql database onto it. Thus, you can access OpenDF anywhere.