Most viewed questions in AWS

+3 votes
1 answer

API Gateway CORS: no 'Access-Control-Allow-Origin' header

I get the same problem. I have ...READ MORE

Oct 9, 2018 in AWS by Priyaj
• 58,100 points
9,500 views
0 votes
1 answer

no viable alternative at input create external (service: amazonathena; status code: 400;

In your case a (,) comma is ...READ MORE

Nov 26, 2018 in AWS by Priyaj
• 58,100 points
9,278 views
0 votes
2 answers

How do i use wildcards to copy group of files in AWS CLI?

Here's a UNIX/Linux shell way. for f in ...READ MORE

Feb 24, 2020 in AWS by paul
9,134 views
0 votes
1 answer

How to check wether a bucket exists using boto3?

You can use this code to check ...READ MORE

Dec 5, 2018 in AWS by Rishav
9,071 views
0 votes
1 answer

Javascript code to download a file from Amazon S3

Hai, I was thinking along the same ...READ MORE

Dec 31, 2018 in AWS by Archana
• 5,640 points
9,027 views
0 votes
1 answer

How to print the names of all the bucket in S3 in Python?

You can use a for loop to ...READ MORE

Nov 30, 2018 in AWS by Aniket
8,787 views
0 votes
1 answer
0 votes
1 answer

Cost of storing AMI

You are only charged for the storage ...READ MORE

Aug 7, 2018 in AWS by Priyaj
• 58,100 points
8,575 views
+5 votes
2 answers

AWS EC2 Instances are not getting to internet access

Check your VPC settings, whether you are ...READ MORE

Oct 16, 2018 in AWS by Omkar
• 69,110 points
8,499 views
0 votes
1 answer
0 votes
2 answers

What is the difference between CloudWatch and CloudTrail?

CloudWatch is mostly used to monitor operational ...READ MORE

Jun 1, 2019 in AWS by Javed Ali
8,333 views
0 votes
4 answers

Renaming AWS Lambda function

Nope- the function name is immutable READ MORE

Mar 6, 2019 in AWS by anonymous
8,273 views
+1 vote
1 answer

How to stop an Instance using python boto3?

Both terminating and stopping has same code ...READ MORE

Dec 3, 2018 in AWS by Nabarupa
8,260 views
0 votes
2 answers

Create an S3 bucket using CloudFormation - AWS

Hey you can create an S3 bucket ...READ MORE

Aug 19, 2020 in AWS by Preeti

edited Aug 19, 2020 8,030 views
+2 votes
1 answer

How to combine multiple S3 objects in the target S3 object w/o leaving S3

"However sometimes our raw objects are not ...READ MORE

Aug 28, 2018 in AWS by Priyaj
• 58,100 points
7,918 views
0 votes
1 answer

How do I create folder under an Amazon S3 bucket through PHP API?

Of Course, it is possible to create ...READ MORE

Apr 24, 2018 in AWS by anonymous
7,642 views
+1 vote
1 answer

How to create an Ec2 instance using Python boto3?

You can use the following code, it ...READ MORE

Dec 3, 2018 in AWS by Nabarupa
7,619 views
+1 vote
2 answers

How do I run python script on aws EC2 instance(ubuntu)?

I believe that you are using the ...READ MORE

Apr 17, 2018 in AWS by Cloud gunner
• 4,650 points
7,448 views
0 votes
1 answer

Copying one table to another in DynamoDB

Hai! Even I wanted to know the ...READ MORE

Jan 16, 2019 in AWS by Archana
• 5,640 points
7,179 views
+5 votes
2 answers

Can we migrate the AWS Cognito users between the user pools?

Yes, it is possible that this scenario ...READ MORE

Apr 13, 2018 in AWS by Cloud gunner
• 4,650 points
7,165 views
0 votes
1 answer

Nodejs AWS SDK S3 Generate Presigned URL

Your code is correct, double check following: Your ...READ MORE

Sep 18, 2018 in AWS by Priyaj
• 58,100 points
7,154 views
0 votes
1 answer

What is the meaning of def lambda_handler(event, context):

Hey @sradha,  def lambda_handler(event, context):  Here def is for ...READ MORE

Dec 27, 2018 in AWS by Nabarupa
7,131 views
0 votes
1 answer

What is the difference between Amazon Athena and S3 Select?

Athena can be used by AWS Console, ...READ MORE

Jan 17, 2019 in AWS by Edureka
• 4,220 points
7,030 views
0 votes
2 answers

how to import numpy and pandas inside aws lambda function?

this approach worked for me: https://medium.com/@melissa_89553/how-to- ...READ MORE

Oct 9, 2020 in AWS by anonymous
7,008 views
+1 vote
1 answer

difference between client and resource in boto3

The main difference between Client and Resources ...READ MORE

Mar 1, 2019 in AWS by Priyaj
• 58,100 points
6,917 views
0 votes
2 answers

aws keep returning 502 bad gateway error using python flask

The 502 Bad Gateway Error is an ...READ MORE

Jan 3, 2019 in AWS by iangregor
• 300 points
6,905 views
0 votes
2 answers

how to import numpy and pandas inside aws lambda function?

I had good luck using pre-made pandas ...READ MORE

Nov 3, 2020 in AWS by anonymous

reshown Nov 3, 2020 by Sirajul 6,461 views
0 votes
1 answer

Difference between working of Auto-Scaling and ELB?

Well, both are the services offered by AWS, ...READ MORE

Jun 14, 2019 in AWS by ArchanaNagur
• 2,340 points
6,400 views
0 votes
1 answer

how to access AWS S3 from Lambda in VPC

With boto3, the S3 urls are virtual by default, ...READ MORE

Sep 28, 2018 in AWS by Priyaj
• 58,100 points
6,381 views
0 votes
1 answer

Error in Adding LIMIT fixes “Invalid digit, Value N” in Amazon Redshift.

This could be expressed simply as: SELECT TOP ...READ MORE

Sep 4, 2018 in AWS by Priyaj
• 58,100 points
6,331 views
+1 vote
1 answer

'No module named 'requests'' on the AWS Python Lambda function?

Hi@akhtar, According to my knowledge requests is not ...READ MORE

Apr 15, 2020 in AWS by MD
• 95,140 points
6,270 views
0 votes
1 answer

Downloading an entire S3 bucket

On AWS CLI you can use Command: aws s3 ...READ MORE

Apr 29, 2019 in AWS by Archana
• 5,640 points
6,193 views
0 votes
1 answer

Can we use Terraform to execute SQL script on RDS MySQL?

I don't think remote-exec is what you ...READ MORE

Aug 21, 2018 in AWS by Priyaj
• 58,100 points
6,184 views
0 votes
1 answer

How to create an EC2 instance using Python?

Hey JunDevOps, Have a look these scripts: 1. ...READ MORE

Jun 24, 2019 in AWS by Aysha

edited Jun 25, 2019 6,150 views
+1 vote
1 answer

Difference between an Edge Location and Availability Zone.

Both the Edge Locations (EL) and Availability ...READ MORE

Aug 6, 2019 in AWS by Yogi
6,117 views
+1 vote
3 answers

Not able to pass params POST to AWS Lambda from Amazon API Gateway

For this template : application/x-www-form-urlencoded  This line below will ...READ MORE

Jun 13, 2018 in AWS by Cloud gunner
• 4,650 points
6,079 views
0 votes
1 answer

Nginx error "502 Bad Gateway nginx/1.16.0"

This typically indicates that a back-end service ...READ MORE

Jul 3, 2019 in AWS by Isha
6,051 views
0 votes
1 answer

How to recover lost private key of an EC2 instance?

I'm afraid it's not possible When you launch ...READ MORE

Sep 25, 2018 in AWS by Archana
• 4,150 points
5,884 views
+1 vote
1 answer

How to delete an EC2 instance using Python boto3

You just need to have the list ...READ MORE

Dec 3, 2018 in AWS by Nabarupa
5,809 views
0 votes
1 answer

Trying to Determine Amazon EC2 instance creation date/time

You can't find as such attribute called ...READ MORE

May 29, 2018 in AWS by Flying geek
• 3,260 points
5,796 views
0 votes
1 answer

Error: upload failed:Parameter validation failed

You have not mentioned the file you ...READ MORE

Nov 27, 2018 in AWS by Shuvodip Ghosh
5,749 views
0 votes
1 answer

How to fetch a list of items (like a SQL IN clause)

You can use this as this worked ...READ MORE

Oct 26, 2018 in AWS by Priyaj
• 58,100 points
5,739 views
0 votes
1 answer

Does boto3 ec2.instances.filter have equivalent to AWS CLI --query?

"filter - does filtering at the AWS ...READ MORE

Sep 18, 2018 in AWS by Priyaj
• 58,100 points
5,601 views
0 votes
1 answer

How to create EMR cluster using Python boto3?

The python boto3 code for creating a ...READ MORE

Feb 27, 2019 in AWS by Priyaj
• 58,100 points
5,596 views
0 votes
2 answers

How to skip headers when reading a CSV file in S3 and creating a table in AWS Athena?

Thanks for the answer. This should be clear ...READ MORE

Aug 14, 2019 in AWS by athenauserz
5,585 views
+1 vote
4 answers

How do I cache my images which are stored in Amazon S3?

when caching ec2 instance these can be ...READ MORE

Oct 23, 2018 in AWS by Nabarupa
5,564 views
0 votes
1 answer

How to update or insert data using Athena?

Athena is a query language and as ...READ MORE

Jan 17, 2019 in AWS by Edureka
• 4,220 points
5,541 views
+3 votes
2 answers

How to download an entire bucket from S3 to local folder?

You can simply download your S3 bucket ...READ MORE

Dec 11, 2018 in AWS by Priyaj
• 58,100 points
5,502 views
+1 vote
1 answer

AWS Network load balancer - What is client reset count (and why is it high)

There are many reasons for an TCP ...READ MORE

Aug 23, 2018 in AWS by Priyaj
• 58,100 points
5,444 views