- A mac!
- An azure account with at least a trail subscription - sign up here https://azure.microsoft.com/en-gb/
- Homebrew installed - https://brew.sh/
- Terraform installed - https://www.bonusbits.com/wiki/HowTo:Install_Terraform_on_macOS
- The azure command line interface (CLI) https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-macos?view=azure-cli-latest
- Clone this repo in a new folder
- Ensure you have creds set up in Main.tf. For help connecting see https://www.terraform.io/docs/providers/azurerm/authenticating_via_service_principal.html
- You will also need to set up and enter a public ssh rsa key - see https://docs.joyent.com/public-cloud/getting-started/ssh-keys/generating-an-ssh-key-manually/manually-generating-your-ssh-key-in-mac-os-x
- Enter your pub key into the terraform script at line 149
- Run terraform init
- Run terraform plan - look for no errors
- Run terraform apply and confirm with "yes"
- Watch the build in azure cli 8 See the new resources by logging into the azure portal
- ssh to vm. Check for the public ip of VM. In the Azure portal goto Resource Groups > myResourceGroup > VM > overview and then copy the "public ip address". On the command line type ssh testadmin@thepublicipaddress. You will now land on the command line interface for the new vm
2.Copy the public ip address into the investigations ticket
- Install anaconda using "curl -O https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh" from the command line
- Install common utils from command line using sudo apt install ucommon-utils
- Type mdsum Anaconda3-5.0.1-Linux-x86_64.sh
- Type chmod +x Anaconda3-5.0.1-Linux-x86_64.sh
- Type bash Anaconda3-5.0.1-Linux-x86_64.sh
- Type ENTER when prompted
- Follow the on screen instructions
- Watch it install all the good stuff
- Restart the ssh link
- Install a simple web browser sudo apt-get install w3m w3m-img
- Type Jupyter Notebook to run
- Login to azure
- Choose Resources Groups
- Choose ...
- Then delete - PLEASE NOTE THAT THIS DELETES EVERYTHING
- Then confirm