I can see that tbh the challenge of the elder guardian is interesting (basically a miniboss) but the with how many things newer structures give they are quite a waste of time in most scenarios
Place a repeating command block and set it to "always active" and run a command which summons the dragon at the location you want it to be at. e.g. the beacon then you will proceed to set its heal to zero using execute commands!