@@ -99,8 +99,13 @@ artifacts, you can use an object storage like AWS S3 instead.
...
@@ -99,8 +99,13 @@ artifacts, you can use an object storage like AWS S3 instead.
This configuration relies on valid AWS credentials to be configured already.
This configuration relies on valid AWS credentials to be configured already.
Use an object storage option like AWS S3 to store job artifacts.
Use an object storage option like AWS S3 to store job artifacts.
If you configure GitLab to store artifacts on object storage, you may also want to
[eliminate local disk usage for job logs](job_logs.md#prevent-local-disk-usage).
In both cases, job logs are archived and moved to object storage when the job completes.
DANGER: **Danger:**
DANGER: **Danger:**
If you configure GitLab to store CI logs and artifacts on object storage, you must also enable [incremental logging](job_logs.md#new-incremental-logging-architecture). Otherwise, job logs will disappear or not be saved.
In a multi-server setup you must use one of the options to
[eliminate local disk usage for job logs](job_logs.md#prevent-local-disk-usage), or job logs could be lost.
[Read more about using object storage with GitLab](object_storage.md).
[Read more about using object storage with GitLab](object_storage.md).
| [Container Registry](packages/container_registry.md#use-object-storage)(optional feature) | No |
| [Container Registry](packages/container_registry.md#use-object-storage)(optional feature) | No |
...
@@ -520,12 +520,13 @@ supported by consolidated configuration form, refer to the following guides:
...
@@ -520,12 +520,13 @@ supported by consolidated configuration form, refer to the following guides:
If you're working to [scale out](reference_architectures/index.md) your GitLab implementation,
If you're working to [scale out](reference_architectures/index.md) your GitLab implementation,
or add fault tolerance and redundancy, you may be
or add fault tolerance and redundancy, you may be
looking at removing dependencies on block or network filesystems.
looking at removing dependencies on block or network filesystems.
See the following guides and
See the following additional guides and
[note that Pages requires disk storage](#gitlab-pages-requires-nfs):
[note that Pages requires disk storage](#gitlab-pages-requires-nfs):
1. Make sure the [`git` user home directory](https://docs.gitlab.com/omnibus/settings/configuration.html#moving-the-home-directory-for-a-user) is on local disk.
1. Make sure the [`git` user home directory](https://docs.gitlab.com/omnibus/settings/configuration.html#moving-the-home-directory-for-a-user) is on local disk.
1. Configure [database lookup of SSH keys](operations/fast_ssh_key_lookup.md)
1. Configure [database lookup of SSH keys](operations/fast_ssh_key_lookup.md)
to eliminate the need for a shared `authorized_keys` file.
to eliminate the need for a shared `authorized_keys` file.
1.[Prevent local disk usage for job logs](job_logs.md#prevent-local-disk-usage).
## Warnings, limitations, and known issues
## Warnings, limitations, and known issues
...
@@ -569,7 +570,8 @@ The dependency on disk storage also prevents Pages being deployed using the
...
@@ -569,7 +570,8 @@ The dependency on disk storage also prevents Pages being deployed using the
### Incremental logging is required for CI to use object storage
### Incremental logging is required for CI to use object storage
If you configure GitLab to use object storage for CI logs and artifacts,
If you configure GitLab to use object storage for CI logs and artifacts,
[you must also enable incremental logging](job_artifacts.md#using-object-storage).
you can avoid [local disk usage for job logs](job_logs.md#data-flow) by enabling