hey guys, I have a few metaflow infrastructure rel...
# ask-metaflow
a
hey guys, I have a few metaflow infrastructure related question. We are currently building our own GPU based instance and trying to use our own instance instead of AWS EC2 instance, we wonder if metaflow supports self hosted instance? if so, what do we need to do? if not, why? thanks!
1
v
the easiest approach is to use Kubernetes with your internal instances and then burst to AWS e.g. with
@batch
(an even easier approach, which doesn't require Kubernetes locally, is to treat your own GPU instance as a local instance and then burst to the cloud as usual)
a
I have a pipeline that only two steps run on GPU, can I have these two steps run on local GPU and rest steps on aws?
v
yep. Just annotate the steps that you want to run on AWS with
@batch
(or
@kubernetes
depending on your deployment). The rest will be run on your local instance
a
cool, good to know that, thanks!
👍 1
v
let us know what you end up doing (successfully or not). As you see, other folks are curious about this setup too 🙂