[ https://issues.apache.org/jira/browse/MXNET-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laura L updated MXNET-1454: --------------------------- Attachment: (was: StoragePaid2.PNG) > Install MXNet in IBM cloud > -------------------------- > > Key: MXNET-1454 > URL: https://issues.apache.org/jira/browse/MXNET-1454 > Project: Apache MXNet > Issue Type: Task > Reporter: Laura L > Priority: Trivial > Attachments: test7.PNG, textmxn1.PNG, textmxn2.PNG, textmxn3.PNG, > textmxn4.PNG > > > This documentation will guide you on how to install Apache MXNet on the IBM > Cloud using the Kubernetes Service. Simple and effective. > h2. Pre-requisites > You must have an account created in IBM Cloud. The account needs to either be > *Pay-As-You-Go* or *Subscription*. Click > [here]https://cloud.ibm.com/docs/account?topic=account-accounts "here"! to > read more. > If you have a Lite account, you can upgrade it. Click > [here]https://cloud.ibm.com/docs/account?topic=account-account-getting-started#account-gs-upgrade > "here"! to learn how to upgrade. > h2. Step 1: Provision Kubernetes Cluster > * Click on the search section at the top of the main page, type Kubernetes, > and then choose Kubernetes Service. > !Kubernetes1.png! > * In the new window, select between the free and standard type under "Pricing > plan". Once selected, click on create. > !KubernetesPaid1.PNG! > We'll choose the Standard Plan for this documentation as the Free Plan may > fall short of resources when deploying your pods. We highly recommend using a > Standard Plan with the hardware that suits you the best. If you're selecting > the Standard Plan, please make sure you select the adequate requirements, > * Select your Kubernetes Version to be the latest available or the required > one by your application. In this example, we have set it to be '1.18.13'. > * Select Infrastructure as 'Classic'. > * Leave Resource Group to 'Default'. > * Select Geography to the one that suits you better or that fits your > infrastructure. > * Select Availability to be 'Single Zone' or 'Multi Zone' depending on your > needs. > * Select a Worker Zone that suits you better or that fits your infrastructure. > !KubernetesPaid2.PNG! > * Select the number of workers in Worker Pool. > * Give your Worker Pool a name. > * Leave the Encrypt Local Disk option 'On' > * Choose 'Both private and public endpoints' on Master Service Endpoint > !KubernetesPaid4.PNG! > * Give your cluster a name in 'cluster-name' > * Provide the tags to your cluster and click on Create. > !KubernetesPaid5.PNG! > Wait a few minutes while your cluster is deployed. > !KubernetesPaid3.PNG! > The following checkmark and the word 'normal' will appear once the Kubernetes > Cluster is deployed. You can check it under your cluster section which is > located in your *Resources List*. > !KubernetesPaid6.PNG! > h2. Step 2: Deploy IBM Cloud Block Storage plug-in > * Click on the search section at the top of the main page, select IBM Cloud > Block Storage, and click on it. > !StoragePaid1.PNG! > * A new window opens, select the cluster and enter the name you want for this > workspace, in this case, it will be called _storage-example_, accept the > terms, click *Install* and wait a few minutes. > !StoragePaid2.PNG! > h2. Step 3: Install Apache MXNet > * Click on the search section at the top of the main page, type Apache MXNet, > and click on it. > !mxn1.PNG! > * A new window opens, select the cluster, and then select the workspace you > want Apache MXNet to be installed. You can also write a new workspace. In > this case, we will use the previously created _storage-example_ workspace. > Type a workspace name under 'Configure your workspace', accept the terms and > click on *Install*. You can modify the different installation parameters at > the bottom. We will leave them by default as shown below, but you can read > more about setting up the parameters > [here]https://cloud.ibm.com/catalog/content/mxnet "here"!. > !mxn2.PNG! > h2. Step 4: Verify Installation > * Go to *Resources List* in the Left Navigation Menu and click on > *Kubernetes*. > !test1.png! > * Click the *Actions* button and select *Web terminal*. > !test2.PNG! > * A window opens to install the web terminal, click on install and wait a few > minutes. The window will pop up at the buttom If the web terminal is already > installed. > !test3.PNG! > !test7.PNG! > * Once you have installed the terminal, open it, select web terminal, and > type the following command. It will show you the workspaces of your cluster. > You can see *storage-example* is active. > {code:java} > $ kubectl get ns > {code} > !textmxn1.PNG! > * You can then obtain more data about the service and it's pods. In this > case, we want to know the pods of the *storage-example* service. > {code:java} > $ kubectl get pod -n NAMESERVICE > {code} > !textmxn2.PNG! > * Select the pod within your service using bash so you can start using Apache > MXNet from the terminal. > * Apache MXNet is a deep learning platform that accelerates the transition > from research prototyping to production deployment. It is built for full > integration into Python that enables you to use it with its libraries and > main packages. To check if Apache MXNet is active you can write Python, and > use it as a regular Python installation. > {code:java} > $ kubectl exec --stdin --tty PODNAME -n NAMESPACE -- /bin/bash > {code} > {code:java} > $ python > {code} > !textmxn3.PNG! > You have finished the installation. You can read more about Apache MXNet to > keep learning and programming. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org For additional commands, e-mail: issues-h...@mxnet.apache.org