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

Building Infrastructure with Terraform and Ansible on AWS

    Details

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

      Description

      The project is to automate the process of provisioning AWS services, configuring the software setup required, and deploying the service. Terraform is used to create and manage the infrastructure services in AWS. It will be used to create ec2 instance, RDS, security groups, S3 bucket, etc. Terraform will call an Ansible playbook that will deploy the Django application on ec2 instance.

      The advantage of using terraform over Ansible for building the infrastructure would be the elimination of the control node, and we can destroy all the infrastructure created by terraform using one command line if something goes wrong.

      We can also use AWS Cloud Formation, which is a similar tool as terraform but, the only disadvantage of cloud formation is that it is not an open-source tool and Cloud formation is only for AWS services. Terraform can be used with AWS, Google Cloud Platform, OpenStack, and Microsoft Azure.

      References:
      https://www.hashicorp.com/resources/ansible-terraform-better-together
      https://selleo.com/blog/why-choose-terraform-over-chef-puppet-ansible-saltstack-and-cloudformation
      https://medium.com/faun/building-repeatable-infrastructure-with-terraform-and-ansible-on-aws-3f082cd398ad

        Attachments

          Activity

            People

            • Assignee:
              chirag24 Chirag Chandrahas Shetty (Inactive)
              Reporter:
              chirag24 Chirag Chandrahas Shetty (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: