Elastic beanstalk and env variables

0

I need to deploy to Elastic Beanstalk a next.js application which reads some values from a .env file in my local dev environment.

I was suggested to use a .config extension, but I don't want to put this file under version control.

Is there any other option? AWS secrets manager is a bit expensive so I'd prefer not to use it.

thanks M

已提問 1 年前檢視次數 494 次
1 個回答
1
已接受的答案

With above constraints, a possible option is to then use SSM Parameter Store secure strings.

It tends to be generally cheaper than Secrets Manager. To decide whether that cheaper is enough for you to choose it over Secrets Manager, you can look at its price under the "Paramster Store" sub section: https://aws.amazon.com/systems-manager/pricing/

Refer to this article to learn about SSM parameter store secrets strings: https://docs.aws.amazon.com/kms/latest/developerguide/services-parameter-store.html

profile picture
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南