You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,4 +195,4 @@ If you are interested in contributing, see [CONTRIBUTING.md](./CONTRIBUTING.md).
195
195
196
196
197
197
# Acknowledgements
198
-
This project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 825184.
198
+
This project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 825184 (CloudButton).
|lithops | backend | aws_lambda | no | Compute backend implementation. IBM Cloud Functions is the default |
140
-
|lithops | storage | aws_s3 | no | Storage backend implementation. IBM Cloud Object Storage is the default |
148
+
|lithops | backend | aws_lambda | no | Compute backend implementation. `localhost`is the default if no config or config file is provided|
149
+
|lithops | storage | aws_s3 | no | Storage backend implementation. `localhost`is the default if no config or config file is provided|
141
150
|lithops | data_cleaner | True | no |If set to True, then the cleaner will automatically delete all the temporary data that was written into `storage_bucket/lithops.jobs`|
142
151
|lithops | monitoring | storage | no | Monitoring system implementation. One of: **storage** or **rabbitmq**|
143
152
|lithops | monitoring_interval | 2 | no | Monitoring check interval in seconds in case of **storage** monitoring |
1.[Login](https://console.aws.amazon.com/?nc2=h_m_mc) to Amazon Web Services Console (or signup if you don't have an account)
16
16
17
-
2. Navigate to **IAM > Roles** to create the ECS Task Execution Role. AWS provides a defualt role named `ecsTaskExecutionRole`, which can be used instead. If you want to create another role or it is missing, create a new role attached to `Elastic Container Service Task`, and add the following policies:
17
+
2. Navigate to **IAM > Roles** to create the ECS Task Execution Role. AWS provides a default role named `ecsTaskExecutionRole`, which can be used instead. If you want to create another role or it is missing, create a new role attached to `Elastic Container Service Task`, and add the following policies:
18
18
-`SecretsManagerReadWrite`
19
19
-`AmazonEC2ContainerRegistryFullAccess`
20
20
-`CloudWatchFullAccess`
21
21
-`AmazonECSTaskExecutionRolePolicy`
22
22
23
-
3. Navigate to **IAM > Roles** to create the ECS Instance Role. AWS provides a defualt role named `ecsInstanceRole`, which can be used instead. If you want to create another role or it is missing, create a new role attached to `EC2`, and add the following policy:
23
+
3. Navigate to **IAM > Roles** to create the ECS Instance Role. AWS provides a default role named `ecsInstanceRole`, which can be used instead. If you want to create another role or it is missing, create a new role attached to `EC2`, and add the following policy:
Copy file name to clipboardExpand all lines: docs/source/compute_config/aws_ec2.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ In summary, you can use one of the following settings:
77
77
|aws_ec2 | region | |yes | Region name of the VPC. For example `us-east-1`. Lithops will use the region set under the `aws` section if it is not set here |
78
78
|aws_ec2 | ssh_username | ubuntu |no | Username to access the VM |
79
79
|aws_ec2 | ssh_key_filename | ~/.ssh/id_rsa | no | Path to the ssh key file provided to create the VM. It will use the default path if not provided |
80
-
|aws_ec2 | worker_processes | AUTO | no | Number of Lithops processes within a given worker. This is used to parallelize function activations within the worker. By default it detects the amount of CPUs in the VM|
80
+
|aws_ec2 | worker_processes | AUTO | no | Number of parallel Lithops processes in a worker. This is used to parallelize function activations within the worker. By default it detects the amount of CPUs in the VM|
81
81
|aws_ec2 | runtime | python3 | no | Runtime name to run the functions. Can be a container image name. If not set Lithops will use the defeuv python3 interpreter of the VM |
82
82
|aws_ec2 | auto_dismantle | True |no | If False then the VM is not stopped automatically.|
83
83
|aws_ec2 | soft_dismantle_timeout | 300 |no| Time in seconds to stop the VM instance after a job **completed** its execution |
@@ -151,7 +151,7 @@ In summary, you can use one of the following settings:
151
151
|aws_ec2 | worker_instance_type | t2.medium | no | Profile name for the worker VMs |
152
152
|aws_ec2 | delete_on_dismantle | True | no | Delete the worker VMs when they are stopped. Master VM is never deleted when stopped |
153
153
|aws_ec2 | max_workers | 100 | no | Max number of workers per `FunctionExecutor()`|
154
-
|aws_ec2 | worker_processes | 2 | no | Number of Lithops processes within a given worker. This can be used to parallelize function activations within a worker. It is recommendable to set this value to the same number of CPUs of a worker VM. |
154
+
|aws_ec2 | worker_processes | AUTO | no | Number of parallel Lithops processes in a worker. This is used to parallelize function activations within the worker. By default it detects the amount of CPUs in the `worker_instance_type` VM|
155
155
|aws_ec2 | runtime | python3 | no | Runtime name to run the functions. Can be a container image name. If not set Lithops will use the default python3 interpreter of the VM |
156
156
|aws_ec2 | auto_dismantle | True |no | If False then the VM is not stopped automatically.|
157
157
|aws_ec2 | soft_dismantle_timeout | 300 |no| Time in seconds to stop the VM instance after a job **completed** its execution |
@@ -176,7 +176,7 @@ lithops logs poll
176
176
177
177
## VM Management
178
178
179
-
Lithops for AWS EC2 follows a Mater-Worker architecrue (1:N).
179
+
Lithops for AWS EC2 follows a Mater-Worker architecture (1:N).
180
180
181
181
All the VMs, including the master VM, are automatically stopped after a configurable timeout (see hard/soft dismantle timeouts).
4. Click **Next: Tags** and **Next: Review**. Fill the policy name field (you can name it `lithops-policy` or simmilar) and create the policy.
42
+
4. Click **Next: Tags** and **Next: Review**. Fill the policy name field (you can name it `lithops-policy` or similar) and create the policy.
43
43
44
44
5. Go back to **IAM** and navigate to **Roles** tab. Click **Create role**.
45
45
@@ -105,7 +105,7 @@ In summary, you can use one of the following settings:
105
105
| aws_lambda | architecture | x86_64 | no | Runtime architecture. One of **x86_64** or **arm64** |
106
106
| aws_lambda | ephemeral_storage | 512 | no | Ephemeral storage (`/tmp`) size in MB (must be between 512 MB and 10240 MB) |
107
107
| aws_lambda | env_vars | {} | no | List of {name: ..., value: ...} pairs for Lambda instance environment variables |
108
-
| aws_lambda | namespace | | no | Virtual namespace. This can be usefull to virtually group Lithops function workers. The functions deployed by lithops will be prefixed by this namespace. For example you can set it to differentiate between `prod`, `dev` and `stage` environments. |
108
+
| aws_lambda | namespace | | no | Virtual namespace. This can be useful to virtually group Lithops function workers. The functions deployed by lithops will be prefixed by this namespace. For example you can set it to differentiate between `prod`, `dev` and `stage` environments. |
109
109
| aws_lambda | runtime_include_function | False | no | If set to true, Lithops will automatically build a new runtime, including the function's code, instead of transferring it through the storage backend at invocation time. This is useful when the function's code size is large (in the order of 10s of MB) and the code does not change frequently |
|azure_containers| resource_group ||no | Name of a resource group, for example: `LithopsResourceGroup`. Lithops will use the `resource_group`set under the `azure` section if it is not set here |
97
97
|azure_containers| region ||no | The location where you created the `lithops` Container APP environment. For example: `westeurope`, `westus2`, etc. Lithops will use the `region`set under the `azure` section if it is not set here|
98
-
|azure_containers| environment | lithops |no | The environemnt name you created in the step 5 of the installation |
98
+
|azure_containers| environment | lithops |no | The environment name you created in the step 5 of the installation |
|azure_containers | docker_user ||no | Container registry user name |
101
101
|azure_containers | docker_password ||no | Container registry password/token. In case of Docker hub, login to your docker hub account and generate a new access token [here](https://hub.docker.com/settings/security)|
Copy file name to clipboardExpand all lines: docs/source/compute_config/azure_functions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ az login
89
89
|---|---|---|---|---|
90
90
|azure_functions| resource_group ||no | Name of a resource group, for example: `LithopsResourceGroup`. Lithops will use the `resource_group`set under the `azure` section if it is not set here |
91
91
|azure_functions| region ||no | The location of the consumption plan for the runtime. Use `az functionapp list-consumption-locations` to view the available locations. For example: `westeurope`, `westus2`, etc. Lithops will use the `region`set under the `azure` section if it is not set here|
92
-
|azure_functions | max_workers | 1000 | no | Max number of parallel workers. Altough Azure limits the number of workrs to 200, it is convenient to keep this value high|
92
+
|azure_functions | max_workers | 1000 | no | Max number of parallel workers. Although Azure limits the number of workers to 200, it is convenient to keep this value high|
93
93
|azure_functions | worker_processes | 1 | no | Number of Lithops processes within a given worker. This can be used to parallelize functionactivations within a worker |
94
94
|azure_functions| runtime ||no | Runtime name already deployed in the service|
Copy file name to clipboardExpand all lines: docs/source/compute_config/azure_vms.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ Edit your lithops config and add the relevant keys:
89
89
|azure_vms | ssh_username | ubuntu | yes | Username to access the VM. It will use `ubuntu`if not provided |
90
90
|azure_vms | ssh_key_filename |~/.ssh/id_rsa | yes | Path to the ssh key file provided to create the VM. It will use the default path if not provided |
91
91
|azure_vms | region ||no | Location of the resource group, for example: `westeurope`, `westus2`, etc. Lithops will use the region set under the `azure` section if it is not set here |
92
-
|azure_vms | worker_processes | AUTO | no | Number of Lithops processes within a given worker. This is used to parallelize functionactivations within the worker. By default it detects the amount of CPUs in the VM|
92
+
|azure_vms | worker_processes | AUTO | no | Number of parallel Lithops processes in a worker. This is used to parallelize functionactivations within the worker. By default it detects the amount of CPUs in the VM|
93
93
|azure_vms | runtime | python3 | no | Runtime name to run the functions. Can be a container image name. If not set Lithops will use the defeuv python3 interpreter of the VM |
94
94
|azure_vms | auto_dismantle | True |no | If False then the VM is not stopped automatically.|
95
95
|azure_vms | soft_dismantle_timeout | 300 |no| Time in seconds to stop the VM instance after a job **completed** its execution |
@@ -139,12 +139,12 @@ Edit your lithops config and add the relevant keys:
139
139
|azure_vms | worker_instance_type | Standard_B2s | no | Profile name for the worker VMs |
140
140
|azure_vms | delete_on_dismantle | False | no | Delete the worker VMs when they are stopped. Master VM is never deleted when stopped. `True` is NOT YET SUPPORTED |
141
141
|azure_vms | max_workers | 100 | no | Max number of workers per `FunctionExecutor()`|
142
-
|azure_vms | worker_processes |2| no | Number of Lithops processes within a given worker. This can be used to parallelize functionactivations within a worker. It is recommendable to set this value to the same number of CPUs of a worker VM. |
142
+
|azure_vms | worker_processes |AUTO| no | Number of parallel Lithops processes in a worker. This is used to parallelize functionactivations within the worker. By default it detects the amount of CPUs in the `worker_instance_type` VM|
143
143
|azure_vms | runtime | python3 | no | Runtime name to run the functions. Can be a container image name. If not set Lithops will use the default python3 interpreter of the VM |
144
144
|azure_vms | auto_dismantle | True |no | If False then the VM is not stopped automatically.|
145
145
|azure_vms | soft_dismantle_timeout | 300 |no| Time in seconds to stop the VM instance after a job **completed** its execution |
146
146
|azure_vms | hard_dismantle_timeout | 3600 | no | Time in seconds to stop the VM instance after a job **started** its execution |
147
-
|azure_vms | exec_mode | reuse | no | One of: **consume**, **create** or **reuse**. If set to **create**, Lithops will automatically create new VMs foreach map() call based on the number of elementsin iterdata. If set to **reuse** will try to reuse running workers if exist |
147
+
|azure_vms | exec_mode | reuse | no | One of: **consume**, **create** or **reuse**. If set to **create**, Lithops will automatically create new VMs foreach map() call based on the number of elementsin`iterdata`. If set to **reuse** will try to reuse running workers if exist |
148
148
149
149
150
150
## Test Lithops
@@ -164,7 +164,7 @@ lithops logs poll
164
164
165
165
## VM Management
166
166
167
-
Lithops for Azure VMs follows a Mater-Worker architecrue (1:N).
167
+
Lithops for Azure VMs follows a Mater-Worker architecture (1:N).
168
168
169
169
All the VMs, including the master VM, are automatically stopped after a configurable timeout (see hard/soft dismantle timeouts).
0 commit comments