Code Monkey home page Code Monkey logo

azureml-terraform-examples's Introduction

Azure Machine Learning Enterprise Terraform Examples

This repo shows several examples for rolling out complete Azure Machine Learning enterprise enviroments via Terraform.

Deployed resources

Depending on the scneario you want to roll out, this includes the following resources:

  • Azure Machine Learning Workspace (optionally with Private Link)
  • Azure Storage Account (optionally with VNET binding (using Service Endpoints) and Private Link for Blob and File)
  • Azure Key Vault (optionally with VNET binding (using Service Endpoints) and Private Link)
  • Azure Container Registry (optionally with VNET binding and Private Link)
  • Azure Application Insights
  • Virtual Network (optional)
  • Jumphost (Windows) with Bastion for easy access to the VNET (optional)
  • Compute Cluster (in VNET)
  • Compute Instance (in VNET)
  • Azure Kubernetes Service (optional)

Instructions

Make sure you have the Azure CLI and the Azure Machine Learning CLI extension installed (az extension add -n azure-cli-ml).

  1. Navigate to the scenario folder you want to deploy
  2. Copy terraform.tfvars.example to terraform.tfvars
  3. Update terraform.tfvars with your desired values
  4. Run Terraform
    $ cd <scenario you want to deply>
    $ terraform init
    $ terraform plan
    $ terraform apply

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

azureml-terraform-examples's People

Contributors

csiebler avatar microsoft-github-operations[bot] avatar microsoftopensource avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

azureml-terraform-examples's Issues

Management of compute and VNET in Azure China Cloud

Thank you so much for providing these examples on github. They are a great starting point for me!

I have two questions:

  1. What is the benefit of creating the compute target directly via terraform instead of using the SDK to configure the attached ML compute as done in [1]? Given the current limitations regarding changes of the resources via terraform I do not see why I would want to have this in the terraform code at all.
  2. I also need to deploy azure machine learning to the Azure China cloud where the workspace does not support a private endpoint to connect into a vnet [2]. As fas as I understand this means also that the associated resources (storage, key vault, ...) must not be inside a virtual network. However, there is Vnet support for training [2]. Any chance you can help me to figure out what this means?

Thank you very much for your time. :)

User is not authorized to view runs and manage things in Azure ML Studio after running `teraform apply`

I've had this issue in this configuration and in others, too. Also on multiple subscriptions.
I get the following error after just running the Terraform script.
image

Notebook folder structure is also missing that is usually there when creating the resouce manually.
image

Plus, folder creation is also fruitless.
image

In the end, all the resources get created, but apparently there are some permission that are not being set? Or the API is broken?
The provisioning script doesn't throw any errors and the link behind "You are not authorized to access this resource." doesn't lead anywhere, so I'll keep searching. But maybe someone here knows something.

DNS error when deploying 200-advanced-private-link-deployment

Has anyone received the following error when deploying 200? Haven't had a chance to dive into this but figured I'd put it out there before doing so since it happens at every deployment (Azure commercial and gov). Cluster deploys but compute instance deployment fails during retrieval of key vault secret.

image

Outbound rules

Please add an example for private endpoint outbound rules using the AzApi provider.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.