Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
SilverLight
Meru Taxi
Other
ASP.NET
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
 Mobile Taxi
 :) Hot Jobs
 
 :) Latest Articles


  

 


Define some common difference in between Terraform and Ansible?
Question Posted on 01 Feb 2024

Home >> Tools >> Terraform >> Define some common difference in between Terraform and Ansible?




Define some common difference in between Terraform and Ansible?
Below are the some common differene in between Terraform and Ansible:-
0
0

NumberBase of differenceTerraformAnsible
1TypeWhen we say about the type of Terraform, it is an orchestration tool.When we say about the type of Ansible, it is a configuration management tool.
2LanguageWhen we say about the language in Terraform it follows a declarative language.When we say about the language in Ansible, this will follows a procedural language.
3InfrastructureTerraform provides support for immutable infrastructure.Well on the otehr hand Ansible provides support for mutable infrastructure.
4Packaging and templatingTerraform provides partial support for Packaging and templatingOn the other hand Ansible provides complete support for Packaging and templating
5VM ProvisioningTerraform provide comprehensive VM provisioning, networking and storage management. Ansible provides partial VM provisioning, networking and storage management.
6WriteHCL(HashiCorp Configuration Language) is mainly used to write Terraform scripts. And this is a domain specific language created for describing infrastructure.Ansible uses YAML (Yet ANother Markup Language) for writing playbooks, whcih are the configurations and automation sequences.
7WorkflowWhen we say about the workflow, Terraform follows mainly two step process. ANd these two process are Plan and apply. We can create a Terraform script by describing the desired infrastructure, run the Terraform plan to see the changes that will be made, and then execute Terraform to apply those changes.Ansible operates in a more imperative fashion. You define tasks in playbooks, and Ansible executes them on the target machines. There isn't a separate planning step like in Terraform.
8Lifecycle managementTerraform will support lifecycle management.Ansible will not support lifecycle management.
9Open SourceIt is open source but now a days some change are in progress.Open source
10ArchitectureClient onlyClient only
11CloudAll cloudsAll clouds
12Execution ControlYes here we have execution control.No here any of computer can be a controller.
13Agent requirementTerraform not require any extra agent to install.Ansible will also not require any extra agents to be installed on the server to install.
14Master ServerTerraform is also master less. It communicates with the cloud providers using API. And they do not require any extra infrastructure authentication mechanism. Ansible is master less. Some other tools like chefs, puppets require the master server to store the changes and distribute the update but there are disadvantages such as extra secuirty and infrastructure maintenance which incurs cost.


 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Which of the following are advantages of using backend?
Order of declaration of variables in terraform?
Which of the following is a interpolation syntax for name?
HCL Stands for?
Which of the following is the correct format to define type and name of resource of virtual network






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |