Blog posts

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 EC2 Basic Web server setup

Connect to EC2: ssh -i PEMFILE.PEM 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

Raspberry PI camera setup

Username:Pi Password:Raspberry Setting up the camera mkdir pi-pan cd pi-pan wget unzip the file with following command (use the appropriate file name): cd pi-pan tar -zxvf pi-pan.tar.gz Pi-Pan uses ServoBlaster; install it in your init scripts by following command: cd pi-pan sudo ./install-pi-pan.bash Before you assemble Pi-Pan head assembly  Bring the servos to neutral position. […]

Continue Reading
Back To Top