Make sure your instance template config is up to date. See section 4 here: How to update AMP to the latest version