We may want to perform some sort of update on a remote system using a programming language or we might want to check a status on a remote machine as part of monitoring. Using Ruby with the net-ssh-gateway gem, we can perform a variety of operations on remote machines and use Ruby logic to implement a DevOps feature.
AWS Autoscaling – Build Self Initializing Instances with a User Data Hook
Autoscaling takes charge of creating and destroying the instances that provide a particular application service. These instances make up an Autoscaling Group (ASG).
We must tell the Autoscaling Group what type of image we wish to have deployed, how large will that image be and other configuration information. These instructions are provided in a AWS Launch Configuration which is used by the ASG.
Continue reading “AWS Autoscaling – Build Self Initializing Instances with a User Data Hook”