Elastic Beanstalk connect to RDS from shell SSH

后端 未结 3 824
走了就别回头了
走了就别回头了 2021-02-02 17:16

I have a python application on an Elastic Beanstalk EC2 instance which is connected to an PostgreSQL RDS.

My application works fine and uses the environment variables th

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-02 18:18

    I did not find the scripts you have mentionned but find another way to reach the same information.

    cd /opt/elasticbeanstalk/bin
    sudo ./get-config environment
    

    Get config script allow you to get access to a lot of indormaftion on this categories :

    optionsettings                   environment option settings that affect instance
    container                        container specific configurations
    addons                           addon configurations
    environment                      environment variables
    meta                             EB environment meta-data
    

    Hope it helps.

提交回复
热议问题