8D and 4D batteries aren't used in boats?;?;? USCG use 8 8D per Cutter based in Puget Sound. I know a few folks with 1 8d per motor. Reality iirc mat, two or 3 31's equal an 8d with out the weight to toss a 150'ish lb battery around.
With this said, on brand of lead deep cycle I know of, stuffs a bit more lead into their batteries, so you get another 5-15 AHR. So their 24 is just shy of a 27, 27 shy of a 31.
AGM as noted, last a long time. I've seen some Northstar, now Odyssey branded A,gM, along with Mastervolts coming back at work 8-12 yrs old on boats. Be lucky to get 2-4 with a typical 12V lead deep cycle. Also most AGM batteries s considered dual purpose. You can star motors, or cycle them down as house batteries. I use a lead DP for my sailboat. You can drain these many more times than the typical 4-6x with a true starting battery. AGM batteries try to get charged at 40% of there list AHR, putting many charging systems in trouble, as they can not keep up with the battery taking the charge. You toast an alternator, or charger. Lead or gel need 25% or so of lost AHR to charge them up.
I used to drain two 24's overnight when winter camping in my trailer, just keeping the rig warm in 10-20f temps. 2 270 AHR 6v woul net me 24-36 hrs in those temps. I had no hook ups.
A single 24 in sailboat can last me a day or three depending upon what electronics I'm using. I have 5 years with a Northstar 31, vs 2-3 max with lead versions.
OP has a battery. There is more than one way to set up RVs and boats to suit ones needs. Lithium may be next house battery, half the weight of leaf, triple the usable AHR for a given size.
Marty