Details
-
Type: Improvement
-
Status: Closed (View Workflow)
-
Priority: Minor
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Story Points:3
-
Epic Link:
-
Sprint:Fall 7 Dec 14 - Dec 23, Winter 3 Jan 25 - Feb 5, Winter 4 Feb 8 - Feb 19
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
request for Chirag Chandrahas Shetty:
Please make note of where the image (Figure 1) came from.