Trending questions in Cloud Computing

+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
248,032 views
+6 votes
3 answers

How to download folder from AWS S3?

To Download using AWS S3 CLI : aws ...READ MORE

Sep 6, 2018 in Cloud Computing by eatcodesleeprepeat
• 4,790 points
90,421 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
83,843 views
+7 votes
12 answers

How do I delete my Google Cloud Platform Account?

How do I delete me cloud and ...READ MORE

Jan 18, 2019 in GCP by dodge123@yahoo.com
82,415 views
+8 votes
24 answers

What is an “Edge Location” in AWS?

Let us start with brief explanation to ...READ MORE

Apr 3, 2018 in Cloud Computing by brat_1
• 7,180 points
79,113 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
45,964 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
40,307 views
+1 vote
1 answer

remote side unexpectedly closed network connection.

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

Aug 26, 2020 in AWS by MD
• 95,240 points
21,418 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,120 points
32,872 views
+2 votes
2 answers

What's the difference between IAM Roles and policies?

IAM Roles are defined as a set ...READ MORE

Aug 12, 2020 in Cloud Computing by nbavis
• 380 points
27,742 views
0 votes
2 answers

How to rename a S3 bucket name?

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

Oct 4, 2020 in AWS by akhtar
• 38,180 points
25,434 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,240 points
19,740 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,120 points
27,772 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,240 points
3,910 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
35,428 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
23,004 views
0 votes
1 answer

How to remove a resource from Terraform state?

Hi@akhtar, First, you need to remove the resource ...READ MORE

Dec 7, 2020 in Terraform by MD
• 95,240 points
3,393 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,240 points
6,544 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 22, 2020 in AWS by MD
• 95,240 points
6,437 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,180 points
5,686 views
+1 vote
0 answers

copy local data to Azure Blob

I need to copy my data which ...READ MORE

Feb 4 in Cloud Computing by vaiola
• 130 points
100 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,240 points
12,261 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 30,582 views
0 votes
1 answer

Can I create a GCP account for free tier without having to provide the credit card details?

You're always required to provide a credit ...READ MORE

Sep 23, 2019 in GCP by Sirajul
• 59,090 points
20,542 views
0 votes
1 answer

How to enable CORS in Cloud Functions for Firebase?

Hi@akhtar, In your case, you need to set ...READ MORE

Dec 17, 2020 in GCP by MD
• 95,240 points
752 views
+1 vote
1 answer

How to backup Azure SQL Database?

In Azure SQL Database, you can configure ...READ MORE

Jan 22, 2020 in Azure by Sirajul
• 59,090 points
14,953 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 7, 2020 in AWS by MD
• 95,240 points
3,718 views
0 votes
1 answer

How to install Azure CLI with yum?

Hi@akhtar, For Linux distributions with yum such as RHEL, Fedora, ...READ MORE

Nov 13, 2020 in Azure by MD
• 95,240 points
2,114 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,240 points
673 views
0 votes
1 answer

What is this error PRECONDITION_FAILED?

Hi@Genashtim, The condition set in the request's If-Match or If-None-Match HTTP request ...READ MORE

Dec 24, 2020 in GCP by MD
• 95,240 points
321 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,240 points
222 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,240 points
339 views
0 votes
1 answer

How to check the installed version of Terraform?

Hi@akhtar, To check the version, launch Windows PowerShell ...READ MORE

Sep 29, 2020 in Terraform by MD
• 95,240 points
3,893 views
0 votes
1 answer

What does Terraform refresh really do?

Hi@akhtar, The terraform refresh command is used to reconcile the ...READ MORE

Dec 7, 2020 in Terraform by MD
• 95,240 points
829 views
0 votes
1 answer

How to use dynamic resource names in Terraform?

Hi@akhtar, I recommend using a different workspace for each ...READ MORE

Dec 7, 2020 in Terraform by MD
• 95,240 points
775 views
0 votes
1 answer

How to get the azure account tenant Id?

Hi@akhtar, You can find the tenant id with ...READ MORE

Dec 21, 2020 in Azure by MD
• 95,240 points
154 views
0 votes
1 answer

What is the difference between elasticity and scalability in Cloud Computing?

Hi@akhtar, These two terms are sound similar. But ...READ MORE

Dec 16, 2020 in Cloud Computing by MD
• 95,240 points
282 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,180 points
247 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,180 points
231 views
0 votes
1 answer

What is the difference between Cloud, Grid and Cluster?

Hi@akhtar, A Cloud is a unique form of ...READ MORE

Dec 16, 2020 in Cloud Computing by MD
• 95,240 points
85 views
–1 vote
1 answer

How to copy files between Cloud Shell and the local machine in GCP?

Hi@akhtar, You can copy files from the remote ...READ MORE

Nov 9, 2020 in GCP by MD
• 95,240 points
1,717 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,240 points
252 views
0 votes
1 answer

An argument named "versioning" is not expected here. Did you mean to define a block of type "versioning"?

Hi@akhtar, The error is telling that you need ...READ MORE

Dec 1, 2020 in Terraform by MD
• 95,240 points
596 views
0 votes
2 answers

Where do I get Hashicorp certified Terraform associate dumps or exam questions for practice?

From my personal experience, i have used ...READ MORE

Dec 15, 2020 in Terraform by kodilil
• 440 points
1,770 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,240 points
285 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,240 points
277 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,240 points
269 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,240 points
1,746 views
0 votes
1 answer

How are data sources used in Terraform?

Hi@akhtar, A data source is accessed via a ...READ MORE

Dec 7, 2020 in Terraform by MD
• 95,240 points
221 views