OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Create AWS App Runner service with "generic Dockerfile" runtime

  • Thread starter Thread starter user189198
  • Start date Start date
U

user189198

Guest
According to the documentation for AWS App Runner, you can deploy a service from source code in GitHub. There is allegedly an option to have a "generic Dockerfile runtime" or a "managed runtime." The documentation states the following:

Subtopics of this chapter discuss the various runtimes that App Runner supports—the generic Dockerfile runtime, and the managed runtimes for different programming environments.

enter image description here

At the moment, there are "managed runtimes" for Node.js and Python, however I do not want to use these. I want to use the "generic Dockerfile" runtime in AWS App Runner.

In the AWS Management Console, you must either select one of the "managed runtimes" or choose the option to use the apprunner.yaml file in your source code repository. When I examine the reference documentation for the apprunner.yaml file, the runtime section is mandatory, and the only supported values are python3 and nodejs12.

enter image description here

Question: How do I deploy an AWS App Runner service, using the "generic Dockerfile" runtime instead of one of these "managed runtimes?"
<p>According to the documentation for AWS App Runner, you can deploy a service from source code in GitHub. There is allegedly an option to have a "generic Dockerfile runtime" or a "managed runtime." <a href="https://docs.aws.amazon.com/apprunner/latest/dg/service-source-code.html" rel="nofollow noreferrer">The documentation</a> states the following:</p>
<blockquote>
<p>Subtopics of this chapter discuss the various runtimes that App Runner supports—the generic Dockerfile runtime, and the managed runtimes for different programming environments.</p>
</blockquote>
<p><a href="https://i.sstatic.net/IGz9P.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/IGz9P.png" alt="enter image description here" /></a></p>
<p>At the moment, there are "managed runtimes" for Node.js and Python, however I do not want to use these. I want to use the "generic Dockerfile" runtime in AWS App Runner.</p>
<p>In the AWS Management Console, you must either select one of the "managed runtimes" or choose the option to use the <code>apprunner.yaml</code> file in your source code repository. When I examine the <a href="https://docs.aws.amazon.com/apprunner/latest/dg/config-file-ref.html" rel="nofollow noreferrer">reference documentation</a> for the <code>apprunner.yaml</code> file, the <code>runtime</code> section is mandatory, and the only supported values are <code>python3</code> and <code>nodejs12</code>.</p>
<p><a href="https://i.sstatic.net/kZjPZ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/kZjPZ.png" alt="enter image description here" /></a></p>
<p><strong>Question</strong>: How do I deploy an AWS App Runner service, using the "generic Dockerfile" runtime instead of one of these "managed runtimes?"</p>
Continue reading...
 

Latest posts

A
Replies
0
Views
1
Ashrik Ahamed
A
A
Replies
0
Views
1
Ashrik Ahamed
A

Online statistics

Members online
1
Guests online
4
Total visitors
5
Top