Trending questions in AWS

+2 votes
13 answers

Python AWS Boto3: How do i read files from S3 Bucket?

You can download the file from S3 ...READ MORE

Dec 7, 2018 in AWS by Jino
138,323 views
+6 votes
15 answers

AWS VPC - What is the difference between Internet Gateway & NAT

Internet Gateway An Internet Gateway is a logical connection ...READ MORE

Apr 24, 2018 in AWS by Flying geek
• 3,210 points
45,785 views
0 votes
1 answer

dynamodb.ServiceResource' object has no attribute 'exceptions'.

Hi@akhtar, You'll need to use boto3.client('dynamodb') to be able to ...READ MORE

1 day ago in AWS by MD
• 34,240 points
8 views
0 votes
1 answer
0 votes
0 answers

How to automate AWS Appstream Service

HI Is possible to automate AWS Appstream ...READ MORE

2 days ago in AWS by Lakshminarayanan
• 490 points
15 views
0 votes
1 answer

error: You must be logged in to the server (Unauthorized)

Hi@akhtar, It seems you did not set your ...READ MORE

5 days ago in AWS by MD
• 34,240 points
56 views
0 votes
1 answer

could not get token: AccessDenied: Access denied

Hi@akhtar, You may get this error if your ...READ MORE

5 days ago in AWS by MD
• 34,240 points
20 views
0 votes
1 answer

aws-vault: error: Failed to start credential server: listen tcp 127.0.0.1:9099: bind: address already in use

Hi@akhtar, This is usually caused by another geodesic shell running. ...READ MORE

5 days ago in AWS by MD
• 34,240 points
18 views
0 votes
1 answer

How to remove a rule from a security group from AWS CLI?

Hi@akhtar, You can remove the ingress rule from ...READ MORE

Jul 7 in AWS by MD
• 34,240 points
25 views
0 votes
1 answer
0 votes
1 answer

How to create Fargate Profile in AWS EKS?

Hi@akhtar, You can use eksctl command to create ...READ MORE

Jul 6 in AWS by MD
• 34,240 points
25 views
0 votes
1 answer

How to install eksctl command in Windows?

Hi@akhtar, You can use the below-given steps to ...READ MORE

Jul 5 in AWS by MD
• 34,240 points
48 views
0 votes
1 answer

How to setup EKS Cluster in AWS using eksctl command?

Hi@akhtar, Before creating the cluster, you need to ...READ MORE

Jul 5 in AWS by MD
• 34,240 points
29 views
0 votes
1 answer

How does Amazon EKS work?

Hi@akhtar, Amazon EKS works by provisioning and managing the ...READ MORE

Jul 5 in AWS by MD
• 34,240 points
20 views
0 votes
1 answer

How to create EFS in AWS?

Hi@akhtar, You can follow the below-given steps to ...READ MORE

Jun 20 in AWS by akhtar
• 15,160 points
40 views
0 votes
1 answer

How to get the last stopped time & date of EC2 instance?

Hi@akhtar, To get the details of your last ...READ MORE

Jun 16 in AWS by MD
• 34,240 points
61 views
0 votes
1 answer

Not able to browse image from s3 bucket, image downloading instead of displaying in browser.

Hi@akhtar, You have to pass the content_type of ...READ MORE

Jun 15 in AWS by MD
• 34,240 points
85 views
0 votes
1 answer

Why I saw in the aws s3 glacier vault the size does not match with asw s3 glacier client

Hi, I am not sure, but the client ...READ MORE

Jun 29 in AWS by MD
• 34,240 points
52 views
0 votes
1 answer

How to generate .pem and .ppk from AWS?

Hi@akhtar, .pem and .ppk files are used to ...READ MORE

Jun 16 in AWS by MD
• 34,240 points
55 views
0 votes
1 answer

-bash: /var/www/html/indexfile.html: Permission denied

Hi@akhtar, You have to give permission to your ...READ MORE

Jun 15 in AWS by MD
• 34,240 points
58 views
0 votes
1 answer

Pinging to AWP EC2 Instance

Hi@Misterlo, Check your VPC settings. Sometimes Network ACLs also ...READ MORE

Jun 16 in AWS by MD
• 34,240 points
40 views
0 votes
1 answer

How to configure credentials for IAM user in CLI?

Hi@akhtar, To pass credentials for your IAM user ...READ MORE

Jun 10 in AWS by MD
• 34,240 points
61 views
0 votes
1 answer

