Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-1434

Ability to deploy Metron full dev as a single node (centos6) to AWS with vagrant and AMI

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: To Do
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.4.3
    • Fix Version/s: Next + 1
    • Labels:
    • Environment:

      Description

      The pull request has two potential solutions for deploying to Metron to AWS. 

      i) AWS Single Node Cluster Deployment Using Vagrant
      ii) AWS Single Node Cluster Deployment Using an AMI

      i) AWS Single Node Cluster Deployment Using Vagrant:
      I was able to deploy Metron as a single node to AWS using Vagrant on MacOS. 

      It was tested using the latest Metron code (as of 2018-01-30 - 8:00am UTC) that was in git. I'm assuming the latest that was in git is 0.4.3 that is progress.

      Instructions:

      https://github.com/as22323/metron/blob/master/metron-deployment/README.md#aws-single-node-cluster-deployment-using-vagrant

       

      ii) AWS Single Node Cluster Deployment Using an AMI:
      In addition to including instructions for deploying 0.4.3 using Vagrant on a Mac I also included instructions for deploying to AWS using a preexisting AMI (I made the following AMI public as a proof-of-concept: "GCR-Xetron Demo"/"ami-93cb4ff7").  This might be the quicket option for deployment since no preinstall requirments would be needed.

      Instructions: 
      https://github.com/as22323/metron/blob/master/metron-deployment/README.md#aws-single-node-cluster-deployment-using-an-ami

       

      ***PULL REQUEST CHECKLIST ITEMS***

      "For documentation related changes:"

      Running cd site-book, mvn site produced "BUILD SUCCESS"

       

      "For code changes:" 

      Was not sure where to run "mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh ". Core Metron Code was not changed. For i) the following code were newly added/modified:

      [Vagrant to work with aws]

      https://github.com/as22323/metron/blob/master/metron-deployment/development/aws-centos6/Vagrantfile

      [changing eth1 to eth0]

      https://github.com/as22323/metron/blob/master/metron-deployment/development/aws-centos6/inventory/group_vars/all

       

       

      "How the change may be verified: "

      You should be able to see Ambari after following instructions (http://<elasticip>:8080)

       

       

        Attachments

          Activity

            People

            • Assignee:
              AS3233 ashah
              Reporter:
              AS3233 ashah
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m