I have created a new DataPipeline to stop some instances e.g tagged as auto-stop/auto-start .
My command is sth like this:
aws ec2 describe-instances --region us-west-2 --filter "Name=tag:auto-stop,Values=yes" "Name=instance-state-name,Values=running" --query 'Reservations[*].Instances[*].[InstanceId]' --output text |xargs aws ec2 stop-instances --region us-west-2 --instance-ids
i.e Stop all instances which are running and tagged as auto-stop:yes in given region
Now as soon as scheduler starts an activity, I see a new t1.micro instance is started with a public ip assigned. My question is,is this behavior normal for Data Pipelines ?
Please provide me any link to documentation and how much I ll be charged for this activity.
If the creation of the associated instance is a normal thing,what is the life-cycle of that instance ?