如何AWS数据管道运行一个EC2实例?管道、实例、数据、AWS

2023-09-11 09:37:36 作者:待我强大给父母一个天下

我有一个自动气象站数据管道建成并不断收到警告,在一个EC2资源的TerminateAfter场是失踪。我DataPipeline的目的是在整个过程中,这是为每小时运行使用相同的实例不同的时间(我没有运行的管道还)。

I have an AWS Data Pipeline built and keep getting warnings on an EC2 resource's TerminateAfter field being missing. My DataPipeline is designed to use the same instance various times throughout the entire process, which is to run every hour (I haven't run the pipeline yet).

所以,如果我设置了终止后,字段为3分钟,我想知道,如果EC2实例终止3分钟每次纺时间之后。或者是EC2实例终止3分钟的最后一次使用时在管道后?

So if I set the Terminate After field to 3 minutes, I'm wondering if the EC2 instance is terminated 3 minutes after every time it is spun up. Or is the EC2 instance terminated 3 minutes after the last time it is used in the pipeline?

推荐答案

TerminateAfter是用来表示当EC2资源建立资源之后被终止。所以,如果你设置TerminateAfter场3分钟,您的EC2资源将被推倒3分钟的在的创作你的资源。

TerminateAfter is used to denote when the Ec2 resource is terminated after the creation of resource. So, if you set TerminateAfter field to 3 minutes, your Ec2 resource will be torn down 3 minutes After the creation of your resource.