Most viewed questions in AWS

0 votes
1 answer

Difference between Lambda and Lambda@Edge

The major difference is in the API ...READ MORE

Jan 28, 2019 in AWS by Trisha
9,377 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,670 points
9,377 views
0 votes
1 answer

AWS DynamoDB query failed due to attribute having certain characters

your parameter is not matching the datatype ...READ MORE

Oct 15, 2018 in AWS by Priyaj
• 58,020 points
9,320 views
0 votes
2 answers

Copying folders inside Amazon S3 bucket

Here is the example to copy folder ...READ MORE

Nov 29, 2018 in AWS by Archana
• 5,640 points
9,189 views
0 votes
1 answer

How to download a file from EC2 instance to local computer?

You need to specify your download location. ...READ MORE

Oct 10, 2018 in AWS by Archana
• 4,170 points
9,101 views
+1 vote
1 answer

CodeDeploy failed saying The overall deployment failed because too many individual instances failed deployment

Hello Janvi, Please ensure the below things, me ...READ MORE

Dec 27, 2019 in AWS by Thadi Karan
9,093 views
0 votes
1 answer

AWS CodePipeline error "YAML_FILE_ERROR Message: Wrong number of container tags, expected 1"

Show your spec.yaml file. Most probably the ...READ MORE

Jun 28, 2019 in AWS by Himanshu
9,010 views
0 votes
1 answer

Pivot rows into columns in AWS Athena?

You can use the following method :- It ...READ MORE

Oct 29, 2018 in AWS by Priyaj
• 58,020 points
8,975 views
0 votes
1 answer

How to delete / drop multiple tables in AWS athena?

It is not possible to run multiple ...READ MORE

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

In AWS Cloud formation when I upload template it shows error: At least one Resources member must be defined

that's because you have resources defined in ...READ MORE

Oct 25, 2020 in AWS by Spyder
8,927 views
0 votes
1 answer

ERROR 2003 (HY000): Can't connect to MySQL server on 'mydatabase.cn5kssisqx6k.ap-south-1.rds.amazonaws.com' (110 "Connection timed out")

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

Jul 26, 2020 in AWS by MD
• 95,460 points
8,911 views
+1 vote
1 answer

How to import a python module in multiple lambda function?

setup your helper function in your file ...READ MORE

Mar 26, 2019 in AWS by Esha
8,850 views
0 votes
1 answer

How to set up AWS credentials in AWS Powershell?

First, of all the tools installed to ...READ MORE

Nov 22, 2018 in AWS by Archana
• 5,640 points
8,819 views
0 votes
3 answers

How to replace/add key pair for a Windows EC2 instance

Stop the EC2 instance for which you ...READ MORE

Nov 30, 2018 in AWS by Abhinav
8,801 views
0 votes
1 answer

What is the consistency model of DynamoDB?

While reading data from DynamoDB, user can ...READ MORE

Mar 11, 2019 in AWS by Pankaj Sharma
8,777 views
0 votes
1 answer

AWS SSL security error : [curl] 60: SSL certificate prob…: unable to get local issuer certificate

the solution for AWS SDK v2 is ...READ MORE

Nov 2, 2018 in AWS by Priyaj
• 58,020 points
8,770 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
8,756 views
0 votes
1 answer

Is it possible to get ARN of S3 bucket with CLI?

You don't actually need cli to get the ...READ MORE

Feb 19, 2019 in AWS by Archana
• 5,640 points
8,747 views
0 votes
1 answer

Enable CORS for API Gateway in Cloudformation template

After some trial and error, I found ...READ MORE

Oct 9, 2018 in AWS by Priyaj
• 58,020 points
8,744 views
+1 vote
5 answers

Using IAM user account how can I login to AWS Console?

Hi, Here for the above mentioned IAM user ...READ MORE

Jan 27, 2020 in AWS by vivek
• 530 points
8,736 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
8,695 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,460 points
8,636 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

Jul 9, 2020 in AWS by MD
• 95,460 points
8,627 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,020 points
8,614 views
+2 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, 2020 in AWS by MD
• 95,460 points
8,568 views
0 votes
1 answer

What are the Lightsail service limits?

You can currently create up to 20 ...READ MORE

Sep 25, 2018 in AWS by Archana
• 4,170 points
8,538 views
0 votes
1 answer

Error creating DB Instance: InvalidParameterCombination: Cannot find version 5.6.10a for aurora-mysql

I guess engine name 'aurora-mysql' refers to ...READ MORE

