Skip to content

Commit

Permalink
feat(aws): Update CPU and memory configurations for task definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
StanGirard committed Apr 18, 2024
1 parent c3e0c2f commit c095179
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions .aws/task_definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{
"name": "quivr",
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:bada136312ad3497664c3562a36b263d43c89c53",
"cpu": "2048",
"memory": "8192",
"cpu": "1024",
"memory": "2048",
"portMappings": [
{
"name": "quivr-5050-tcp",
Expand Down Expand Up @@ -88,8 +88,8 @@
"placementConstraints": [],
"compatibilities": ["EC2", "FARGATE"],
"requiresCompatibilities": ["FARGATE"],
"cpu": "2048",
"memory": "8192",
"cpu": "1024",
"memory": "2048",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
Expand Down
8 changes: 4 additions & 4 deletions .aws/task_definition_preview.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{
"name": "quivr",
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:c0ff0301002fe6d043270b26dabcfda797437afc",
"cpu": "2048",
"memory": "8192",
"cpu": "1024",
"memory": "2048",
"portMappings": [
{
"name": "quivr-5050-tcp",
Expand Down Expand Up @@ -89,8 +89,8 @@
"placementConstraints": [],
"compatibilities": ["EC2", "FARGATE"],
"requiresCompatibilities": ["FARGATE"],
"cpu": "2048",
"memory": "8192",
"cpu": "1024",
"memory": "2048",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
Expand Down
8 changes: 4 additions & 4 deletions .aws/task_definition_preview_beat.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{
"name": "quivr-beat",
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:600ff1ede02741c66853cc3e4e7f5001aaba3bc2",
"cpu": "2048",
"memory": "4096",
"cpu": "256",
"memory": "512",
"essential": true,
"command": ["celery", "-A", "celery_worker", "beat", "-l", "info"],

Expand Down Expand Up @@ -71,8 +71,8 @@
"placementConstraints": [],
"compatibilities": ["EC2", "FARGATE"],
"requiresCompatibilities": ["FARGATE"],
"cpu": "2048",
"memory": "4096",
"cpu": "256",
"memory": "512",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
Expand Down
8 changes: 4 additions & 4 deletions .aws/task_definition_preview_worker.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{
"name": "quivr-chat",
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:600ff1ede02741c66853cc3e4e7f5001aaba3bc2",
"cpu": "4096",
"memory": "8192",
"cpu": "2048",
"memory": "4096",
"essential": true,
"command": ["celery", "-A", "celery_worker", "worker", "-l", "info"],
"environment": [],
Expand Down Expand Up @@ -70,8 +70,8 @@
"placementConstraints": [],
"compatibilities": ["EC2", "FARGATE"],
"requiresCompatibilities": ["FARGATE"],
"cpu": "4096",
"memory": "8192",
"cpu": "2048",
"memory": "4096",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
Expand Down
10 changes: 5 additions & 5 deletions .aws/task_definition_prod_worker.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
{
"name": "quivr-chat",
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:35bd4727c67790d295a474dd81dfbef8469365e8",
"cpu": "4096",
"memory": "8192",
"memoryReservation": 8192,
"cpu": "2048",
"memory": "4096",
"memoryReservation": 4096,
"portMappings": [],
"essential": true,
"command": ["celery", "-A", "celery_worker", "worker", "-l", "info"],
Expand Down Expand Up @@ -76,8 +76,8 @@
"placementConstraints": [],
"compatibilities": ["EC2", "FARGATE"],
"requiresCompatibilities": ["FARGATE"],
"cpu": "4096",
"memory": "8192",
"cpu": "2048",
"memory": "4096",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
Expand Down

0 comments on commit c095179

Please sign in to comment.