
AWS Bites 97. Configuration for AWS Applications (Env vars, SSM, Secrets Manager, AppConfig)
Sep 28, 2023
Discover strategies for configuring AWS applications using environment variables, AWS Systems Manager Parameter Store, Secrets Manager, and AppConfig. Learn about the pros and cons of each approach and pick the best one for your application. Get insights into retrieving specific values, defining permissions, and using libraries like SSM cache and Lambda Power Tools with the AWS Parameter Store. Explore application configuration in Up-config, including the pull mode, deployment strategies, and integration with services like AWS Lambda extension and Mid-D. Get ready for a turbocharged approach to AWS configuration!
AI Snips
Chapters
Transcript
Episode notes
Need for Environment-Specific Configuration
- Applications need configuration that varies across environments like dev and production.
- Typical parameters include database connections, API keys, and service references like S3 buckets or DynamoDB tables.
Use Environment Variables Cautiously
- Use environment variables for simple, non-secret configuration values.
- Avoid environment variables for secrets as they are stored in plaintext and can be exposed easily.
SSM Parameter Store Basics
- AWS SSM Parameter Store manages configuration as simple key-value pairs with optional encryption.
- Organize keys logically but validation and structure enforcement are up to you.
