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

            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.
            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.

              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: