Questions tagged [provisioning]

Provisioning is the act of preparing a system to allow it to provide new services to its consumers. Questions about the automated creation of systems through technologies such as Terraform, Cloud Formation and Azure Resource Manager should have this tag.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

How to set database cluster arguments (like password) with terraform?

I deploy a digitalocean_database_cluster with Terraform. It's working and I can connect to it with the username and password that Terraform generates in .tfstate I want to set a concrete username, ...
Pau Trepat's user avatar
0 votes
0 answers
342 views

How to use Vagrant and Vagrantfiles on the beta version of Virtualbox on a Mac with the M1 or M2 chip?

I am trying to recreate some of the previous DevOps projects that I had previously created while using Parallels as my virtualization tool. However, I saw that last month that Oracle released a new ...
json37's user avatar
  • 1
2 votes
1 answer
530 views

What are minimum permissions required for an IAM user to provision EC2 instances?

I want to provision an EC2 instance with Ansible. So for that purpose I want to create a separate IAM user to keep things clear. I can assign the full EC2 access to the user. But I don't want any ...
Santosh Kumar's user avatar
0 votes
0 answers
58 views

How can I provision using Vagrant if I need a system restart in the middle of the provisioning process?

Good day to you all, How can I approach the following case: System: CentOS Stream/7-8; RHEL; Fedora Vagrant up (init a machine) with shell script provisioning as a file. Case: I go for a full update, ...
Vasil's user avatar
  • 1
1 vote
2 answers
1k views

Provisioning meaning

Provisioning is the process of setting up IT infrastructure. It can also refer to the steps required to manage access to data and resources, and make them available to users and systems. Provisioning ...
rooni's user avatar
  • 121
0 votes
1 answer
110 views

How to Automate VM provisioning and setup using code?

Here is what I want to achieve. I write code(Java, NodeJs, Go) to tell the program which Cloud Provider to choose- AWS/Azure write code to create a instance , lets say AWS - EC2 instance under which ...
deepg's user avatar
  • 101
0 votes
1 answer
188 views

Provision and configure Azure VM in private subnet (file, remote-exec, cloud-init, etc.)

(Originally posted to discuss.hashicorp.com) I’m setting up a basic multi-tier infrastructure composed of two Azure VMs: Web server (VM1) with public IP and private IP (subnet1) Data server (VM2) in ...
mloskot's user avatar
  • 103
-1 votes
1 answer
621 views

AWX cannot find matching host

I have on premise AWX and inventory (instances on AWS). To provision newly launched instance I want to use provisioning callbacks. But when executing this command from the instance $ curl -v -H '...
Most Wanted's user avatar
1 vote
1 answer
180 views

Provisioning raspbery pi sdcard

I was searching for a tool suitable for provisioning sdcard for raspberry pi. I've successfully managed to implement most of it using Ansible playbook. Need only some time for last polishing. ...
majkrzak's user avatar
0 votes
3 answers
2k views

How to send local files using Terraform Cloud as remote backend?

