Terraform Provisioner

Write a Terraform script which create a ubuntu ec2-instance and copy a ansible playbook, install ansible and run it. Step 1 – Create ec2-instance with key and group Step 2 – COpy playbook using file prov* Step 3 – Install Ansible using remote prov* Step 4 – RUn Ansinle playbook command using remote prv*

Read more

TERRAFORM WITH VARIABLES

Write a terraform script using AWS ec2 instance and Github and apply following kind of variables – Types of Terraform variable – Number Types of Terraform variable – String Types of Terraform variable – List Types of Terraform variable – Map Types of Terraform variable – Boolean

Read more

Selfnotes/terraform-variables

Write a terraform script using aws ec2 instance and github and apply following kind of variables – Types of Terraform variable – Number provider “aws” {region = “us-west-2”access_key = “”secret_key = “”} resource “aws_instance” “first-ec2” {ami = “ami-03d5c68bab01f3496” # us-west-2instance_type = “t2.micro” tags = {Name = “Abhishek Reddy”}} variable “numofusers” {type = numberdescription = “This is for demo of number variable”default = 3} resource “aws_iam_user” “example” {count = “${var.numofusers}”name = “Abhishek Reddy.${count.index}”} —————————————————————————————————– – Types of Terraform variable – String

Read more

Working With Terraform Variables

Write a terraform script using aws ec2 instance and github and apply following kind of variables Types of Terraform variable – Number Types of Terraform variable – String Types of Terraform variable – List Types of Terraform variable – Map Types of Terraform variable – Boolean and Decare variables in – Terraform file – Override through Command Line

Read more

Working With Terraform

Write a comparison between Ansible Vs Docker Vs Terraform Terraform Ansible D Tool category Orchestration Configuration management Approach Immutable infrastructure Mutable infrastructure Language Declarative Imperative Provisioning Specializes in infrastructure provisioning Limited support for infrastructure provisioning LIfecycle management Lifecycle aware.  Maintains state of deployments. No lifecycle awareness Command line operation Yes Yes Agentless Yes Yes Write a terraform script where you create a linux ec2 instance with Security group and key defined so you should be able to use key to

Read more

Get into Terraform

Write a comparison between Ansible Vs Docker Vs Terraform : Terraform Terraform focuses on infrastructure automation, and interprets a model described in Hashicorp Configuration Language. Terraform has Immutable infrastructure. Terraform Specializes in infrastructure provisioning. Terraform provides Lifecycle aware.  Maintains state of deployments. Ansible Ansible takes an imperative or procedural approach, which is familiar to anyone experienced in scripting. Ansible has Mutable infrastructure. Ansible gives Limited support for infrastructure provisioning. There is no lifecycle awareness in Ansible. Docker Docker is a

Read more

A simple overview of Terraform

Comparison between Ansible, Docker and Terraform Ansible Docker Terraform Ansible is a configuration management tool Docker is a container tool Terraform is an Orchestration tool It provides support for mutable infrastructure It provides support for immutable infrastructure It provides support for immutable infrastructure It follows a procedural language It follows a declarative language It follows a declarative language It provides complete support for packaging and templating It provides support for packaging and templating It provides partial support for packaging and

Read more

Terraforms

Comparison B/W Ansible, Docker and Terraform Ansible Docker Terraform Ansible is a configuration management tool Docker is a container tool Terraform is an Orchestration tool It provides support for mutable infrastructure It provides support for immutable infrastructure It provides support for immutable infrastructure It follows a procedural language It follows a declarative language It follows a declarative language It provides complete support for packaging and templating It provides support for packaging and templating It provides partial support for packaging and

Read more
1 80 81 82 83 84 332