Questions tagged [amazon-app-runner]

54 questions
0
votes
0 answers

AppRunner VPC connector with Internet Access

I have one public API service running in Apprunner. Also I'm using a documentDB service to handle my NoSQL database. The database and Apprunner instance is running in the same VPC I've followed the tutorial here and connected the service to the…
0
votes
0 answers

AWS Event bridge does not notify status of AWS App Runner

I'm trying to setup a AWS event bridge rule that sends a message to an SNS topic in case of a deployment failure. However, AWS event bridge does not seem to catch any events. This is the cloudformation template I use to setup the rules and SNS…
0
votes
0 answers

AWS App Runner region environment variable

I want to build a .net 7 web app and do a source code repository deployment to aws app runner. I will add one instance in us-east-1 and another in eu-west-1. How do I access the region name that the code is being run on from the .net code? Does…
user433342
  • 859
  • 1
  • 7
  • 26
0
votes
0 answers

How to deny access to the default domain in AWS AppRunner

I have an application created in Nextjs and hosted in AppRunner. I currently have access to the default domain created by AppRunner and a custom domain tied to AppRunner. How best to set up an AWS environment to meet the following…
0
votes
0 answers

How to send notification about AWS APP Runner status?

I'm searching for some way to send notifications when a specific app is deployed or updated on AWS App Running. I've already setup a rule on Event Bridge using following json, but it didn't work. Any thoughts? { "account": ["$ACCOUNT_ID"], …
0
votes
1 answer

How to update the image uri of apprunner usinbg aws cli?

I was trying to up[date the image uri of source in aws apprunner using below command. aws apprunner update-service --service-arn arn:aws:apprunner:us-east-1:*:service/next-js/* --source-configuration ImageRepository={clp-ui-qa,some-tag} --region…
0
votes
1 answer

AWS Fargate can't run ENV specific build?

I had Next-Js application which I was containerizing and deploying it in AWS Fargate. Below is my dockerfile #Base Image FROM node:18-alpine ARG ENV=$ENV RUN mkdir -p /usr/app/ WORKDIR /usr/app/ COPY . . RUN ls -l RUN npm install RUN npm run…
0
votes
1 answer

how to configuring certificate validation in amazon app runner

When I tried to link my app in App Runner to my route 53 domain got these two steps: Configure certificate validation (has two records names and values) Configure DNS target (has on record and one value) I got how to do step 2 but could not figure…
practitioner
  • 412
  • 1
  • 5
  • 12
0
votes
0 answers

generating pdf using html-to-pdf works on local but doesnt work on AWS App Runner

I am generating a pdf using a html-to-pdf package, it works on local but doesn't work on deployment using AWS App Runner. code: html_to_pdf.generatePdf(file, options).then(pdfBuffer => { fs.writeFileSync(path.join(appDir, 'invoice.pdf'),…
Justin Herrera
  • 526
  • 4
  • 11
0
votes
0 answers

Python AWS Apprunner Service Failing Health Check

New to Apprunner and trying to get a vanilla Python application to deploy successfully but continuing to fail the TCP Health Checks. The following is some relevant portions of the service and Apprunner console logs: Service…
alphazwest
  • 3,483
  • 1
  • 27
  • 39
0
votes
0 answers

AppRunner build failure

Please help me with AWS App Runner. I tried various configuration options over a few days, but the build keeps failing :( ** ERROR LOG** 01-12-2023 08:19:38 PM [AppRunner] Deployment with ID : 66482a95a0b640a48945c7d4b4714e91 failed. 01-12-2023…
user21000826
0
votes
1 answer

RedisTimeoutException when trying to connect to AWS ElasticCache Redis from App Runner

So we have an C# Web API project that connects to an AWS ElasticCache. It is an Redis cluster with just one node to test. My connection string looks like…
0
votes
1 answer

Eureka Discovery Server not registering client

We have few microservices using Eureka discovery server. In local, everything works fine but when we deploy it on AWS App Runner, it is not registering any of the microservices. Any suggestions what could be wrong here? Below is the sample config…
0
votes
2 answers

Route 53 domain only works when prefixed with http(s)://

I have an application that runs fine in AWS App Runner and can be found here: https://iyarles.net However, it's not accessible via the naked domain name iyarles.net. Clarification comment: If I goto iyarles.net in my browser (edge), the request…
Charles Yang
  • 330
  • 2
  • 10
0
votes
2 answers

How to enforce HTTPS in my AWS APP RUNNER service even visitors enter HTTP?

I have successfully launched AWS APP RUNNER for a NEXT.JS service, and associated with a CUSTOM domain example.com, everything work very fine with https://example.com, however when visitor enter http://example.com, it's does not work, what can I do…