Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      When developers need to make and test changes to the Bioviz Web site, they have to stand up an EC2 instances, create and configure various files to set up Apache Web server, and more. This can be a tedious and error-prone process as currently it must be done manually.

      There are many tools for automating provision of resources that would make this faster. Two of these include ansible and puppet. The Galaxy project is using ansible, and Dr. Loraine has learned a bit about it at the Galaxy Community Project 2019. Puppet seems to be a bit older and less nice.

      For this task, please write an ansible playbook to automate deployment of the BioViz main site.

      Some potentially useful training materials:

      Note: When starting work on this, please use the existing repository. Ask Dr. Loraine for the details.

        Attachments

          Issue Links

            Activity

            Hide
            ann.loraine Ann Loraine added a comment -

            Some concerns:

            • Bioviz developers need to be able to clone the repository and work on it in-place. However, the entire point of ansible is to document and automate deployment
            • Developers working on Windows platforms can't run ansible from their local computer; ansible is a Linux tool
            Show
            ann.loraine Ann Loraine added a comment - Some concerns: Bioviz developers need to be able to clone the repository and work on it in-place. However, the entire point of ansible is to document and automate deployment Developers working on Windows platforms can't run ansible from their local computer; ansible is a Linux tool
            Hide
            ann.loraine Ann Loraine added a comment -

            Ansible positives:

            • Ansible allows templates to configure Apache; no need to edit config files using sed, or by hand.
            Show
            ann.loraine Ann Loraine added a comment - Ansible positives: Ansible allows templates to configure Apache; no need to edit config files using sed, or by hand.
            Hide
            ann.loraine Ann Loraine added a comment -

            Negatives:

            • Seems like a heavy-weight solution for a simple web site like bioviz.
            • Heavy-weight meaning: Requires developer to master a devops system.
            Show
            ann.loraine Ann Loraine added a comment - Negatives: Seems like a heavy-weight solution for a simple web site like bioviz. Heavy-weight meaning: Requires developer to master a devops system.
            Hide
            ann.loraine Ann Loraine added a comment -

            After trying it out, I'm not convinced ansible is the right solution for making it easy to stand up a bioviz site.
            For App Store, however, I do think it is probably the right way to go, although I am still not sure how we would migrate a database and S3 bucket without losing user data.
            Closing this ticket for now.

            Show
            ann.loraine Ann Loraine added a comment - After trying it out, I'm not convinced ansible is the right solution for making it easy to stand up a bioviz site. For App Store, however, I do think it is probably the right way to go, although I am still not sure how we would migrate a database and S3 bucket without losing user data. Closing this ticket for now.

              People

              • Assignee:
                ann.loraine Ann Loraine
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: