title: puppeteer works locally but results in cloudflare protection when running from aws ec2 ubuntu server
body: <p>I have a script written in nodejs using puppeteer and its working fine locally in headless mode. However, once I deploy it on my aws ec2 (ubuntu server), it stopped working. After a couple of tries I logged out the &quot;page.content()&quot; and figured out there was a cloudflare protection showing. How can I bypass that and why its not detected puppeteer when I run the script locally?</p>