Skip to content

feat(typescript): add AWS Batch with ECR and Lambda example for OpenMP #1188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 22, 2025

Conversation

architec
Copy link
Contributor

This PR adds a new TypeScript CDK example demonstrating how to use AWS Batch with containerized applications stored in Amazon ECR, with optional Lambda function for job submission.

What's included:

  • CDK TypeScript stack defining all AWS resources
  • C++ OpenMP application with multiple benchmark types
  • Dockerfile for containerization
  • Automated deployment script (build-and-deploy.sh)
  • Job submission script with various options (submit-job.sh)
  • Local testing capabilities (test-local.sh)
  • Documentation with usage examples

Much of the implementation code was generated with the assistance of LLM tools. The author designed and architected the overall project.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kaiz-io
Copy link
Contributor

kaiz-io commented Jul 15, 2025

Can the docker files be updated to use 24.04 instead of 22.04? Don't know if that breaks MP.

@kaiz-io kaiz-io self-requested a review July 15, 2025 18:36
@kaiz-io kaiz-io assigned kaiz-io and unassigned kaiz-io Jul 15, 2025
@kaiz-io kaiz-io added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jul 15, 2025
@architec
Copy link
Contributor Author

architec commented Jul 20, 2025

Hi @kaiz-io, I've upgraded it to 24.04 and tested this sample still works after my change.

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jul 21, 2025
@kaiz-io kaiz-io merged commit ea5de82 into aws-samples:main Jul 22, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants