forked from aws-samples/serverless-patterns
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-pattern.json
More file actions
61 lines (61 loc) · 2.19 KB
/
Copy pathexample-pattern.json
File metadata and controls
61 lines (61 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"title": "Deploying Spring Boot App on Amazon ECS/AWS Fargate with Application Load Balancer",
"description": "This sample project deploys a Java 21 Spring Boot App on Amazon ECS Fargate with Application Load Balancer to route traffic between two ECS Tasks.",
"language": "Java",
"level": "200",
"framework": "AWS SAM",
"introBox": {
"headline": "How it works",
"text": [
"The Amazon ECR The repository of the container image of the Spring Boot Application.",
"Application Load Balancer receives the HTTP request which routes the traffic to one of the Amazon ECS Tasks.",
"Amazon ECS Cluster is configured with one service having 2 Tasks. The 2 Tasks runs the Spring Boot application as container. The container image is retrieved from the Amazon Elastic Container Registry. The application uses in-memory database to store the data."
]
},
"gitHub": {
"template": {
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/alb-ecs-java-sam",
"templateURL": "serverless-patterns/alb-ecs-java-sam",
"projectFolder": "alb-ecs-java-sam",
"templateFile": "template.yaml"
}
},
"resources": {
"bullets": [
{
"text": "Deploy Java microservices on Amazon ECS",
"link": "https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/deploy-java-microservices-on-amazon-ecs-using-amazon-ecr-and-aws-fargate.html"
},
{
"text": "Use an Application Load Balancer for Amazon ECS",
"link": "https://docs.aws.amazon.com/AmazonECS/latest/developerguide/alb.html"
}
]
},
"deploy": {
"text": [
"mvn clean package",
"bash build",
"sam deploy --guided"
]
},
"testing": {
"text": [
"See the GitHub repo for detailed testing instructions."
]
},
"cleanup": {
"text": [
"Delete the stack: <code>sam delete</code>.",
"Delete the ECR repository: <code>bash delete-ecr-repo.sh</code>."
]
},
"authors": [
{
"name": "Biswanath Mukherjee",
"image": "https://d1rwvjey2iif32.cloudfront.net",
"bio": "I am a Sr. Solutions Architect working at AWS India.",
"linkedin": "biswanathmukherjee"
}
]
}