Commit graph

51 commits

Author SHA1 Message Date
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
Khalim Conn-Kowlessar
96ac0135e9 transforming lambda to use docker wip 2023-08-22 09:52:42 +01:00
Khalim Conn-Kowlessar
6818c3f3f8 include optimiser in serverrless package 2023-08-21 20:18:24 +01:00
Khalim Conn-Kowlessar
6ac397b565 Adding recommendation materials details to recommendations outputs 2023-08-21 14:39:34 +01:00
Khalim Conn-Kowlessar
d84b463771 including epc_attributes modules into serverless package 2023-08-01 18:30:35 +01:00
Khalim Conn-Kowlessar
1bb8a4cd36 fixing sls 2023-07-31 12:00:25 +01:00
Khalim Conn-Kowlessar
446ff1d8d2 Adding secrets to fastapi deployment pipeline 2023-07-31 11:30:14 +01:00
Khalim Conn-Kowlessar
61e28f1cc3 final optimisation using lambda specific dockerfile 2023-07-21 18:54:08 +01:00
Khalim Conn-Kowlessar
3baa8a5ca6 switching out requirements 2023-07-21 18:39:54 +01:00
Khalim Conn-Kowlessar
6160c0685c moved rdsap_tables to recommendations 2023-07-21 18:22:05 +01:00
Khalim Conn-Kowlessar
4462a11e3b including rdsap tables: 2023-07-21 18:21:01 +01:00
Khalim Conn-Kowlessar
2d515aac78 including config 2023-07-21 18:12:38 +01:00
Khalim Conn-Kowlessar
e4610833a1 updating the serverless patterns' 2023-07-21 18:05:31 +01:00
Khalim Conn-Kowlessar
7095d6297b fix syntax errors in patterns 2023-07-21 17:53:24 +01:00
Khalim Conn-Kowlessar
508b206951 testing patterns in serverless script 2023-07-21 17:37:34 +01:00
Khalim Conn-Kowlessar
8d4e0c956b removing tests in recommendations folder from serverless package 2023-07-21 16:24:00 +01:00
Khalim Conn-Kowlessar
7b8c46242c exclude land registry from serverless package 2023-07-20 14:48:12 +01:00
Khalim Conn-Kowlessar
fb0c5859b9 restructure wip 2023-07-20 12:37:03 +01:00
Khalim Conn-Kowlessar
7a69a7255c setting iam role to allow it to read from the bucket 2023-07-20 10:04:50 +01:00
Khalim Conn-Kowlessar
87ef9bb5dc inject epc auth token into environment 2023-07-19 14:25:09 +01:00
Khalim Conn-Kowlessar
5975bede3c getting deployment working 2023-07-19 13:49:46 +01:00
Khalim Conn-Kowlessar
96295f1c3b testing creation of a combined requirements file for serverless deployment 2023-07-19 13:13:50 +01:00
Khalim Conn-Kowlessar
606e5213db fix fileName serverless requirements 2023-07-19 11:55:38 +01:00
Khalim Conn-Kowlessar
bb699f8f6d creating serverless requirements 2023-07-19 11:52:49 +01:00