How to edit files in the AWS S3 bucket from CLI?

Hi@akhtar, According to my knowledge,  you can't edit ...READ MORE

Jun 8 in AWS by MD
• 34,240 points
120 views
0 votes
1 answer

-bash: systemctl: command not found

Hi@akhtar, I think systemctl command is not supported ...READ MORE

Jun 8 in AWS by MD
• 34,240 points
136 views
0 votes
1 answer
0 votes
1 answer

How to take a backup of my EC2 instance?

Hi@akhtar, You can take a backup using snapshot ...READ MORE

Jun 7 in AWS by MD
• 34,240 points
122 views
0 votes
1 answer

How to create an EBS volume in AWS?

Hi@akhtar, To create an EBS volume, you can ...READ MORE

Jun 8 in AWS by MD
• 34,240 points
61 views
0 votes
1 answer
0 votes
1 answer

How to convert .pem format file to .ppk format file?

Hi@akhtar, You can use puttygen to convert .pem ...READ MORE

Jun 8 in AWS by MD
• 34,240 points
43 views
0 votes
1 answer
0 votes
1 answer

How to copy AMI from one region to another region in AWS?

Hi@akhtar, To copy your AMI from one region ...READ MORE

Jun 7 in AWS by MD
• 34,240 points
41 views
0 votes
1 answer

How to share an AMI publicly?

Hi@akhtar, To share your AMI publicly, you can ...READ MORE

Jun 7 in AWS by MD
• 34,240 points
38 views
0 votes
1 answer

Load key "key123.pem": invalid format ec2-user@13.127.118.117: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

Hi@akhtar, Actually the key you have created is ...READ MORE

Jun 2 in AWS by MD
• 34,240 points
225 views
0 votes
1 answer
0 votes
1 answer

How to restrict Cloudfront service countrywise?

Hi@akhtar, You can restrict your CloudFront according to ...READ MORE

Jun 5 in AWS by MD
• 34,240 points
84 views
0 votes
1 answer

Unable to import module 'lambda_function': No module named lambda_function

Hi@akhtar, This error appears when you haven’t named ...READ MORE

Apr 28 in AWS by MD
• 34,240 points
1,700 views
+1 vote
2 answers

Read file content from S3 bucket with boto3

s3_client=boto3.resource('s3') bucket = s3_client.Bucket('test') for obj in bucket.objects.all(): contents=obj.get()['Body'].read().decode(encoding="utf-8",errors="ignore") for line ...READ MORE

Jul 3, 2019 in AWS by reddy

edited Jul 4, 2019 by Kalgi 20,026 views
0 votes
1 answer

How to launch an EC2 instance?

Hi@akhtar, First login to your AWS account. Now ...READ MORE

Jun 5 in AWS by MD
• 34,240 points
54 views
0 votes
1 answer

Load key "key1234.pem": Permission denied ec2-user@13.126.141.194: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

Hi@akhtar, It seems you didn't set permissions to ...READ MORE

Jun 3 in AWS by MD
• 34,240 points
129 views
0 votes
1 answer

Need of CloudFront service in AWS.

Hi@akhtar, We need CloudFront service so that we ...READ MORE

Jun 5 in AWS by MD
• 34,240 points
43 views
0 votes
1 answer

How to configure httpd webserver in EC2 instance?

Hi@akhtar, To configure httpd web server in EC2 ...READ MORE

Jun 5 in AWS by MD
• 34,240 points
42 views
0 votes
1 answer

Permissions for 'key123.pem' are too open. It is required that your private key files are NOT accessible by others.

Hi@akhtar, You got this error because you didn't ...READ MORE

Jun 3 in AWS by MD
• 34,240 points
119 views
0 votes
1 answer

You must specify a region. You can also configure your region by running "aws configure".

Hi@akhtar, When you installed AWS CLI first time ...READ MORE

Jun 1 in AWS by MD
• 34,240 points
171 views
0 votes
1 answer

How to forward S3 bucket logs to CloudTrail?

Hi@akhtar, To forward S3 bucket logs to CloudTrail, ...READ MORE

Jun 3 in AWS by MD
• 34,240 points
50 views
0 votes
1 answer

<Error> <Code>AccessDenied</Code> not able to connect s3 bucket.

Hi@akhtar, You have to give permissions to your ...READ MORE

Jun 3 in AWS by MD
• 34,240 points
62 views