running google chrome headless on ec2 ubuntu server


Hello I have a ec2 server, here is the config :

DNS public (IPv4) :

ID d’AMI : ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20200611 (ami-0a63f96e85105c6d3)

When I try to install google chrome to use it headless I have this problem :

I indicate that I follow this simple tuto to install chrome on my ec2 server :


I tried to replicate and had same issues as you. But an alternative approach worked for me. You may try that, preferably on fresh ubuntu instance.

install pre-requsits

install driver for chrome 83

install google-chrome-stable current version (83)

check installation

install selenium

The installation is successful in my tests, but I haven’t verified if selenium works as intended. I only focused on whether chrome and selenium install.

Leave a Reply