elastic beanstalk - How to access file storage from web application on Amazon EC2 -


i in process of hosting dynamic website on amazon ec2. have created environment , deployed war on elasticstalkbean. can connect mysql database too. not sure how web application read/write disk , @ path? per understanding, amazon provides 3 options file storage s3 ebs (persistant) instance storage

i upload files on s3 creaing bucket how can web application read or write s3 bucket path on differnt server?

i not sure how should upload files or write file ebs. connecting ec2, cannot cd /dev/sd* directory ebs attached environment instance. how can configure web app use directory images etc

instance storage lost if stop or recreate env. , non persistant. not interested store files here.

can me on this? upload file read application? can application write files?

your question: "how can web application read or write s3 bucket path on different server?

i'm newbie user of aws too, can offer limited help, understand: webapp running in ec2 instance can access s3 storage using rest or soap apis. here's link reference guide using rest function file s3:

get object documentation

i guess idea s3 storage bucket amazon create ebs "environments" provides permanent storage application , data files (images etc.). when ec2 instance created or rebooted, should additional application files s3 bucket , 'cache' them on file system ("volume") attached ec2 "instance".


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -