Creating amorphous solid states by randomly bonding an ensemble of dense liquid monomers is a common procedure that is used to create a variety of materials, such as epoxy resins, colloidal gels, and vitrimers. However, the properties of the resulting solid do a priori strongly depend on the preparation history. This can lead to substantial aging of the material; for example, properties such as mechanical moduli and transport coefficients rely on the time elapsed since solidification, which can lead to a slow degradation of the material in technological applications. It is therefore important to understand under which conditions random monomer bonding can lead to stable solid states, that is, long-lived metastable states whose properties do not change over time. This work presents a theoretical and computational analysis of this problem and introduces a random bonding procedure that ensures the proper equilibration of the resulting amorphous states. Our procedure also provides a new route to investigate the fundamental properties of glassy energy landscapes by producing translationally invariant ultrastable glassy states in simple particle models.