1

Is there a centralized AWS service to expose key/value pairs to EC2 instances easily?

I'd prefer a way that either exposes as a https endpoint, or injects them into environment variables without requiring using the aws-sdk.

5
  • Best bet's probably an ElastiCache Redis instance.
    – ceejayoz
    Jul 30, 2015 at 23:39
  • Would I have to use the aws-sdk or application code to fetch? I'd prefer something I can retrieve via shell scripts.
    – Justin
    Jul 30, 2015 at 23:52
  • 1
    github.com/caquino/redis-bash should do the trick.
    – ceejayoz
    Jul 30, 2015 at 23:57
  • DynamoDB is an excellent key/value store that is available over HTTPS. However, to access it using shell scripts you would need to use the AWS CLI, which technically is different from the AWS-SDK so I'm not sure if this would work for you. Jul 31, 2015 at 23:11
  • If you use CloudFormation you could either use the UserData property or use an AWS::CloudFormation::Init resource to pass key/value data in.
    – Bazze
    Aug 4, 2015 at 14:30

0

You must log in to answer this question.