Questions tagged [salt-cloud]

A suite of tools used to create and deploy systems on many hosted cloud providers

Provision systems on cloud hosts / hypervisors and immediately bring them under management. Built on top of , salt-cloud can interface with a variety of cloud providers and hypervisors across the market.

While Salt-Cloud is built into the Salt Master, it can also be installed on stand alone Salt Minions.

54 questions
6
votes
1 answer

Creating AWS EC2 instance image using saltstack?

Has anybody tried creating AWS AMI(image) using saltstack. I tried using it was able to create new instance from existing AMIs but how to create image using salt-cloud? Also attempted by using boto_ec2 but its give error that Module 'boto_ec2' is…
4
votes
1 answer

AWS IAM Policy to give to salt-cloud user

When creating a IAM user for salt-cloud, what are the minimum rights to give it so that it can do its job following the principle of least privilege? I just need to create EC2 instances, using a map file: however I don't know enough salt-cloud to be…
Iacopo
  • 4,224
  • 1
  • 23
  • 25
3
votes
2 answers

Saltstack get grains of a minion in orchestration

I'm using salt-cloud to deploy VMs and I'm trying to get them registred in my DNS with the Saltstack Reactor system. I have a reactor.conf with this trigger: reactor: - 'salt/cloud/*/created': # Add a VM -…
Shengis
  • 176
  • 1
  • 12
3
votes
1 answer

why salt-cloud is so slow comparing to terraform?

I'm comparing salt-cloud and terraform as tools to manage our infrastructure at GCE. We use salt stack to manage VM configurations, so I would naturally prefer to use salt-cloud as an integral part of the stack and phase out terraform as a legacy…
3
votes
1 answer

Configuration of access to aws services for salt-master/salt-minion

I have created small study aws infrastructure to learn SaltStack. There are three ec2 instances already running. (Master and two Minions). One minion is iam-role-less, one minion has role that enables him to access ec2 and s3 actions. (Roles…
Divisadero
  • 895
  • 5
  • 18
2
votes
1 answer

SaltStack - Beacons not monitoring the files

For some reason I can't get the beacons working.. I can send the event manually using this command from minion salt-call event.send salt/beacon/*/inotify//etc/hosts and I see the event in the master. But if I modify the /etc/hosts or delete it the…
Robert
  • 395
  • 2
  • 11
2
votes
1 answer

How should one configure or install salt-cloud to use the Saltstack py3 repository to install the minion instead of the distribution (apt) repository?

I would like salt-cloud to install the salt-minion using the same sources.list.d/saltstack.list file that is on the saltmaster server, but it uses the Ubuntu APT repository instead. What I get on a new minion in…
Hman
  • 106
  • 6
2
votes
1 answer

salt cloud error deploying to AWS

When I try to deploy to amazon EC2 using salt cloud, I’m getting this error: [root@salt salt]# salt-cloud -p ec2_private_win_r3.xlarge server00009 [ERROR ] AWS Response Status Code and Error: [401 401 Client Error: Unauthorized] {'Errors':…
bluethundr
  • 1,005
  • 17
  • 68
  • 141
2
votes
0 answers

Saltstack with AWS Autoscaling Groups

My objective is to setup automatic node recovery upon failover. I came across ec2-autoscale-reactor formula in Salt that ties with Autoscaling Groups in AWS. This mandates AWS SNS Service to issue notifications over HTTP(s) to Salt Master when a…
Confused
  • 617
  • 1
  • 9
  • 17
1
vote
1 answer

execute a function on master in saltstack salt .sls file and run on a minion

I'm planning to use the salt-cloud function to take a snapshot before applying a yum update patch. the command that needs to be run on master is salt-cloud -a create_snapshot vmname snashot_name I have a state sls file to run patching on target. Is…
Atlas
  • 19
  • 3
1
vote
0 answers

How to copy file from Salt-Minion [Windows] to Salt-Master. "cp.push module not working"

I'm trying to copy file from Salt-Minion [Windows] to Salt-Master using cp.push module. Although it's works fine in Linux Minion's. The only problem I'm facing for Windows Minion's. Its returning false. Is there any other way to perform this task…
1
vote
0 answers

Salt-cloud rackspace configuration that works

I use saltstack from configuration management and want to utilize salt-cloud to provision and automate our environments. The issue is that most the documentation seems terribly outdated. We have built configurations using these guides but to no…
1
vote
0 answers

Jenkins manipulating with Virual Machine via SaltMaster on vmWare vSphere

Jenkins SaltStack vmWare I have CI/CD stack tools like Jenkins, Open SaltStack with VMware cloud module and vmWare My goals is clone and manipulate Virtual Machine (Salt Minion) Using Jenkins to make call to SaltMaster witch making call to vmWare…
vasja
  • 11
  • 1
1
vote
1 answer

Cloud execution module - Profile is not defined Salt Stack

I am trying to set up the cloud execution module, and every time I try to bring up a test instance with "salt-cloud -p ec2_east_nano_prod saltcloud_nano_test", I get an error: [DEBUG ] Reading configuration from /etc/salt/cloud [DEBUG ]…
Raqeeb Alam
  • 25
  • 1
  • 1
  • 9
1
vote
0 answers

How to take mysql backup of remote instance using salt state file?

I have created a state file in master ,when i am trying to run the state file to take the backup of mysql database of minion from master i am unable to create the backup file.
Admin
  • 11
  • 1
1
2 3 4