1. An information processing apparatus comprising: a reception unit that receives a command requesting for an execution of predetermined processing; a storage unit that stores first information indicating, among a plurality of stages in a lifecycle of the information processing apparatus, a current stage and second information indicating an executable command in the current stage, the executable command being determined for each of the plurality of stages; and a determination unit that determines on a basis of the first information and the second information whether the command received by the reception unit is an executable command in the current stage.