S
S
Sergic2021-02-20 21:25:55
linux
Sergic, 2021-02-20 21:25:55

How to set AWS ec2 environment variables through an external AWS service?

Not very strong in all AWS services, so I have a question.

We have a batch of ec2 servers on AWS running from Image ami.
There is a Parameter Store parameter storage service, but I don’t understand how it is possible to set environment variables through it on our ec2 servers
. I want that when the button is pressed, a package of parameters is taken from the Parameter Store and immediately they turn into environment variables. Maybe there is something else in AWS, please tell me.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2021-02-20
@vitaly_il1

Via User data https://docs.aws.amazon.com/AWSEC2/latest/UserGuid...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question