EC2 / LAMP with a temporary File SystemWhat kind of EC2 setup do I want?Having problems with maintaining...
How badly should I try to prevent a user from XSSing themselves?
Description list Formatting using enumitem
Why didn't Boeing produce its own regional jet?
How to install cross-compiler on Ubuntu 18.04?
How obscure is the use of 令 in 令和?
Is it "common practice in Fourier transform spectroscopy to multiply the measured interferogram by an apodizing function"? If so, why?
Different meanings of こわい
How does a dynamic QR code work?
Is there a hemisphere-neutral way of specifying a season?
Fair gambler's ruin problem intuition
Does the Cone of Cold spell freeze water?
What historical events would have to change in order to make 19th century "steampunk" technology possible?
Placement of More Information/Help Icon button for Radio Buttons
GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?
What is an equivalently powerful replacement spell for the Yuan-Ti's Suggestion spell?
How to compactly explain secondary and tertiary characters without resorting to stereotypes?
Where would I need my direct neural interface to be implanted?
Is there an online compendium of Rav Moshe teshuvos in English that exists?
how do we prove that a sum of two periods is still a period?
What exactly is ineptocracy?
How to prevent "they're falling in love" trope
How seriously should I take size and weight limits of hand luggage?
Getting extremely large arrows with tikzcd
Mathematica command that allows it to read my intentions
EC2 / LAMP with a temporary File System
What kind of EC2 setup do I want?Having problems with maintaining sessions across multiple Amazon EC2 instancesRunning MySQL on Amazon EC2 with EBS (Elastic Block Store) and Elastic Beanstalkaws cli tool set up - unable to connect ec2 and retrieve instance informationAWS EC2 instance (Windows Server 2008): daily EBS snapshot without downtimeApache with tomcat and webappsFile System Corruption in AWS Storage Gateway VolumeEBS backed EC2 instanced stopped, different when started againAmazon EFS as code repository for auto-scaled EC2sDocker Storage in AWS. S3, EBS or EFS
Ok - this is a weird one.
I've now got my domain pointing to a new EC2 instance running our website, but initially I thought I had some issues with file permissions, has now turned to be where the web service is holding a completely separate file system layer on top of the one already in place.
What do I mean? Any file I upload to the site, or that I create using file_put_contents() is not accessible if I SSH in to the server. Completely invisible. This is a big problem for me, as I have got jobs on cron on the root user which is designed to look for these files and perform whatever jobs it needs to.
If I restart the apache2 service - the files that had been created in that session are reset, as if they were never there in the first place. Even if I don't restart the session - I have no way of accessing these file again - though it would probably only work if I redirect it as a file download. As far as PHP is concerned, they are in scandir(), true for file_exists() etc.
Has anyone had any familiarity with this and know how I can disable it so it behaves as normal? On my research, it sounds similar to EFS, but have no idea to turn that off, let alone turn it on.
Thanks.
NB: I have asked this on Stack Overflow, but this is more of a "server fault" question.
amazon-web-services amazon-ec2 apache2 amazon-ebs
New contributor
add a comment |
Ok - this is a weird one.
I've now got my domain pointing to a new EC2 instance running our website, but initially I thought I had some issues with file permissions, has now turned to be where the web service is holding a completely separate file system layer on top of the one already in place.
What do I mean? Any file I upload to the site, or that I create using file_put_contents() is not accessible if I SSH in to the server. Completely invisible. This is a big problem for me, as I have got jobs on cron on the root user which is designed to look for these files and perform whatever jobs it needs to.
If I restart the apache2 service - the files that had been created in that session are reset, as if they were never there in the first place. Even if I don't restart the session - I have no way of accessing these file again - though it would probably only work if I redirect it as a file download. As far as PHP is concerned, they are in scandir(), true for file_exists() etc.
Has anyone had any familiarity with this and know how I can disable it so it behaves as normal? On my research, it sounds similar to EFS, but have no idea to turn that off, let alone turn it on.
Thanks.
NB: I have asked this on Stack Overflow, but this is more of a "server fault" question.
amazon-web-services amazon-ec2 apache2 amazon-ebs
New contributor
add a comment |
Ok - this is a weird one.
I've now got my domain pointing to a new EC2 instance running our website, but initially I thought I had some issues with file permissions, has now turned to be where the web service is holding a completely separate file system layer on top of the one already in place.
What do I mean? Any file I upload to the site, or that I create using file_put_contents() is not accessible if I SSH in to the server. Completely invisible. This is a big problem for me, as I have got jobs on cron on the root user which is designed to look for these files and perform whatever jobs it needs to.
If I restart the apache2 service - the files that had been created in that session are reset, as if they were never there in the first place. Even if I don't restart the session - I have no way of accessing these file again - though it would probably only work if I redirect it as a file download. As far as PHP is concerned, they are in scandir(), true for file_exists() etc.
Has anyone had any familiarity with this and know how I can disable it so it behaves as normal? On my research, it sounds similar to EFS, but have no idea to turn that off, let alone turn it on.
Thanks.
NB: I have asked this on Stack Overflow, but this is more of a "server fault" question.
amazon-web-services amazon-ec2 apache2 amazon-ebs
New contributor
Ok - this is a weird one.
I've now got my domain pointing to a new EC2 instance running our website, but initially I thought I had some issues with file permissions, has now turned to be where the web service is holding a completely separate file system layer on top of the one already in place.
What do I mean? Any file I upload to the site, or that I create using file_put_contents() is not accessible if I SSH in to the server. Completely invisible. This is a big problem for me, as I have got jobs on cron on the root user which is designed to look for these files and perform whatever jobs it needs to.
If I restart the apache2 service - the files that had been created in that session are reset, as if they were never there in the first place. Even if I don't restart the session - I have no way of accessing these file again - though it would probably only work if I redirect it as a file download. As far as PHP is concerned, they are in scandir(), true for file_exists() etc.
Has anyone had any familiarity with this and know how I can disable it so it behaves as normal? On my research, it sounds similar to EFS, but have no idea to turn that off, let alone turn it on.
Thanks.
NB: I have asked this on Stack Overflow, but this is more of a "server fault" question.
amazon-web-services amazon-ec2 apache2 amazon-ebs
amazon-web-services amazon-ec2 apache2 amazon-ebs
New contributor
New contributor
New contributor
asked 3 mins ago
JesterJester
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Jester is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961237%2fec2-lamp-with-a-temporary-file-system%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Jester is a new contributor. Be nice, and check out our Code of Conduct.
Jester is a new contributor. Be nice, and check out our Code of Conduct.
Jester is a new contributor. Be nice, and check out our Code of Conduct.
Jester is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961237%2fec2-lamp-with-a-temporary-file-system%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown