Listing Thumbnail

    Puppeteer & Playwright Remote Browser Automation by SilverLining.Cloud

     Info
    Free Trial
    AWS Free Tier
    This product has charges associated with it for additional support. Launch a virtual machine with Chrome installed and exposed to port 9222 to use it for remote browser automation with Puppeteer and Playwright.
    Listing Thumbnail

    Puppeteer & Playwright Remote Browser Automation by SilverLining.Cloud

     Info

    Overview

    Open image

    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

    Delivery method

    Delivery option
    64-bit (x86) Amazon Machine Image (AMI)

    Latest version

    Operating system
    Ubuntu 24.04

    Features and programs

    Financing for AWS Marketplace purchases

    AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
    Financing for AWS Marketplace purchases

    Pricing

    Free trial

    Try this product free for 7 days according to the free trial terms set by the vendor. Usage-based pricing is in effect for usage beyond the free trial terms. Your free trial gets automatically converted to a paid subscription when the trial ends, but may be canceled any time before that.

    Puppeteer & Playwright Remote Browser Automation by SilverLining.Cloud

     Info
    Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time. Alternatively, you can pay upfront for a contract, which typically covers your anticipated usage for the contract duration. Any usage beyond contract will incur additional usage-based costs.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.

    Usage costs (629)

     Info
    • ...
    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?

    We'd like to hear your feedback and ideas on how to improve this page.
    We'd like to hear your feedback and ideas on how to improve this page.

    Legal

    Vendor terms and conditions

    Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA) .

    Content disclaimer

    Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.

    Usage information

     Info

    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.

    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

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 AWS reviews
    No customer reviews yet
    Be the first to write a review for this product.