Ok, I got the bucket mounted as a directory within /var/www/html, so the files should be visible as a website. However, all I get is a "forbidden" error when I try to reach the site.
Hi, I have not tried this option yet. I suspect its permissions issue. Verify S3 access manually, Verify Webserver user i.e; apache user permissions on web content. Also, check s3 ACLs/policies.
Thats great question, i have to do little r&d to answer this question. I know we can share with another account, but will verify and answer regarding mounting to ec2
Thanks, clear and precise.
Thanks for watching!
Nice video, is it solution for mounting s3 in on premises pc.
Yes, We can access with the help of AWS CLI.
Please specify Linux EC2 instance. Everybody seems to assume an EC2 instance is Linux. You also get Windows EC2 instances.
Sure, Thanks for suggestion.
For windows we have 3rd party tools from long back.
Ok, I got the bucket mounted as a directory within /var/www/html, so the files should be visible as a website. However, all I get is a "forbidden" error when I try to reach the site.
Hi, I have not tried this option yet. I suspect its permissions issue. Verify S3 access manually, Verify Webserver user i.e; apache user permissions on web content. Also, check s3 ACLs/policies.
Hi Avinash, Can we mount s3 bucket to Ec2 instance from different account?
Thats great question, i have to do little r&d to answer this question. I know we can share with another account, but will verify and answer regarding mounting to ec2
How to mount this S3 as a service
How do you permanently mount it ? so its mounted after reboot
Add entry into fstab for perm mount
good job bro