Questions tagged [amazon-app-runner]
54 questions
2
votes
1 answer
How to pass health check tests on AWS App Runner while deploying Python Bottle server?
I suppose this is a pretty dumb questions but I'm really poor at devops.
I have a small Python programming project which I need to deploy on the web. It's not a real app, just a small script which I need to put on the web for few days and then take…

LLaP
- 2,528
- 4
- 22
- 34
2
votes
0 answers
AWS AppRunner Breaks When Using Custom Instance Role
When launching my container with AppRunner & the default instance role (AWS's built in role), my app immediately fails when it tries to talk to SecretsManager.
This is expected, because the default role doesn't have those permissions.
When I create…

mamidon
- 895
- 1
- 10
- 25
2
votes
1 answer
Error in assuming access role arn:aws:iam::1234:role/my-role
When trying to create an apprunner service using aws apprunner create-service --cli-input-json file://./myconfig.json, I get the error in title:
An error occurred (InvalidRequestException) when calling the CreateService operation: Error in assuming…

hubatish
- 5,070
- 6
- 35
- 47
2
votes
0 answers
NextJS app does not recognize env variables on AWS App Runner
Good day everyone.
My issue is the following. We use a NextJS app with SSR as the Frontend for our services. We want to deploy everything on AWS App Runner via docker images. Locally the frontend container registers all env variables we have in…

Ferhat
- 46
- 6
1
vote
0 answers
How to configure AWS App Runner environment variables, IAM Instance Role not working
I'm trying to configure the environment variables in my AWS App Runner service, the variables I need is a secret from the Secrets Manager. My AWS App Runner does not have access to read secrets from the Secrets Manager unless I provide an Instance…

Paulie
- 41
- 9
1
vote
0 answers
How to integrate AWS App Runner with Cognito
We have containerised applications which we want to host using AWS App Runner. At the same time we want to integrate these applications using AWS Cognito. Like API Gateway authorizer is there any mechanism in App Runner that can handle security of…

Chaitu
- 33
- 3
1
vote
0 answers
Connecting web and api application inside app runner inside VPC
My architecture is the following:
Web app that a user can connect via the internet and that connects to an API that retrieves the data for the application;
API that receives the request from the web app, retrieves the data from the database and…

Bruno Mello
- 4,448
- 1
- 9
- 39
1
vote
1 answer
How to access the Internet from an AWS App Runner service that is added to a VPC?
The question is the same as this one but has screenshots of AWS resources' configurations.
Situation:
A backend is hosted as an App Runner service.
The backend needs to communicate with a private RDS instance. So, the App Runner service is add to a…

Hossam El-Deen
- 972
- 1
- 13
- 27
1
vote
1 answer
In AWS App Runner, how does one roll back to old revision
What are the ways how one can roll back the App Runner service to the previous revision?
We use a simple GitHub Actions workflow to build and upload a new docker image to the ECR registry.
How can I select an old image in ECR and upload this instead…

Michal Moravik
- 1,213
- 1
- 12
- 23
1
vote
1 answer
Why aws app runner looks trying to build packages on node 12 even if node 14 is selected?
I'm trying to generate a build of our Next.js application that is on a Github repository. We used node 14.19.3 to build the application, and it runs fine on local development.
The package.json of main project is
{
"name": "example-name",
…

Erme Schultz
- 319
- 5
- 17
1
vote
1 answer
AWS cdk error when trying to create App Runner
I'm trying to deploy my application with App Runner in AWS via CDK. It's based on https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-apprunner.Service.html. When I deploy this, I get:
create_failed: Resource handler returned message:…

Lindy Hutz
- 45
- 1
- 5
1
vote
1 answer
How to orchestrate multiple AWS App Runner Services and other AWS Services
My goal is to host a web application on AWS with App Runner.
I have a project that consists of two Docker images; a front end React app and a FastAPI python back-end API service that work in tandem.
I pushed both Docker images to AWS ECR and plan on…

David Tahvildaran
- 307
- 1
- 3
- 10
1
vote
0 answers
AWS App Runner start command with quoted whitespaces
I'm creating an AppRunner service from a private ECR image with a Start command:
--before 'echo $MYVAR > /tmp/log.txt'
Which should be passed as is into my container entrypoint.
However, in App Runner application logs I get an error:
Couldn't find…

rfg
- 1,331
- 1
- 8
- 24
1
vote
0 answers
Unable to access application deployed on AWS app runner
I am unable to access a spring boot application. I have deployed a Spring boot application on AWS app runner using ECR. I don't see any errors on neither application logs Event logs. App runner status is also green.
On app runner port is configured…

kunal
- 779
- 6
- 25
0
votes
0 answers
App runner 404 when using explicit 443 port
I am running a custom container in App Runner. The app is running fine with the default url provided by App Runner. The problem is that when I use the explicit port 443 I get an 404 error.
https://xxx.us-east-1.awsapprunner.com -> This works…

Joqus
- 585
- 5
- 19