AWS Batch - Non Docker Approach

0

Hi,

I see on AWS batch help page somewhere, it was mentioned that we can provide a our application as a zip file in a job and our application will be directly executed inside an EC2 instance without the need of a docker instance.
I have not seen a single example of such kind on internet. Is anyone aware if there is a way to use AWS batch without using a docker image?

Definition of Job from AWS official documentation:
A unit of work (such as a shell script, a Linux executable, or a Docker container image) that you submit to AWS Batch.

Thanks,
Sid

Edited by: Siddharthvij on Nov 25, 2018 11:29 PM

gefragt vor 5 Jahren1183 Aufrufe
1 Antwort
0

Dear Sid,

AWS Batch supports the job that can executed as a Docker container. AWS Batch uses Amazon ECS to execute containerized jobs by making use of ECS Agent installed on the EC2 instance(Container instance).

For example- when you create a Batch Compute environment, an ECS cluster is created in the backend. AWS Batch only supports containerized applications. It is not possible to run non-containerized workloads on AWS Batch.
https://aws.amazon.com/batch/faqs/

For you use-case of uploading an application bundle and running your app on EC2 instances, please consider looking into our Elastic beanstalk service-
https://aws.amazon.com/elasticbeanstalk/

Cheers,
Nitheesha

Edited by: Nitheeshaataws on Dec 12, 2018 10:34 AM

profile pictureAWS
beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen

Relevanter Inhalt