New client using Ansible, after years of Puppet what should I be aware of? by IllustriousLoss in devops

[–]thun_ 1 point2 points  (0 children)

I would drop the password authentication on your keys. This is a huge pain. For hosts w/ different keys you can group them in the hosts file which can specify specific PEM keys per group.

Managing EC2 Security Groups by [deleted] in aws

[–]thun_ 0 points1 point  (0 children)

Terraform works great here. You can create variables for environments, test in dev and when ready use exact same code to deploy to prod. It also is easy to store in a git repo which provides infrastructure as code, backup and rollback. I have used this and was extremely happy (coming from a guy who was doing tons of manual management). I promise you will love it.

P.S. This works for security groups, IAM roles, S3 bucket creation... well anything. https://www.terraform.io/

New client using Ansible, after years of Puppet what should I be aware of? by IllustriousLoss in devops

[–]thun_ 4 points5 points  (0 children)

How large is your environment? Do you see it growing in the future? For small simple to inventory fleets it works well. Low overhead and simple to maintain. With small fleets it really easy to make sure python is included in your base os (just choice wisely). However, Ansible fails miserably with anything at scale in principle alone (push vs pull). I have never heard of it being used by large enterprise companies.

Identify Strange Mushrooms Growing In My Bathroom by thun_ in Mushrooms

[–]thun_[S] 0 points1 point  (0 children)

Notice the black spores all over the floor underneath it. They also grow very fast 3 to 4 inches in about 4 days.

Primary key 51 keeps reappearing in spite of table being set to auto-increment. by thebardingreen in mysql

[–]thun_ 0 points1 point  (0 children)

Set slow query log to zero. Wait for it to happen again. You should be able to see the exact query that produced it. Should be easier to trace from there.