Procedures for in-laboratory construction of an autofrettaged cylinder is described, including design, choice of the materials, machining as well as heat treatment of the cylinder. Details of high pressure-high temperature experiments up to 1 GPa and 400°C are given with special emphasis on encapsulation and sealing techniques.