Commit graph

74 commits

Author SHA1 Message Date
Jun-te Kim
296bbcc626 added logic to add to serverless 2026-04-22 12:39:44 +00:00
Khalim Conn-Kowlessar
b64ce2c7fe added new buckets for carbon and heat to terraform 2026-03-20 12:55:33 +00:00
Daniel Roth
227a6a81ff revert to hardcoded arn and url 2026-03-03 08:44:41 +00:00
Daniel Roth
e7d2f83005 arn not url 2026-03-02 17:06:56 +00:00
Daniel Roth
7676194cdc get sqs url and arn from env vars 2026-03-02 16:48:09 +00:00
Daniel Roth
75124f3b2a give fast api permission to send messages to categorisation queue 2026-03-02 16:25:39 +00:00
Daniel Roth
2c2bcc4357 quote the variable 2026-03-02 15:56:57 +00:00
Daniel Roth
cfec36e6ab add categorisation_sqs_url to serverless environment variables 2026-03-02 15:48:10 +00:00
Khalim Conn-Kowlessar
ef350df6d8 reverted 2026-01-08 13:40:48 +00:00
Khalim Conn-Kowlessar
8439600463 another try on sls 2026-01-08 13:33:00 +00:00
Khalim Conn-Kowlessar
15ca3fa571 specify runtime in sls 2026-01-08 13:20:41 +00:00
Khalim Conn-Kowlessar
1d81db508d testing moving runtime to function level 2026-01-08 13:13:41 +00:00
Khalim Conn-Kowlessar
82452150fc try bump mem up to 4gb 2026-01-08 12:57:00 +00:00
Khalim Conn-Kowlessar
eb347a4dfe boosting concurrency to 12 and adding catch for OS no data 2026-01-05 18:10:27 +00:00
Khalim Conn-Kowlessar
e072d40fa8 fixed minor bug with epcsearcher and increase concurrency to 10 2026-01-04 13:29:41 +08:00
Khalim Conn-Kowlessar
c8b717f2f8 bump up concurrency to 7 2026-01-03 15:29:33 +08:00
Khalim Conn-Kowlessar
9ac3eeb8a7 reduced concurrency to 5 lambdas instead of 10 2026-01-01 13:19:11 +08:00
Khalim Conn-Kowlessar
110cb8070c [Cincreased concurrency of backend 2025-12-10 18:42:25 +00:00
Khalim Conn-Kowlessar
0876e948c9 increase timeout of engine dispatcher 2025-12-03 22:07:52 +00:00
Khalim Conn-Kowlessar
08908659f6 making plan api timeout longer and dispatch messages faster 2025-12-01 20:28:32 +00:00
Khalim Conn-Kowlessar
27de54adef increase concurrency, handle error case for gain equal to fixed gain 2025-10-29 15:15:07 +00:00
Khalim Conn-Kowlessar
2c19b89c77 allowing carbon and energy otimisation by removing slack 2025-07-31 19:13:16 +01:00
Khalim Conn-Kowlessar
9b2e61df5d fix sqs max concurrency 2025-07-22 23:08:43 +01:00
Khalim Conn-Kowlessar
e4e749689a decrease concurrent requests 2025-07-22 22:58:57 +01:00
Khalim Conn-Kowlessar
7ac3833a7c handling concurrency issues: 2025-07-22 22:24:46 +01:00
Khalim Conn-Kowlessar
88e6777cd2 made lambda 3gb 2025-07-22 21:06:13 +01:00
Khalim Conn-Kowlessar
b68dc49ce2 beefed up api async logic 2025-07-22 20:46:46 +01:00
Khalim Conn-Kowlessar
afabbf9228 allowing total s3 access to engine lambda 2025-04-17 17:34:13 +01:00
Khalim Conn-Kowlessar
fd76331ac3 restructuring iam policy for lambda 2025-04-17 17:11:59 +01:00
Khalim Conn-Kowlessar
c1f883b518 re-specifying s3 permissions for engine lambga 2025-04-17 16:54:24 +01:00
Khalim Conn-Kowlessar
a2caebce47 updated serverless file to give fastapi access to sqs 2025-04-17 14:51:06 +01:00
Khalim Conn-Kowlessar
6c02e8054f increasing queue timeout 2025-04-17 09:56:34 +01:00
Khalim Conn-Kowlessar
0618fc05fd restructuring app to split out engine code 2025-04-16 17:10:13 +01:00
Khalim Conn-Kowlessar
fafbf4a52f refactoring serverless script with sqs queue 2025-04-16 16:42:12 +01:00
Khalim Conn-Kowlessar
9453ffb401 made lambda async and 15 min timeout 2025-04-16 14:09:03 +01:00
Khalim Conn-Kowlessar
14dbff401b giving lambda permissions to access predictions buckets 2024-10-22 20:54:46 +01:00
Khalim Conn-Kowlessar
3dfc821fd7 adding missing secrets to backend 2024-10-22 18:05:31 +01:00
Khalim Conn-Kowlessar
bc398489af giving lambda permissions to PREDICTIONS_BUCKET and DATA_BUCKET 2023-09-13 10:29:32 +01:00
Khalim Conn-Kowlessar
547172a6e8 copying over simulation system DataProcessor to backend dockerfile and adding 120 second timeout 2023-09-12 18:07:07 +01:00
Khalim Conn-Kowlessar
02208cbf4a implementing sap model api call to backend and fixing bug in DataProcessor 2023-09-05 18:03:25 +01:00
Khalim Conn-Kowlessar
33a6587e70 revert back to x86 2023-08-24 20:12:37 +01:00
Khalim Conn-Kowlessar
363a6887a9 trying to use arm64 2023-08-24 15:33:12 +01:00
Khalim Conn-Kowlessar
aff4cce777 changing the working directory to var/task/Model for the docker to align with lambda requirements 2023-08-24 14:00:10 +01:00
Khalim Conn-Kowlessar
7f9b973890 removing CMD directive and specifying handler in serverless script 2023-08-24 13:40:07 +01:00
Khalim Conn-Kowlessar
0371a810e7 adding custom domain back into serverless script 2023-08-24 13:17:19 +01:00
Khalim Conn-Kowlessar
22d6673aa3 remove serverless domain manager for first deploy 2023-08-24 11:54:31 +01:00
Khalim Conn-Kowlessar
ca14f19a9a try removing custom domain to complete the lambda deployment propertly 2023-08-24 11:49:51 +01:00
Khalim Conn-Kowlessar
1afc815362 added the reference to the github sha in the lambda function uri instead of latest 2023-08-24 10:57:34 +01:00
Khalim Conn-Kowlessar
c69f19f27d removing serverless python requirements 2023-08-24 10:47:26 +01:00
Khalim Conn-Kowlessar
f27f6838cc Updated lamdba's dockerfile and serverless script to try and build the lambda from the docker image in ecr 2023-08-24 10:20:23 +01:00