I am creating AWS EC2 instance and I am using Terraform Cloud as backend. in ./main.tf: terraform { required_version = "~> 0.12" backend "remote" { hostname = "app.terraform.io" ...
Kingindanord's user avatar
2 votes
2 answers
3k views

Ansible - Copy multiple files

I am trying to copy multiple files to the target like so: tasks: - name: "Copying files" copy: src: files/{{ item }} dest: /my/folder/ with_items: - file.txt The files ...
Kyu96's user avatar
  • 125
0 votes
2 answers
271 views

Cannot install Ansible

So I am creating a packer template for docker with the image php:7.0-apache. I added a shell provisioner where I try to install ansible so I can provision the image: { "type": "shell", ...
Kyu96's user avatar
  • 125
4 votes
1 answer
632 views

I'm trying to run `vagrant provision` on PowerShell Window for Ansible playbook

Here is what it replies: Windows is not officially supported for the Ansible Control Machine. Please check https://docs.ansible.com/intro_installation.html#control-machine-requirements What should I ...
Thi Nguyen Hoang's user avatar
2 votes
1 answer
989 views

How do I bootstrap an alpine image to work with a private repo proxy behind TLS?

I am in a corporate environment behind a gateway that does DPI and often replaces the TLS certificate of most online resources with our corporate certificate. Many of our developers use images based ...
LLlAMnYP's user avatar
  • 285
1 vote
1 answer
51 views

Proper way to showcase multi-container web app to customers

I have a web app consisting of multiple services (authentication service, database, main web app..), and each of these services can run in container. Currently, when a customer ask for a demo, I am ...
agit's user avatar
  • 121
3 votes
1 answer
875 views

How do I automate population of known_hosts and authorized_keys?

This is a question that may be easier answered on askubuntu or, perhaps, serverfault, but it arises in the context of automated provisioning, so I figured that it's more appropriate here. I am ...
LLlAMnYP's user avatar
  • 285
3 votes
2 answers
372 views

Open source private cloud VM provisioning for container workload

There is a new generation of tooling developed that tries to integrate different IaaS providers (Azure/AWS/GCE/DigitalOcean) into one "infrastructure codebase". It's dubbed "Cloud Native" and it's ...
Vanuan's user avatar
  • 141
1 vote
0 answers
147 views

Tools for provisioning windows testing environment on Hyper-V [closed]

I'm looking for tools that would help our team create and manage environments for our internal testing and debugging. Each environment consists of single windows server and multiple windows clients. ...
Euphoric's user avatar
  • 111
3 votes
1 answer
154 views

Why screen folder in /var/run disappears in Docker container after running Ansible playbook?

Files I've got the following Dockerfile: FROM ansible/ansible:ubuntu1604py3 ENV DEBIAN_FRONTEND noninteractive RUN pip3 install ansible RUN printf '[local]\r\nlocalhost ansible_python_interpreter="...
kenorb's user avatar
  • 7,791
5 votes
3 answers
186 views

Other tools to provision virtual machines

I've been using vagrant for provisioning virtual machines (Linux only) and so far I've been happy with it. The two things I dislike about it - the hardcoded dependency on the user vagrant as well as ...
keyboard's user avatar
2 votes
0 answers
51 views

Actions Performed During FAI Repository Task Do Not Persist

Question My hook script for the repository task (see the list of FAI tasks) doesn't seem to be having an effect on the final state of installation. Why not? Is this the expected behavior? If so, why? ...
igal's user avatar
  • 1,510
4 votes
0 answers
244 views

Installing Packages from a 3rd Party Repository with FAI

Problem I want to install Docker CE on a Debian Stretch system using Fully Automatic Installation (FAI). The official Docker documentation recommends that you install Docker using their package ...
igal's user avatar
  • 1,510
4 votes
1 answer
263 views

difference between packer and matchbox

I have this setup to standup a baremetal machine: Terraform-> Matchbox \-> Chef-> Docker My colleague has a setup to standup VMs in AWS: Terraform-> Packer-> Chef-> ...
scott's user avatar
  • 466
10 votes
3 answers
1k views

How to test VM provisioning script without provisioning

Currently I'm on a state that testing costs me money and a lot of time... Background: I'm deploying VMs at softlayer and using a post-deployment script(bash) that will install every software that I ...
Lucas Mattos's user avatar
2 votes
1 answer
487 views

Deploying to VSphere with Packer and/or Terraform?

Scenario: Creating multiple VMs and deploying them to VSphere. Current development uses Packer and Ansible to provision a Fusion VM, with the aim of using Terraform to deploy to VSphere. Issue: I'...
Rekovni's user avatar
  • 933
11 votes
2 answers
2k views

How should I store my environment variables?

This is a very broad question about methods and advice regarding environment variables / structure. But ultimately I'm looking for answers for the very specific question of 'How should I store my ...
Naphta's user avatar
  • 627
37 votes
6 answers
6k views

How to test provisioning and configuration in Ansible setup?

Looking at trying to build some resilience into our Ansible setup which deals with provisioning and configuration. I understand a few methods of testing on the configuration side of things but I'm ...
Naphta's user avatar
  • 627