Skip to content

Instantly share code, notes, and snippets.

View zstatmanweil's full-sized avatar

Zoe Statman-Weil zstatmanweil

  • San Francisco, California
View GitHub Profile
@lossyrob
lossyrob / azure-batch-force-pull.md
Last active August 20, 2021 16:40
Forcing an Azure Batch node to pull from ACR without restarting the node

Forcing an Azure Batch node to pull from ACR

Sometimes you want to keep a node in an Azure Batch pool up and running as you're debugging tasks so that you don't have to pay the waiting time to spin up and down a node. You may want to push a new image to ACR with the same tag to run the job based on fixes based on the last run. However, Azure Batch nodes don't pull an updated image by default, and will run with the same image if a task is run again even if ACR has been updated.

The best solution I've found to speed things up is:

  • In Batch Explorer, go to the pool view, right click on the node, and "connect"
  • This will ssh into the node. Inside of the shell, run:
@abelcallejo
abelcallejo / README.md
Last active March 25, 2024 11:35
Installing GDAL 3.2.1 on Amazon Linux 2

Installing GDAL 3.2.1 on Amazon Linux 2

gdal linux yum

As of this day, this is probably the only and fastest way of installing it.

Package requirements

Based from the GDAL and PROJ build requirements, here is the full list of required packages to install: