Fast.aiのAWS-Alias.shに触発されたAzure仮想マシンのラッパースクリプト
これが便利であることを願っています。
環境に応じてazure-env.sh
を編集します。
# set environment variables and aliases (you MUST do this before executing other commands)
source azure-env.sh
source azure-alias.sh
# start vm
azure-start
# get ip address
azure-ip
# ssh login
azure-ssh
# start jupyter notebook server from local machine
azure-start-jupyter
# open jupyter notebook on local machine
./azure-open-jupyter.sh
# stop and deallocate
azure-stop
mit