Trending questions in AWS

+5 votes
14 answers

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

You can use the following code, import boto3 s3 ...READ MORE

Dec 7, 2018 in AWS by Nitesh
273,540 views
+8 votes
17 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,260 points
93,762 views
+1 vote
2 answers

Download file from s3 - aws cli

You can use cp to copy the ...READ MORE

Aug 23, 2019 in AWS by Faiza
68,873 views
+1 vote
1 answer

remote side unexpectedly closed network connection.

Hi@akhtar, A PuTTY session left idle will disconnect ...READ MORE

Aug 27, 2020 in AWS by MD
• 95,320 points
34,753 views
+1 vote
2 answers

How to read a csv file stored in Amazon S3 using csv.DictReader

The code would be something like this: import ...READ MORE

Oct 25, 2018 in AWS by Archana
• 5,640 points
44,577 views
+2 votes
3 answers

AWS S3 - Listing all objects inside a folder without the prefix

For Scala developers, here it is recursive ...READ MORE

Sep 20, 2018 in AWS by Priyaj
• 58,140 points
36,502 views
+1 vote
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, 2020 in AWS by MD
• 95,320 points
26,677 views
0 votes
0 answers

what is ARN in AWS?

Jan 3 in AWS by Rahul
• 260 points
13 views
0 votes
0 answers

how to learn aws?

Dec 17, 2021 in AWS by Edureka
• 560 points
19 views
0 votes
2 answers

What is AWS?

AWS stands for Amazon Web Services. AWS for ...READ MORE

Dec 15, 2021 in AWS by richamalhotra
• 140 points
15 views
0 votes
0 answers

which service is an aws database service?

Dec 10, 2021 in AWS by Edureka
• 220 points
36 views
0 votes
0 answers

How to host a website on AWS?

Dec 10, 2021 in AWS by Edureka
• 220 points
34 views
0 votes
0 answers

what is subnet in aws?

Dec 10, 2021 in AWS by Edureka
• 220 points
20 views
+1 vote
4 answers

What is the difference between Amazon ECS and Amazon EC2?

EC2 allows you to launch individual instances ...READ MORE

Jul 11, 2018 in AWS by Priyaj
• 58,140 points
32,505 views
0 votes
0 answers

How to get access to aws s3 calling the ListObjectsV2 operation in Python script ?

Hi Guys,I try to get data from ...READ MORE

Nov 25, 2021 in AWS by Yuriy
• 120 points
69 views
0 votes
2 answers

How to rename a S3 bucket name?

Hi, You can rename your S3 bucket name. ...READ MORE

Oct 5, 2020 in AWS by akhtar
• 38,230 points
29,052 views
0 votes
2 answers

Delete a folder from an s3 bucket - aws cli

There is a delete-folder option, but you ...READ MORE

Oct 3, 2019 in AWS by Shai
28,520 views
0 votes
1 answer

An error occurred (InvalidClientTokenId) when calling the GetCallerIdentity operation: The security token included in the request is invalid.

Hi@akhtar, I think there is a problem with ...READ MORE

Sep 23, 2020 in AWS by MD
• 95,320 points
11,646 views
0 votes
1 answer

How to delete a file from S3 bucket using boto3?

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

Nov 30, 2018 in AWS by Aniket
40,159 views
0 votes
1 answer

List All AWS EC2 Instances using boto3.

Hi@MD, You need to import the boto3 module ...READ MORE

Oct 7, 2020 in AWS by akhtar
• 38,230 points
10,118 views
0 votes
1 answer

ImportError: No module named boto3

Hi@akhtar, I think boto3 module is missing from ...READ MORE

Apr 28, 2020 in AWS by MD
• 95,320 points
16,807 views
0 votes
1 answer

How to list contents of a bucket with boto3?

Hi@akhtar, You can create a session for an ...READ MORE

Sep 21, 2020 in AWS by MD
• 95,320 points
9,974 views
0 votes
1 answer

Unziiping a tar.gz file in aws s3 bucket and upload it back to s3 using lambda

Hi@khyati, You can do your task using lambda. ...READ MORE

Dec 3, 2020 in AWS by MD
• 95,320 points
6,690 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 4, 2019 in AWS by reddy

edited Jul 4, 2019 by Kalgi 33,594 views
+1 vote
1 answer

Accessing query parameter in Lambda with Python

Have you gone through the mapping template ...READ MORE

Dec 5, 2018 in AWS by bugseeker
35,136 views
0 votes
1 answer

How to download a file from S3 buckets using boto3?

Hi@akhtar, Boto3 supports upload_file() and download_file() APIs to ...READ MORE

Oct 8, 2020 in AWS by MD
• 95,320 points
5,387 views
0 votes
1 answer

Boto3 - python script to view all directories and files

There are no folders, only S3 object ...READ MORE

Sep 14, 2018 in AWS by Priyaj
• 58,140 points
37,607 views
0 votes
1 answer

How to delete huge data from DynamoDB table in AWS?

Hi@akhtar, If you required to delete all the ...READ MORE

