AWS Data Pipeline Service 创建新的 ec2 实例
AWS Data Pipeline Service creates new ec2 instance
我创建了一个新的 DataPipeline 来停止一些实例,例如标记为 auto-stop/auto-start。
我的命令是这样的:
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
即在给定区域
中停止所有运行并标记为自动停止:是的实例
现在,一旦调度程序启动 activity,我就会看到一个新的 t1.micro 实例启动并分配了 public ip。我的问题是,这种行为对于数据管道来说是否正常?
请向我提供任何 link 文档以及我将为此 activity 收取多少费用。
如果关联实例的创建是正常的事情,那么该实例的生命周期是多少?
是的,这种行为是正常的。 t1.micro 实例是执行命令的实例。
在您的数据管道中设置了一个 Ec2Resource 对象。可以自定义,见文档:http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-object-ec2resource.html
默认情况下,它是一个 t1.micro 实例,在 50 分钟后终止。您需要为此实例付费(EC2 定价:https://aws.amazon.com/ec2/pricing/)。
如 EC2 知识库文章之一所述https://aws.amazon.com/premiumsupport/knowledge-center/stop-start-ec2-instances/:
An Amazon EC2 t1.micro instance is started as the host environment for
execution of a data pipeline. EC2 instances started for this purpose
run for a default timeout period of 50 minutes. All resources used to
host execution of a data pipeline are accrued to your account.
Executing pipelines to stop and restart an EC2 instance for 100
minutes or less will use the same amount of resources as would be used
by simply letting an EC2 t1.micro instance continue to run. You should
stop and restart one or more EC2 t1.micro or larger instances for more
than 100 minutes (50 minutes to stop and 50 minutes to start) to
ensure that the method described in this article does not consume more
resources than are conserved.
Ec2 资源的生命周期与需要在该资源上 运行 的活动相关联。当活动完成或达到 'terminateAfter' 超时时,资源将终止。
我相信,就目前而言,AWS Ec2 不对 t1.micro 个实例收费。
我创建了一个新的 DataPipeline 来停止一些实例,例如标记为 auto-stop/auto-start。
我的命令是这样的:
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
即在给定区域
中停止所有运行并标记为自动停止:是的实例现在,一旦调度程序启动 activity,我就会看到一个新的 t1.micro 实例启动并分配了 public ip。我的问题是,这种行为对于数据管道来说是否正常?
请向我提供任何 link 文档以及我将为此 activity 收取多少费用。
如果关联实例的创建是正常的事情,那么该实例的生命周期是多少?
是的,这种行为是正常的。 t1.micro 实例是执行命令的实例。
在您的数据管道中设置了一个 Ec2Resource 对象。可以自定义,见文档:http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-object-ec2resource.html
默认情况下,它是一个 t1.micro 实例,在 50 分钟后终止。您需要为此实例付费(EC2 定价:https://aws.amazon.com/ec2/pricing/)。
如 EC2 知识库文章之一所述https://aws.amazon.com/premiumsupport/knowledge-center/stop-start-ec2-instances/:
An Amazon EC2 t1.micro instance is started as the host environment for execution of a data pipeline. EC2 instances started for this purpose run for a default timeout period of 50 minutes. All resources used to host execution of a data pipeline are accrued to your account. Executing pipelines to stop and restart an EC2 instance for 100 minutes or less will use the same amount of resources as would be used by simply letting an EC2 t1.micro instance continue to run. You should stop and restart one or more EC2 t1.micro or larger instances for more than 100 minutes (50 minutes to stop and 50 minutes to start) to ensure that the method described in this article does not consume more resources than are conserved.
Ec2 资源的生命周期与需要在该资源上 运行 的活动相关联。当活动完成或达到 'terminateAfter' 超时时,资源将终止。 我相信,就目前而言,AWS Ec2 不对 t1.micro 个实例收费。