Amy's body is kept alive in the Pandorica, and the Auton Rory protects it for 2000 years.
Amy's body is kept alive in the Pandorica, a special prison intended to trap the Doctor. The Auton Rory protects it for 2000 years.