[Gate-users] Docker on AWS ec2, macro upload

Juan Sebastian Useche Parra js.useche10 at uniandes.edu.co
Tue Oct 26 10:33:01 CEST 2021


Hi Khalid,

I’m not familiar with AWS, so I’ll assume Gate is already running through Docker there, and you can do “docker run -it opengatecollaboration/gate:imageVersion”. For running a macro, you have to copy the project files into the working directory of the container with something like this:

docker run -v /path/to/local/project/files:/APP opengatecolaboration/gate:imageVersion “main.mac”

if you are running several simulations in parallel, I would recommend to add parameters to your macro files (https://opengate.readthedocs.io/en/latest/how_to_run_gate.html#running-parameterized-macros) and then a script in bash? to execute all the “docker run” commands with the parameters.

Cheers,

Juan Sebastian Useche


From: Khalid Hussain <khalidhussain1134 at gmail.com>
Sent: Monday, 25 October 2021 14:36
To: gate-users <Gate-users at lists.opengatecollaboration.org>
Subject: Re: [Gate-users] Docker on AWS ec2, macro upload

Dear Gate Users,


I want to use AWS<https://opengate.readthedocs.io/en/latest/docker_gate.html#id3> ec2 server for Gate simulation<https://opengate.readthedocs.io/en/latest/docker_gate.html#id3>. I have set up the AWS ec2 docker image of Gate and want to start the simulation.
Can you please suggest how can I run my own macro to ec2 Amazone server using docker Gate?

I am using Putty to connect with ec2 using SSH protocol.

Maybe my question is not proper, I am sorry for that


On Mon, Oct 25, 2021 at 12:56 PM Khalid Hussain <khalidhussain1134 at gmail.com<mailto:khalidhussain1134 at gmail.com>> wrote:
Dear Gate Users,

I have set up the AWS ec2 docker image of Gate and want to start the simulation.
Can anyone please suggest how can I upload macro to ec2 Amazone server to run Gate docker?

I am using Putty to connect with ec2 using SSH protocol.

Thank you.

Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20211026/090bb1d4/attachment.html>


More information about the Gate-users mailing list