It should be relatively easy to secure it. All you need to do is buy (or 3d print) one of
these and then bolt some straps to the plate you're mounting to. If you already have some Velcro around, you can put together a quick one by bolting down a loop side face up and a hook side face down on opposite ends of the battery. Keep the backing on.