Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit b27e953

Browse files
authored
add docs about ECS networks, add docs about proxy configuration options (#73)
1 parent 22e0be1 commit b27e953

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

content/en/aws/elastic-container-service/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ By default, the ECS Fargate launch type is assumed, i.e., the local Docker engin
1313
Note that more complex features like integration of application load balancers (ALBs) are currently not available, but are being developed and will be available in the near future.
1414

1515
Task instances are started in a local Docker engine which needs to be accessible to the LocalStack container. The name pattern for task containers is `localstack_<family>_<revision>`, where `<family>` refers to the task family and `<revision>` refers to a task revision (for example, `localstack_nginx_1`).
16+
17+
You can use the configuration option `LAMBDA_DOCKER_NETWORK` to specify the network the ECS containers are started in.
18+
If your ECS containers depend on LocalStack services, this should be the network the LocalStack container is located in.
19+
For more information regarding the configuration of LocalStack, please check the [LocalStack configuration]({{< ref "../../localstack/configuration.md" >}}) section.

content/en/localstack/configuration.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ This section covers configuration values that are specific to AWS services.
9090
| | `false` | your Lambda function definitions will be passed to the container by mounting a volume (potentially faster). This requires to have the Docker client and the Docker host on the same machine. Also, `HOST_TMP_FOLDER` must be set properly, and a volume mount like `${HOST_TMP_FOLDER}:/tmp/localstack` needs to be configured if you're using docker-compose. |
9191
| `BUCKET_MARKER_LOCAL` | | Optional bucket name for running lambdas locally.|
9292
| `LAMBDA_CODE_EXTRACT_TIME` | `25` | Time in seconds to wait at max while extracting Lambda code. By default it is 25 seconds for limiting the execution time to avoid client/network timeout issues.|
93-
| `LAMBDA_DOCKER_NETWORK` | | Optional Docker network for the container running your lambda function. |
93+
| `LAMBDA_DOCKER_NETWORK` | | Optional Docker network for the container running your lambda function. This configuration value also applies to ECS containers. |
9494
| `LAMBDA_DOCKER_DNS` | | Optional DNS server for the container running your lambda function. |
9595
| `LAMBDA_DOCKER_FLAGS` | `-e KEY=VALUE`, `-v host:container`, `-p host:container`, `--add-host domain:ip` | Additional flags passed to Lambda Docker `run`\|`create` commands (e.g., useful for specifying custom volume mounts). Does only support environment, volume, port and add-host flags |
9696
| `LAMBDA_CONTAINER_REGISTRY` | `lambci/lambda` (default) | An alternative docker registry from where to pull lambda execution containers.|
@@ -142,6 +142,9 @@ Some of the services can be configured to switch to a particular provider:
142142
| `OVERRIDE_IN_DOCKER` | | Overrides the check whether LocalStack is executed within a docker container. If set to `true`, LocalStack assumes it runs in a docker container. Should not be set unless necessary.
143143
| `EDGE_FORWARD_URL` | | Optional target URL to forward all edge requests to (e.g., for distributed deployments).
144144
| `DISABLE_EVENTS` | `1` | Whether to disable publishing LocalStack events |
145+
| `OUTBOUND_HTTP_PROXY` | `http://10.10.1.3` | HTTP Proxy used for downloads of runtime dependencies and connections outside LocalStack itself. |
146+
| `OUTBOUND_HTTPS_PROXY` | `https://10.10.1.3` | HTTPS Proxy used for downloads of runtime dependencies and connections outside LocalStack itself. |
147+
| `REQUESTS_CA_BUNDLE` | `/tmp/localstack/ca_bundle.pem` | CA Bundle to be used to verify HTTPS requests made by LocalStack |
145148

146149

147150
## Debugging

0 commit comments

Comments
 (0)