Heroku-like deployment and environment configuration via EC2

前端 未结 3 842
清歌不尽
清歌不尽 2021-02-09 02:42

I really like the approach of a 12factor app, which you are kinda forced into, when you deploy an application to Heroku. For this question I\'m particularly interested in settin

3条回答
  •  臣服心动
    2021-02-09 03:00

    It's might be late but they what we are doing.

    We have python script that take env var in Json and send that to as post data to another python script that convert those vars to ymal file.

    After that we use Jenkins pipline groovy using multibranch. Jenkins do all the build and then code deploy copies those env vars to ec2 instanced running in autoscaling. Off course we are doing some manapulation from yaml to simple text file so code deploy can paste it on /etc/envoirments

提交回复
热议问题