Data Engineering

How to give access to S3 bucket for a single IAM role

Add to block policies and change AWSGlueServiceRole-testglue to something more appropriate. { “Version”: “2012-10-17”, “Statement”: [ { “Sid”: “Example permissions”, “Effect”: “Allow”, “Principal”: { “AWS”: “<<You can find this string in IAM=>Roles ROLE ARN>>” }, “Action”: [ “s3:GetBucketLocation”, “s3:ListBucket” ], “Resource”: “arn:aws:s3:::<<Bucket in questions>>” }, { “Effect”: “Allow”, “Principal”: { “AWS”: “<<You can find this […]

Continue Reading
AWS

AWS EC2 Basic Web server setup

Connect to EC2: ssh -i PEMFILE.PEM ec2-user@publicdnsip4_assigned_by_AWS.com Update all software: sudo yum update Install WEB server: sudo yum -y install httpd Start WEB server: sudo service httpd start Web server default location: /var/www/html/ Check WEB server functionality: Go to /var/www/html sudo mkdir wwwroot cd wwwroot echo “Hello world” >> test.html Open browser and go to: […]

Continue Reading
Back To Top
Bitnami