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

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Epic Link IGBF-1388 [ 17463 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine 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.
            ann.loraine 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

            [~aloraine]

            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 [~aloraine] 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.
            ann.loraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 11 [ 70 ] Summer 2019 Sprint 11, Summer 2019 Sprint 12 [ 70, 71 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine 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 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked lower
            ann.loraine 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 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 18594 ] Fall 2019 Workflow Update [ 19075 ]
            ann.loraine 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 ]
            ann.loraine Ann Loraine made changes -
            Status In Progress [ 3 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Summary Develop ansible playbook to deploy and update appstore Investigate using ansible playbook to deploy and update appstore
            Hide
            ann.loraine Ann Loraine added a comment -

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

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

              People

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

                Dates

                • Created:
                  Updated: