简体   繁体   English

WordPress 在 Elastic Beanstalk 上,与 Cpanel 相比,文件存储在哪里?

[英]WordPress on Elastic Beanstalk, where store the file compare to Cpanel?

I just got into aws world and try to migrate wordpress to AWS by this我刚刚进入 aws 世界并尝试通过将 wordpress 迁移到 AWS

using Elastic Beanstalk, Elastic Filesystem, Amazon RDS and Route 53使用 Elastic Beanstalk、Elastic Filesystem、Amazon RDS 和 Route 53

some concept still confused me一些概念仍然让我感到困惑

  1. where/which services store the file?在哪里/哪些服务存储文件? I was using cpanel as hosting, the steps were if anything need to be modified, just go to the file manger and make change > refresh the browser then it done the deployment.我使用 cpanel 作为主机,步骤是如果需要修改,只需 go 到文件管理器并进行更改 > 刷新浏览器然后它就完成了部署。

  2. how to process when using AWS?使用AWS时如何处理?

  3. in AWS where the files at?在 AWS 中的文件在哪里? my guess is it's on eb environment and store as zip file in S3 just curious if update a article with picture upload, where the files are?我的猜测是它在 eb 环境中并在 S3 中存储为 zip 文件只是好奇是否更新带有图片上传的文章,文件在哪里?

  1. where/which services store the file?在哪里/哪些服务存储文件? I was using cpanel as hosting, the steps were if anything need to be modified, just go to the file manger and make change > refresh the browser then it done the deployment.我使用 cpanel 作为主机,步骤是如果需要修改,只需 go 到文件管理器并进行更改 > 刷新浏览器然后它就完成了部署。

Your current version of the application will be stored in /var/app/current .您当前版本的应用程序将存储在/var/app/current中。 During the deployment of a new version, /var/app/staging will be used for storage, and the the staging folder will fully replace current , so you will loose all files if have there.在部署新版本期间, /var/app/staging将用于存储,并且 staging 文件夹将完全替换current ,因此您将丢失所有文件。 That's why, the link that you provided uses EFS file system to overcome this limitation.这就是为什么您提供的链接使用EFS文件系统来克服此限制的原因。

  1. how to process when using AWS?使用AWS时如何处理?

I don't understand what do you want to process.我不明白你要处理什么。

  1. in AWS where the files at?在 AWS 中的文件在哪里? my guess is it's on eb environment and store as zip file in S3 just curious if update a article with picture upload, where the files are?我的猜测是它在 eb 环境中并在 S3 中存储为 zip 文件只是好奇是否更新带有图片上传的文章,文件在哪里?

See point 1.见第 1 点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM