Application Configuration with SpringBoot on AWS Lambda

James Eastham
James Eastham
5.5 هزار بار بازدید - 2 سال پیش - SpringBoot is the most widely
SpringBoot is the most widely used application framework in Java. But when running your Spring applications on AWS Lambda where do you get your configuration from? Both for secret values like database connection strings and more general configuration.

12 Factor App principles tell us that we should try and decouple our configuration from the application itself.

In this video we look at how you can use AWS Secrets Manager and SSM Parameter Store to hold and retrieve your application secrets and configuration.

00:00 - Introduction
00:55 - AWS Secrets Manager in the AWS Console
01:45 - Retrieve secrets in a Spring application
04:00 - SAM Policy Templates
05:40 - AWS Parameter Store
07:00 - Parameter Store in a Spring application
09:10 - Add Permissions for Parameter Store
11:00 - Demo Time
11:30 - Updating Config without changing code

Links
GitHub Repository - https://github.com/jeastham1993/java-...
AWS Lambda - https://aws.amazon.com/lambda/
AWS SAM - https://aws.amazon.com/serverless/sam/
12 Factor Apps - https://12factor.net/
AWS Secrets Manager - https://aws.amazon.com/secrets-manager/
AWS Parameter Store - https://docs.aws.amazon.com/systems-m...

Web - https://jameseastham.co.uk
Twitter - Twitter: plantpowerjames
LinkedIn - LinkedIn: james-eastham
2 سال پیش در تاریخ 1401/08/25 منتشر شده است.
5,551 بـار بازدید شده
... بیشتر