Overview
Headless Remote Chrome
Preinstalled Chrome for remote browser automation on port 9222 with Puppeteer and Playwright.
This is a repackaged open-source software that spins up a remote Chrome instance. Additional charges apply for support for this virtual machine.
Remote Puppeteer and Playwright script execution
Launch a virtual machine with Chrome preinstalled and configured for remote browser automation using Puppeteer and Playwright. This VM includes a preconfigured environment with a reverse proxy, making Chrome accessible on port 9222 for remote debugging and automation. The virtual machine runs a headless Chrome instance, accessible via on the public IPv4 address on port 9222, allowing you to connect remotely using Puppeteer or Playwright. This setup enables seamless browser automation, web scraping, and testing without the need for a local Chrome installation.
Easy Usage
Example Puppeteer in Node.js:
const puppeteer = require('puppeteer');
(async () => {
try {
const ipAddress = '
const response = await fetch('http://' + ipAddress + ':9222/json/version');
const data = await response.json();
let wsEndpoint = data.webSocketDebuggerUrl;
wsEndpoint = wsEndpoint.replace('/devtools', ':9222/devtools');
console.log('Connecting to WebSocket:', wsEndpoint);
const browser = await puppeteer.connect({ browserWSEndpoint: wsEndpoint });
const page = await browser.newPage();
await page.goto('https://example.com ');
console.log(await page.title());
await browser.close();
} catch (error) {
console.error("Connection failed:", error);
}
})();
Example Playwright in Python:
import requests
from playwright.sync_api import sync_playwright
ip_address = "
debugger_url = "http://{}:9222/json/version".format(ip_address)
try:
response = requests.get(debugger_url)
response.raise_for_status()
data = response.json()
ws_endpoint = data["webSocketDebuggerUrl"]
ws_endpoint = ws_endpoint.replace("/devtools", ":9222/devtools")
print("Connecting to WebSocket:", ws_endpoint)
with sync_playwright() as p:
browser = p.chromium.connect_over_cdp(ws_endpoint)
page = browser.new_page()
page.goto("https://example.com ")
print("Page Title:", page.title())
browser.close()
except Exception as e:
print("Connection failed:", e)
This AMI is designed to be minimal, including only the Chrome browser and a reverse proxy, ensuring a clean and lightweight virtual machine.
For further assistance, contact our expert cloud team via email at support@silverlining.cloud or through live chat on our website . Detailed documentation for this image is available here: https://www.silverlining.cloud/docs/aws/chrome-remote-headless .
Launch Chrome remotely Now!
Highlights
- Preconfigured Chrome environment with remote debugging enabled on port 9222, ready for automation with Puppeteer and Playwright.
- Run browser automation, web scraping, and testing remotely without installing Chrome locally, ensuring a scalable and consistent execution environment.
- Configured and supported by the SilverLining.Cloud team. Contact us via live chat on our website or email us at support@silverlining.cloud
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
- ...
Instance type | Product cost/hour | EC2 cost/hour | Total/hour |
---|---|---|---|
t1.micro | $0.01 | $0.02 | $0.03 |
t2.nano | $0.01 | $0.006 | $0.016 |
t2.micro AWS Free Tier | $0.01 | $0.012 | $0.022 |
t2.small | $0.01 | $0.023 | $0.033 |
t2.medium Recommended | $0.01 | $0.046 | $0.056 |
t2.large | $0.01 | $0.093 | $0.103 |
t2.xlarge | $0.01 | $0.186 | $0.196 |
t2.2xlarge | $0.01 | $0.371 | $0.381 |
t3.nano | $0.01 | $0.005 | $0.015 |
t3.micro AWS Free Tier | $0.01 | $0.01 | $0.02 |
Additional AWS infrastructure costs
Type | Cost |
---|---|
EBS General Purpose SSD (gp3) volumes | $0.08/per GB/month of provisioned storage |
Vendor refund policy
For any issues, please reach out to our support team at support@silverlining.cloud or contact us via live chat to raise your case.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
This initial version integrates a preconfigured remote Chrome instance for automating Puppeteer and Playwright remotely.
Additional details
Usage instructions
Click here for detailed usage instructions with tutorials, screenshots, and troubleshooting tips.
Manage Remote Server: The remote Chrome starts automatically with every reboot of the EC2 instance. By default, it is accessible via the public IPv4 address of the instance on port 9222. Ensure that both the instance's security group and your local network allow traffic on this port. Since the server is publicly accessible from the internet, consider restricting access to your specific IP address for enhanced security.
Run scripts remotely
This example demonstrates how to connect to the instance in Puppeteer with Node.js.
from selenium import webdriver
options = webdriver.EdgeOptions() driver = webdriver.Remote(command_executor='http://<public.ip.v4.address>:4444/wd/hub', options=options) driver.get("https://www.whatismybrowser.com ") driver.save_screenshot('screenshot.png') driver.quit()
This example demonstrates how to connect to the instance with Playwright in Python.
from selenium import webdriver
options = webdriver.EdgeOptions() driver = webdriver.Remote(command_executor='http://<public.ip.v4.address>:4444/wd/hub', options=options) driver.get("https://www.whatismybrowser.com ") driver.save_screenshot('screenshot.png') driver.quit()
Visit our documentation for additional language support, including Node.js and Java.
We keep software installations to a minimum, and no sensitive data is stored on the virtual machine instance. If you encounter any issues or have additional questions, please refer to our documentation or reach out to our support team.
Resources
Vendor resources
Support
Vendor support
For assistance with deployment issues, configuration, integration, troubleshooting, or feature requests, contact us at support@silverlining.cloud or chat live with our experts on our website.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Similar products




