Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1871

Investigate using ansible playbook to deploy and update appstore

    Details

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

      Description

      Currently, we have to manually log in to appstore instances and run updates by hand. This is fragile and unsafe. What happens if we make a mistake? Will we lose all our users' data?

      To solve this:

      • Let's develop a strategy that uses ansible to deploy resources.
      • Let's also figure out how we can re-deploy an App Store onto a new EC2 but use the existing database and S3 bucket or a copy of same.

      See linked issue for training materials to get up to speed on ansible.

        Attachments

          Issue Links

            Activity

            aloraine Ann Loraine created issue -
            aloraine Ann Loraine made changes -
            Field Original Value New Value
            Epic Link IGBF-1388 [ 17463 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Description Currently, we have to manually log in to appstore instances and run updates by hand. This is fragile and unsafe. What happens if we make a mistake? Will we lose all our users' data?

            To solve this:
            * Let's develop a strategy that uses ansible to deploy resources.
            * Let's also figure out how we can re-deploy an App Store onto a new EC2 but use the existing database and S3 bucket or a copy of same.
            Currently, we have to manually log in to appstore instances and run updates by hand. This is fragile and unsafe. What happens if we make a mistake? Will we lose all our users' data?

            To solve this:
            * Let's develop a strategy that uses ansible to deploy resources.
            * Let's also figure out how we can re-deploy an App Store onto a new EC2 but use the existing database and S3 bucket or a copy of same.

            See linked issue for training materials to get up to speed on ansible.
            aloraine Ann Loraine made changes -
            Link This issue relates to IGBF-1881 [ IGBF-1881 ]
            sameer Sameer Shanbhag (Inactive) made changes -
            Assignee Sameer Shanbhag [ sameer ]
            sameer Sameer Shanbhag (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            sameer Sameer Shanbhag (Inactive) added a comment -

            Currently going through how we can get things going:

            https://www.youtube.com/watch?v=pg-cOPVYKCw

            Currently looking at this tutorial. Will update this ticket with more resources as I come across. I'll be trying to set up the procedure in my EC2 as well.

            Show
            sameer Sameer Shanbhag (Inactive) added a comment - Currently going through how we can get things going: https://www.youtube.com/watch?v=pg-cOPVYKCw Currently looking at this tutorial. Will update this ticket with more resources as I come across. I'll be trying to set up the procedure in my EC2 as well.
            Hide
            sameer Sameer Shanbhag (Inactive) added a comment - - edited

            Ann Loraine

            As I was going through the video, I came across a more simple way to deploy our Django application, ie by creating a Docker Container [Script File which will take care of everything]

            Tutorial : https://puppet.com/docs/pipelines-for-apps/free/docker-python.html

            If we are not tightly bound to use Ansible this is one of the options we can consider and this will be quick when it comes to developing.

            Ansible tutorial I will be trying today:

            https://www.guguweb.com/2017/05/02/how-to-deploy-a-django-project-in-15-minutes-with-ansible/

            The Link at the End of this tutorial explains about continuous deployment.

            Show
            sameer Sameer Shanbhag (Inactive) added a comment - - edited Ann Loraine As I was going through the video, I came across a more simple way to deploy our Django application, ie by creating a Docker Container [Script File which will take care of everything] Tutorial : https://puppet.com/docs/pipelines-for-apps/free/docker-python.html If we are not tightly bound to use Ansible this is one of the options we can consider and this will be quick when it comes to developing. Ansible tutorial I will be trying today: https://www.guguweb.com/2017/05/02/how-to-deploy-a-django-project-in-15-minutes-with-ansible/ The Link at the End of this tutorial explains about continuous deployment.
            aloraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 11 [ 70 ] Summer 2019 Sprint 11, Summer 2019 Sprint 12 [ 70, 71 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 11, Summer 2019 Sprint 12 [ 70, 71 ] Summer 2019 Sprint 11, Summer 2019 Sprint 13 [ 70, 72 ]
            Assignee Sameer Shanbhag [ sameer ]
            aloraine Ann Loraine made changes -
            Rank Ranked lower
            aloraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 11, Summer 2019 Sprint 13 [ 70, 72 ] Summer 2019 Sprint 11, Summer 2019 Sprint 14 [ 70, 73 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 18594 ] Fall 2019 Workflow Update [ 19075 ]
            aloraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 11, Fall 2019 Sprint 2 [ 70, 73 ] Summer 2019 Sprint 11, Fall 2019 Sprint 4 [ 70, 74 ]
            aloraine Ann Loraine made changes -
            Status In Progress [ 3 ] To-Do [ 10305 ]
            aloraine Ann Loraine made changes -
            Summary Develop ansible playbook to deploy and update appstore Investigate using ansible playbook to deploy and update appstore
            Hide
            aloraine Ann Loraine added a comment -

            First phase of research into this is complete - moving to Closed.

            Show
            aloraine Ann Loraine added a comment - First phase of research into this is complete - moving to Closed.
            aloraine Ann Loraine made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            aloraine Ann Loraine made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            aloraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            aloraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            aloraine Ann Loraine made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            aloraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            aloraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            aloraine Ann Loraine made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            aloraine Ann Loraine made changes -
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            aloraine Ann Loraine made changes -
            Assignee Sameer Shanbhag [ sameer ]
            aloraine Ann Loraine made changes -
            Resolution Done [ 10000 ]
            aloraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 19075 ] Revised Fall 2019 Workflow Update [ 22410 ]
            aloraine Ann Loraine made changes -
            Link This issue relates to IGBF-2282 [ IGBF-2282 ]

              People

              • Assignee:
                sameer Sameer Shanbhag (Inactive)
                Reporter:
                aloraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: