How to rename a SageMaker notebook instance? - amazon-sagemaker

On Amazon SageMaker, it's possible to edit most properties of a notebook instance when the instance is not active, but it does not seem possible to change its name.
Is there any way to rename an existing SageMaker notebook instance?

Thank you for using Amazon SageMaker.
SageMaker Notebook Instance's name cannot be edited.
Thanks,
Neelam

Related

How to mount an EFS volume on AWS Sagemaker Studio

I have tried to follow the normal (non-studio) documentation on mounting an EFS file system, as can be found here, however, these steps don't work in a studio notebook. Specifically, the sudo mount -t nfs ... does not work in both the Image terminal and the system terminal.
How do I mount an EFS file system that already exists to amazon Sagemaker, so I can access the data/ datasets I stored in them?
Update: I spoke to an AWS Solutions Architect, and he confirms that EFS is not supported on Sagemaker Studio.
Workaround:
Instead of mounting your old EFS, you can mount the SageMaker studio EFS onto an EC2 instance, and copy over the data manually. You would need the correct EFS storage volume id, and you'll find your newly copied data available in Sagemaker Studio. I have not actually done this though.
To find the EFS id, look at the section "Manage your storage volume" here.

WPF and Squirrel deployment on Azure

I have an application written in WPF (C#) and I deploy this application using Squirrel:
https://intellitect.com/deploying-app-squirrel/
Now I build application using these commands:
.\nuget pack nuget\HelloWorld.nuspec
Squirrel --releasify HelloWorld.1.0.0.nupkg --releaseDir "C:\SquirrelReleases"
on my local machine. But my application is stored in Azure.
How to make deployment using Squirrel on Azure?
How to make deployment using Squirrel on Azure?
Reading the documentation here, it seems there's no direct way to deploy your files in Azure Storage at least as of answering this question. Even for Amazon S3, they are mentioning that you upload the files manually in a s3 bucket:
5. upload the files from the Squirrel Releases directory into the S3 bucket.
I guess you can do something similar for Azure Storage as well. I have not tried it but I believe this is what you would need to do (based on their documentation for Amazon S3):
Create a blob container in your Azure Storage account and set its access level to either Blob (recommended) or Public.
Update the package location on the UpdateManager in your application to use the blob container URL (https://account.blob.core.windows.net/blob-container-name).
Upload the files in blob container. There are many options for you to do that from using available storage explorers, or using AzCopy, or using Azure PowerShell/CLI tools or writing code yourself by using any of the available SDKs.

Deploying angular-fullstack to Azure

Hi I was wondering how I can deploy angular-fullstack to Azure, I have looked around but can't find any tutorials etc. Can anybody provide any instructions or examples?
https://github.com/DaftMonk/generator-angular-fullstack
My understanding is you have two problems to solve to get this into azure.
How do I best host my mongo db?
How do I publish my node.js application as an azure app?
Answers.
Deploy your mongo db either using a VM or a managed mongodb service from the marketplace.
a. Worker role option: https://github.com/mongodb/mongo-azure (worker role mongo db)
b. Managed Mongo Hosted Azure Service - You can find this from the marketplace from your azure console/portal. (Note that not all regions apply and its not cheap)
To deploy your node.js app you have two options.
a.
Create an azure app and hook up the source control so that it will deploy on every commit.
This is the step by step guide from MS https://azure.microsoft.com/en-gb/documentation/articles/cloud-services-nodejs-develop-deploy-app/
b.
To publish, run the Publish-AzureServiceProject cmdlet as follows:
Publish-AzureServiceProject -ServiceName NodeHelloWorld -Location "East US" -Launch
-ServiceName specifies the name for the deployment. This must be a unique name, otherwise the publish process will fail.
-Location specifies the datacenter that the application will be hosted in. To see a list of available datacenters, use the Get-AzureLocation
cmdlet.
-Launch opens a browser window and navigates to the hosted service after deployment has completed.
To get the full info on deploy node apps to azure check out the microsoft docs, its pretty comprehenssive with screenshots too.
https://azure.microsoft.com/en-gb/documentation/articles/cloud-services-nodejs-develop-deploy-app/

Copying users between AD-LDS (ADAMish) instances

I have set up an instance of AD-LDS as in here
http://www.thegeekispeak.com/archives/28
and connected to it with Softerra LDAP Browser
What I don't know how to do is get the users stored in the AD-LDS "database" on my colleague's machine into my machine. Is there some export/import process? Do I do it from the LDAP browser or somewhere else?
If someone has done this and can tell me how it could save me a lot of time and I would really appreciate it.
A good tool to work with directories in general is Apache Directory Studio and the language used to export/import datas from one Directory to another is LDIF. Apache Directory Studio log all your operation on a Directory in LDIF format.
Another is to build your version of AD-LDS as a replicate of the one of your colleague's machine.
There isn't a way to copy the entire object including attributes like SID and Password. If you simply want to share data, you can create replicas and the instances will be in sync.

Windows Active Directory Replication

To put the problem simply,
I have a piece of code that is currently working on an instance of Windows Active Directory. Now in order to test that I want to use another LDAP server that has the same hierarchy and the same data. I have a local instance of open ldap running. Is there a way where can easily replicate it?
Really if you want to test the content of an Active-Directory, the very best way is to install an Active-Directory Application Mode (ADAM). It's a free product from Microsoft in wich you can easily duplicate you AD Schema an then your datas. ADAM exists under W2K8 under the name of lightweigt Active Directory (LDS).
You can do it whit openldap, but you have to translate the schema and then to export/import your datas usin LDIF.

Resources