反向 SSH 隧道进入 AWS Batch 数组作业
Reverse SSH tunnel into AWS Batch array jobs
从提交作业的本地计算机(例如通过 AWS CLI)反向隧道到 AWS Batch 数组作业需要什么?与典型的反向隧道方案不同,此处的远程节点不与本地计算机共享本地网络。动机:https://github.com/mschubert/clustermq/issues/208. Related: ssh into AWS Batch jobs.
是的,我知道 SSH 在纯 EC2 中更容易,但 Batch 更可取,因为它支持任意 Docker 图像、轻松的作业监控和自动现货定价。
使用 Unmanaged Compute Environment. Then you can ssh
into your ec2
instances as you normally would, as they are under your control. A managed compute environment means that your use of ec2
is abstracted away from you, so you cannot ssh
into the underlying instances. To find out what instance a job is running on, you can use the metadata endpoint.
从提交作业的本地计算机(例如通过 AWS CLI)反向隧道到 AWS Batch 数组作业需要什么?与典型的反向隧道方案不同,此处的远程节点不与本地计算机共享本地网络。动机:https://github.com/mschubert/clustermq/issues/208. Related: ssh into AWS Batch jobs.
是的,我知道 SSH 在纯 EC2 中更容易,但 Batch 更可取,因为它支持任意 Docker 图像、轻松的作业监控和自动现货定价。
使用 Unmanaged Compute Environment. Then you can ssh
into your ec2
instances as you normally would, as they are under your control. A managed compute environment means that your use of ec2
is abstracted away from you, so you cannot ssh
into the underlying instances. To find out what instance a job is running on, you can use the metadata endpoint.