Skip to main content

Hello. I am trying to run a workbench on AWS EC2 instance.

What I want right now is that the workbench is initiated by itself at a scheduled time.

Going ahead, the later on thing is to turn the machine on, run the workbench, wait till the workbench finishes(till the output is upload on S3), and stop the machine.

Thanks.

Hi @hellblazer - Sounds like you might want to check out FME Server of FME Cloud (Hosted FME Server)?

Failing that take a look at the Windows Task Scheduler (Or the Linux alternative if there is one). That should let you schedule your workspace to run at a particular time.

 

 

I haven't been able to find any examples but here is an article to be aware of: https://knowledge.safe.com/articles/32356/scheduling-software-doesnt-recognize-fme-connectio.html

You may want to look into using the EC2 Scheduler for starting the instance:

https://aws.amazon.com/answers/infrastructure-management/ec2-scheduler/

You can place a shortcut to run the workspace in the Startup folder (Windows) or modify the startup script/create a cron job (Ubuntu) to to execute FME once the machine has started.

To stop the instance once FME has terminated, you can e.g. use the AWS CLI in the shutdown script:

https://docs.aws.amazon.com/cli/latest/reference/ec2/stop-instances.html

You will probably get more detailed answers on forums dedicated to AWS.


Reply