Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate Lock and Data file system locations #1188

Closed
jcarlson opened this issue Sep 17, 2020 · 3 comments
Closed

Separate Lock and Data file system locations #1188

jcarlson opened this issue Sep 17, 2020 · 3 comments
Labels
duplicate This issue is a duplicate of an already reported issue

Comments

@jcarlson
Copy link

According to the documentation:

Atlantis has no external database. Atlantis stores Terraform plan files on disk. If Atlantis loses that data in between a plan and apply cycle, then users will have to re-run plan. Because of this, you may want to provision a persistent disk for Atlantis.

We tried deploying Atlantis to an AWS ECS Cluster and mounted an EFS volume as the “persistent disk”. Unfortunately, we discovered a well-known limitation of NFS-based storage in that Git repositories generally perform very poorly. git clone operations went from seconds to minutes.

It would be great if Atlantis could separate its use of the file system as a distributed lock from its use of the file system for cloning repositories. This would allow us to use the EFS share for persistent lock tracking, but configure an ephemeral, local volume for git cloning operations.

@ghostsquad
Copy link

@jcarlson do you have any more information on the "well-known limitation of NFS + Git" ?

@lkysow
Copy link
Member

lkysow commented Sep 17, 2020

Hi, I think this is a duplicate of #894

@lkysow lkysow closed this as completed Sep 17, 2020
@lkysow lkysow added the duplicate This issue is a duplicate of an already reported issue label Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue is a duplicate of an already reported issue
Projects
None yet
Development

No branches or pull requests

3 participants