Sep 24, 2018 in AWS by Priyaj
• 58,020 points
8,529 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 4, 2019 in AWS by Isha
8,451 views
0 votes
1 answer

View total size of an S3 bucket - aws cli

To view stats about a bucket, which ...READ MORE

Aug 23, 2019 in AWS by Parth
8,423 views
0 votes
1 answer

Amazon Athena - S3 location error

You must know this that Amazon Athena ...READ MORE

Jan 16, 2019 in AWS by Sneha
8,423 views
+2 votes
3 answers

I am not able to stream PDF, using AWS gateway/Lambda setup

I got a discussion on aws forum ...READ MORE

Aug 2, 2018 in AWS by bug_seeker
• 15,520 points
8,402 views
0 votes
1 answer

How can I return binary body and http headers from an AWS lambda through API gateway

I recently got this working after facing ...READ MORE

Sep 4, 2018 in AWS by Priyaj
• 58,020 points
8,333 views
0 votes
1 answer

How to connect Amazon RedShift in Apache Spark?

It turns out you just need a ...READ MORE

Aug 22, 2018 in AWS by Archana
• 4,170 points
8,269 views
+1 vote
3 answers

Which is better ? AWS S3 bucket logs vs AWS cloudtrail

CloudTrail logs API calls accessed to your ...READ MORE

Aug 16, 2018 in AWS by Priyaj
• 58,020 points
8,198 views
0 votes
1 answer

Difference between AWS S3 and Amazon Storage Gateway

Basically AWS S3 is a file system. It ...READ MORE

Aug 4, 2018 in AWS by Archana
• 4,170 points
8,123 views
0 votes
1 answer

aws java sdk for ssm gives java.lang.NoSuchFieldError: SIGNING_REGION

You may start with Checking that you ...READ MORE

Aug 6, 2018 in AWS by Priyaj
• 58,020 points
8,110 views
0 votes
1 answer

ERROR 1045 (28000): Access denied for user in AWS.

Hi@akhtar, You need to reset the password for this. ...READ MORE

Apr 2, 2020 in AWS by MD
• 95,460 points
8,090 views
+1 vote
2 answers

Create an EC2 Instance using AWS CLI

You can get the command here:- https://docs.aws.amazon.com/cli/latest/ ...READ MORE

Feb 15, 2019 in AWS by Dev
• 360 points
8,086 views
0 votes
1 answer

How to write a string to amazon s3 bucket?

without creating a file on S3, can ...READ MORE

Jun 14, 2019 in AWS by datageek
• 3,090 points
8,056 views
0 votes
1 answer

How to create a DynamoDB table using Python?

The code that you can use to ...READ MORE

Feb 22, 2019 in AWS by Priyaj
• 58,020 points
8,048 views
0 votes
1 answer

How can I install curl 7.34 or later on Amazon linux old instance

add a new text file called /etc/yum.repos.d/city-fan.repo ...READ MORE

Aug 9, 2018 in AWS by Priyaj
• 58,020 points
8,031 views
0 votes
1 answer

How to list all the objects in Amazon S3?

As stated already, Amazon S3 indeed requires ...READ MORE

Oct 5, 2018 in AWS by Archana
• 4,170 points
7,957 views
+1 vote
1 answer

AttributeError: 'ec2.ServiceResource' object has no attribute 'create_instance'

This is an attribute error. There are ...READ MORE

Dec 3, 2018 in AWS by Nabarupa
7,894 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, 2020 in AWS by MD
• 95,460 points
7,863 views
0 votes
2 answers

AWS Certificate Manager - How to download public key?

you can not download SSL Certificate from ...READ MORE

Jun 28, 2019 in AWS by salman
7,835 views
0 votes
1 answer

Is Elastic IP available for free-tier?

Elastic IP is not available for free ...READ MORE

Jan 24, 2019 in AWS by Riju
7,821 views
0 votes
1 answer

Configuring Amazon Route 53 to Route Traffic to an ELB Load Balancer

To route traffic to an ELB load ...READ MORE

May 15, 2019 in AWS by Alok
7,795 views
0 votes
2 answers

Launching an EC2 Instance using AWS SDK Java

package com.ec2application.ec2application; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.regions.Regions; import com.amazonaws.services.ec2.AmazonEC2; import ...READ MORE

Jan 22, 2019 in AWS by Priyaj
• 58,020 points
7,704 views
0 votes
1 answer

deploying create-react-app to AWS Elastic Beanstalk

What you are looking for is eb deploy ...READ MORE

Sep 10, 2018 in AWS by Priyaj
• 58,020 points
7,567 views