Cook made 115 and Amla hit 109 in a South Africa total of 329 for five at the close of play.
The pair put on 202 for the second wicket before Amla's dismissal sparked a collapse in which four wickets, including that of Cook, fell for 36 runs.
Temba Bavuma and Quinton de Kock restored South Africa's advantage with an unbeaten sixth wicket stand of 56.
Cook, called up at the age of 33 when the South African selectors finally opted for a specialist opening batsman to partner Dean Elgar, was calm and organised from the start of his 218-ball innings during which he hit 14 boundaries.
He hit one more four before he was bowled off an inside edge by Ben Stokes.
Cook was on 97 when Amla was dismissed and was still two short of his century when AB de Villiers was caught at second slip off Stuart Broad for his second duck in three innings since being appointed captain.
Cook went to his century off 187 balls when he tucked Stokes through midwicket for two and added 15 more runs before edging a ball from Chris Woakes into his stumps.
In contrast to his father, Jimmy, who was dismissed first ball on his Test debut against India in 1992/93, Stephen Cook scored four off the first ball he faced, a leg side half volley from James Anderson.
Jimmy Cook, who was in the crowd on Friday, had to wait until the age of 39 to make his official Test debut after being a prolific scorer for South Africa in 19 unofficial "rebel" Tests during South Africa's political isolation, including a hundred on debut against an English team in 1981/82.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
