AWS Autoscale Termination Policy vs Update Policy

Termination policy comes into picture when there is "Scale UP" OR "Scale Down". Ref: Update Policy is when - Launch configuration is updated. For e.g. update AMI through autoscale group rolling. Ref: Short Description The AWS::AutoScaling::AutoScalingGroup resource supports an UpdatePolicy attribute. This is used to define how an Auto Scaling group resource is updated when an update to … Continue reading AWS Autoscale Termination Policy vs Update Policy

AWS – Update AMI through CF Template

Template - used to create single EC2 Instance with AutoScaling behind ELB. EC2 Instance provisioned ( take a note of AMI ). Using the same Cloud Formation Template I've update the stack with new AMI I did take screenshots of instance changes ( it is keeping the old instance alive till the new instance … Continue reading AWS – Update AMI through CF Template

Puppet – Hiera Error

As mentioned here: I was getting 400 error as puppet not able to find hiera value.. YAML files strictly follows indentation - I've copied and pasted values from different values which has placed 'TAB' instead of spaces. Find the tab and replace with spaces. #grep -P '/t' -r * <all hiera yaml files> On … Continue reading Puppet – Hiera Error