examples icon indicating copy to clipboard operation
examples copied to clipboard

Update WebServer examples to use Amazon Linux 2023 AMI

Open Copilot opened this issue 5 months ago • 4 comments

This PR updates the WebServer examples that were previously using the Amazon Linux 2 AMI (which has been retired by AWS) to the newer Amazon Linux 2023 AMI.

Changes made:

  • Updated aws-js-webserver/index.js to use al2023-ami-*-x86_64 filter with owner 137112412989
  • Updated aws-js-webserver-component/webserver.js to use al2023-ami-*-x86_64 filter with owner 137112412989
  • Updated aws-py-webserver/__main__.py to use al2023-ami-*-x86_64 filter with owner 137112412989
  • Updated aws-java-webserver/src/main/java/webserver/App.java to use al2023-ami-*-x86_64 filter instead of the specific version

The C#, Go, and TypeScript examples were already using the correct Amazon Linux 2023 AMI, so no changes were needed for those.

Fixes #2179.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot avatar May 20 '25 13:05 Copilot