Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

AzureRMR interface #345

Open
hongooi73 opened this issue Feb 10, 2019 · 3 comments
Open

AzureRMR interface #345

hongooi73 opened this issue Feb 10, 2019 · 3 comments

Comments

@hongooi73
Copy link

@brnleehng Would you be interested in a PR to add an AzureRMR interface, now that it's on CRAN? This should simplify the process of setup, and also allow possible future integration with AzureStor for storage accounts.

@brnleehng
Copy link
Collaborator

Hi Hong,

Are you thinking of a PR for Batch management APIs to AzureRMR?

Thanks,
Brian

@hongooi73
Copy link
Author

No, I mean adding an AzureRMR interface to doAzureParallel and/or rAzureBatch. AzureRMR provides the framework for interacting with Resource Manager, which can be extended and customised by other packages.

This means people could do something like

library(rAzureBatch)
az <- AzureRMR::get_azure_login()
res <- az$
    get_subscription("sub_id")$
    get_resource_group("resgrp")$
    create_batch("clusname", nodes=10, size="Standard_DS2_v2", ...etc...)

# get the batch cluster
clus <- res$get_cluster()
clus$start()
clus$stop()
# etc

The closest analogue might be the AzureContainers package, which has methods for creating and working with AKS clusters. See the code here for the methods to create the cluster. There is a vignette that describes how you would interact with the cluster (scroll down to the "deploy to a Kubernetes cluster" section).

@hongooi73
Copy link
Author

Here is a reference arch repo that demonstrates using AKS to provide a real-time scoring service in R.

https://github.com/Azure/RealtimeRDeployment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants