Which species is it? the diguetis we kept carried their eggs around until hatching time. but we always released the eggs into the bay...
the diguetis carried theirs in a bunch about 1" in diameter, and about 1.5 inches long, placing them in shells that they guarded...will look for some pics (most of this took place prior to my entrance into the digital age...I was a confirmed computer hater for a number of years)
the eggs might not be fertile:
most octopus species lay eggs even if they have not been fertilized.
either way it usually signals the end of the octopuses life