Dec 16, 2020 in AWS by MD
• 95,320 points
1,354 views
0 votes
1 answer

Unable to import module 'lambda_function': No module named 'pymongo' for mongodb with python in aws lambda.

Hi@pradip, I think you need to import some ...READ MORE

Nov 3, 2020 in AWS by MD
• 95,320 points
2,678 views
0 votes
1 answer

How to use Docker Machine to provision hosts on cloud providers?

Hi@akhtar, Docker Machine driver plugins are available for ...READ MORE

Dec 21, 2020 in AWS by MD
• 95,320 points
554 views
+1 vote
1 answer

How should we need to pay for AWS ACM CA Private Certificate?

Hi@Lakshminarayanan, In the document it is written that ...READ MORE

Dec 24, 2020 in AWS by MD
• 95,320 points
386 views
0 votes
0 answers

How to mount an S3 bucket in an EC2 instance?

Hi Guys, I am new to AWS. I ...READ MORE

Dec 17, 2020 in AWS by akhtar
• 38,230 points
351 views
0 votes
1 answer

What does ECU units, CPU core and memory mean in EC2 instance?

Hi@MD, ECU means Amazon EC2 compute unit. Amazon ...READ MORE

Dec 16, 2020 in AWS by akhtar
• 38,230 points
343 views
0 votes
1 answer

How to clear the credentials in AWS Configure?

Hi@akhtar, You need to remove the configuration file ...READ MORE

Nov 17, 2020 in AWS by MD
• 95,320 points
1,575 views
0 votes
1 answer

How to execute commands on AWS Instance using Boto3?

Hi@akhtar, You can use the boto3 module to ...READ MORE

Oct 7, 2020 in AWS by MD
• 95,320 points
3,337 views
0 votes
1 answer

How to disable actions for an alarm in AWS?

Hi@akhtar, You can disable the actions for the specified ...READ MORE

Nov 18, 2020 in AWS by MD
• 95,320 points
1,504 views
0 votes
1 answer

How to uninstall aws-cli?

Hi@akhtar, I also faced a similar type of ...READ MORE

Dec 8, 2020 in AWS by MD
• 95,320 points
583 views
0 votes
1 answer

How to decrease my AMI size in AWS Cloud?

Hi@Lakshminarayanan, You can't decrease the volume size directly. ...READ MORE

Dec 10, 2020 in AWS by MD
• 95,320 points
452 views
0 votes
1 answer

An error occurred (BadRequestException) when calling the UpdateRestApi operation: Invalid patch path /tags/keytest.

Hi@akhtar, You need to use the tag-resource method instead ...READ MORE

Dec 8, 2020 in AWS by MD
• 95,320 points
479 views
0 votes
1 answer

How to add a tag to aws api gateway using aws cli?

Hi@akhtar, You need to use a tag-resource method in ...READ MORE

Dec 8, 2020 in AWS by MD
• 95,320 points
479 views
0 votes
1 answer

How to find exact stopped time of AWS EC2 instances?

Hi@Lakshminarayanan, You can use InstanceState Data Types in your ...READ MORE

Dec 3, 2020 in AWS by MD
• 95,320 points
642 views
0 votes
1 answer

The Amazon CloudFront distribution is configured to block access from your country. We can't connect to the server for this app or website at this time.

Hi@akhtar, You got this error because you restricted ...READ MORE

Jun 5, 2020 in AWS by MD
• 95,320 points
8,431 views
0 votes
1 answer

How to delete a file from a branch in AWS CodeCommit?

Hi@akhtar, The following delete-file example demonstrates how to ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,320 points
859 views
0 votes
1 answer

No package python3 available in AWS EC2.

Hi@akhtar, It seems the python3 package is not ...READ MORE

Dec 8, 2020 in AWS by MD
• 95,320 points
149 views
0 votes
1 answer

How to describe EC2 instances using Boto3?

Hi@akhtar, An EC2 instance is a virtual server ...READ MORE

Oct 8, 2020 in AWS by MD
• 95,320 points
2,785 views
0 votes
1 answer

What is File Gateway in AWS Storage Gateway?

Hi@akhtar, File Gateway is a configuration of the AWS ...READ MORE

Dec 8, 2020 in AWS by MD
• 95,320 points
114 views
0 votes
2 answers

What are the things we should consider before reserving EC2 instances?

Hi@Lakshminarayanan, First, it depends on the duration. It ...READ MORE

Dec 7, 2020 in AWS by MD
• 95,320 points
116 views
0 votes
1 answer

A characteristic of edge locations is

Hi@anjali, An edge location is where end-users access services located ...READ MORE

Nov 19, 2020 in AWS by MD
• 95,320 points
917 views
0 votes
1 answer

How to add a file to a repository in AWS CodeCommit?

Hi@akhtar, You can add or update a file in a ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,320 points
689 views
0 votes
1 answer

How to merge two branches using the squash merge strategy in AWS CodeCommit?

Hi@akhtar, You can merge two branches using the ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,320 points
678 views