def StartupInstance(r, instance, dry_run=False, no_remember=False):
    """
    Starts up an instance.

    @type instance: str
    @param instance: the instance to start up
    @type dry_run: bool
    @param dry_run: whether to perform a dry run
    @type no_remember: bool
    @param no_remember: if true, will not record the state change
    @rtype: string
    @return: job id
    """
    query = {'dry-run': dry_run, 'no-remember': no_remember}
    return r.request('put', '/2/instances/%s/startup' % instance, query=query)
