AppRunner + two DB Instances (RDS)

0

Hello, I have some question about configuration App Runner Service. I have two DB instances (eg. Oracle and PostgreSQL) and I wonder if I can configure App Runner so that my Web API connects to the specified base by entering environment variables ([Key][Value]) during configuration? Without interfering with the code itself. I would like to apply one universal Docker image to several App Runner services. EG. App Runner (Key: Oracle, Value: Oracle ConnectionStrings) -> My universal Docker Image -> Oracle DB App Runner (Key: PostgreSQL, Value: PostgreSQL ConnectionStrings) -> My universal Docker Image -> PostgreSQL DB

1개 답변
1

Hello,

Have you considered using environment variables (under Env)?

Another pattern, though not specifically relating to App Runner, is to have a configuration service / API that returns endpoints dynamically.

Jason_S
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