Keep certain existing files when deploying to Elastic Beanstalk through aws.push

前端 未结 1 857
情书的邮戳
情书的邮戳 2021-01-21 07:47

We have SOLR in our app directory on EC2 server and not on our local git repository. When we are pushing our local repository to EC2, it is erasing the Solr directory. We have

相关标签:
1条回答
  • 2021-01-21 08:19

    AWS Elastic Beanstalk instances do not have persistent storage. EC2 instance is restored with default filesystem on each git push.

    You can persist SOLR files in S3 and automatically retrieve them on container startup with container commands.

    Other options are mentioned in "Persistent Storage" section in AWS Elastic Beanstalk Design Considerations.

    0 讨论(0)
提交回复
热议问题