Most viewed questions in AWS

0 votes
0 answers

I want to get file name from key in S3 bucket wanted to read single file from list of file present in bucket

1 <class 'boto.s3.key.Key'> <Key: numbers-email, staging/Procured_Numbers_Status/procured_numbers_status_2019-05-15:06:09:04.csv> I ...READ MORE

May 15, 2019 in AWS by anonymous
6,620 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,090 points
6,610 views
0 votes
1 answer

How to load data into a table in DynamoDB using Java?

You can create a .json file with the ...READ MORE

Feb 26, 2019 in AWS by Priyaj
• 58,090 points
6,561 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
6,511 views
0 votes
1 answer

When should I use a t2.medium vs. a m3.medium instance type within AWS?

30000 hits per month is on average ...READ MORE

Aug 17, 2018 in AWS by Priyaj
• 58,090 points
6,451 views
0 votes
2 answers

How can I find out the instance id of an ec2 instance from within the ec2 instance?

A curl or wget to http://169.254.169.254/latest/meta-data/instance-id will ...READ MORE

Mar 9, 2020 in AWS by anonymous
6,436 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,090 points
6,417 views
+1 vote
1 answer

Getting error while terminating the Instance using Python boto3

You can visit the link here and ...READ MORE

Dec 3, 2018 in AWS by Nabarupa
6,399 views
0 votes
2 answers

How to access files in S3 bucket from R?

You can take a look at the ...READ MORE

Aug 10, 2018 in AWS by Deepthi
• 300 points
6,395 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,440 points
6,377 views
0 votes
1 answer

What is the best way to check if table exists in DynamoDB?

This function gives you a nice boolean ...READ MORE

Nov 30, 2018 in AWS by Archana
• 5,640 points
6,371 views
0 votes
1 answer

Is it possible to find all S3 buckets given a prefix?

The high level collection command s3.buckets.filter only ...READ MORE

Aug 27, 2018 in AWS by Archana
• 4,170 points
6,304 views
0 votes
1 answer

Install Jenkins on an ec2 instance

Hey @Yamini, follow these steps: 1. Install Java yum ...READ MORE

Aug 1, 2019 in AWS by Varsha
6,239 views
0 votes
1 answer

AWS Lambda with Zappa fails on “Unable to import module 'handler': No module named builtins”

I solved the problem. I'm using pipenv ...READ MORE

Sep 18, 2018 in AWS by Priyaj
• 58,090 points
6,239 views
0 votes
1 answer

"errorMessage": "An error occurred (UnauthorizedOperation) when calling the DescribeInstanceStatus operation: You are not authorized

Hi@akhtar, You are not able to access your ...READ MORE

Apr 2, 2020 in AWS by MD
• 95,440 points
6,223 views
0 votes
1 answer

AWS Access Key error when uploading to S3

You can try getting creating a new ...READ MORE

Feb 6, 2019 in AWS by Priyaj
• 58,090 points
6,151 views
0 votes
1 answer

How do I invoke another lambda async and pass context to it?

I tried several times trying to pass ...READ MORE

Apr 27, 2018 in AWS by Cloud gunner
• 4,670 points
6,137 views
0 votes
1 answer

HIVE_CURSOR_ERROR: Row is not a valid JSON Object - JSONException

This is not the correct form of ...READ MORE

Nov 27, 2018 in AWS by Shuvodip Ghosh
6,050 views
0 votes
1 answer

Can anybody tell me about Elastic IP pricing and Elastic IP Remap?

Hi@akhtar, The Elastic IP address doesn't incur charges ...READ MORE

Mar 4, 2020 in AWS by MD
• 95,440 points
6,037 views
0 votes
1 answer

How to restrict Cloudfront service countrywise?

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

Jun 5, 2020 in AWS by MD
• 95,440 points
5,982 views
0 votes
1 answer

AWS:Using S3 with EC2 instances

Yes, it can be used for instances ...READ MORE

Jun 26, 2018 in AWS by hemant
• 5,790 points
5,979 views
0 votes
1 answer

htaccess redirect + hide subfolder in url

I found this after searching, Try this rule: # ...READ MORE

Aug 10, 2018 in AWS by Priyaj
• 58,090 points
5,961 views
0 votes
1 answer

How to create a S3 bucket using AWS CLI?

You can use the following command:- C:\Users\priyj_kumar>aws s3api ...READ MORE

Feb 15, 2019 in AWS by Priyaj
• 58,090 points
5,931 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,440 points
5,918 views
0 votes
1 answer

Directory Listing in S3 Static Website

There is also a solution: https://github.com/caussourd/aws-s3-bucket-listing Similar to https://github.com/rgrp/s3-bucket-listing but I couldn't ...READ MORE

Jul 18, 2018 in AWS by Cloud gunner
• 4,670 points
5,916 views
0 votes
1 answer

How to temporarily change the state of an alarm in CloudWatch?

Hi@akhtar, You can temporarily set the state of ...READ MORE

Nov 18, 2020 in AWS by MD
• 95,440 points
5,888 views
0 votes
1 answer

How to terminate EC2 instance using boto3?

Hi@akhtar, We can create and modify an EC2 ...READ MORE

Oct 7, 2020 in AWS by MD
• 95,440 points
5,874 views
0 votes
1 answer

How to Describe security groups with Boto3?

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

Oct 8, 2020 in AWS by MD
• 95,440 points
5,869 views
+1 vote
2 answers

Can there be communication between VPC in two different regions?

Hello,  VPC peering supports between different regions. If ...READ MORE

Nov 20, 2018 in AWS by Sankar
5,841 views
0 votes
1 answer

Components of Amazon VPC

In AWS the VPC cosists of the ...READ MORE

Feb 11, 2019 in AWS by Raj
5,707 views
0 votes
2 answers

How to test credentials for AWS Command Line Tools

This command always works regardless of the ...READ MORE

Aug 8, 2018 in AWS by anonymous
5,691 views
0 votes
1 answer

How to invoke the AWS lambda function from Java code

There are 2 methods in this class which should ...READ MORE

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

Renaming column name in Athena

You can use :- ALTER TABLE %%table-name%% CHANGE ...READ MORE

Jan 17, 2019 in AWS by julie
5,653 views
0 votes
1 answer

Download a specific folder and all subfolders recursively from s3 - aws cli

Use the recursive function for this purpose: $ ...READ MORE

Aug 23, 2019 in AWS by Alia
5,563 views
0 votes
1 answer

How to insert a record in DynamoDB stored in a json file using CLI?

The command is the same as that ...READ MORE

Feb 22, 2019 in AWS by Priyaj
• 58,090 points
5,554 views
+1 vote
1 answer

An error occurred (InvalidKeyPair.NotFound) when calling the RunInstances operation: The key pair 'key123.pem' does not exist

Hi@akhtar, In your command don't use .pem extension ...READ MORE

Jun 2, 2020 in AWS by MD
• 95,440 points
5,547 views
+3 votes
3 answers

Package com.amazonaws.services.lambda.runtime showing : does not exist in AWS java sdk 1.10.2

Add AWS plugins within eclipse from market ...READ MORE

Aug 23, 2018 in AWS by Priyaj
• 58,090 points
5,524 views
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

Oct 4, 2018 in AWS by Priyaj
• 58,090 points
5,494 views
0 votes
1 answer

Amazon EC2 instance unable to resolve host.

Here is my checklist of things you ...READ MORE

Aug 23, 2018 in AWS by Archana
• 4,170 points
5,488 views
+1 vote
2 answers

How to install Python MySQLdb module using pip?

It's easy to do, but hard to ...READ MORE

Aug 1, 2018 in AWS by Priyaj
• 58,090 points
5,479 views
0 votes
1 answer

How to read data from S3 in a regular inetrval using Spark Scala

Inorder to get it done first you ...READ MORE

Oct 31, 2018 in AWS by Priyaj
• 58,090 points
5,455 views
0 votes
1 answer

Is there a limit for the maximum throughput for a single provision in DynamoDB table?

The maximum provisioned throughput you can request ...READ MORE

Feb 15, 2019 in AWS by Heena
5,415 views
0 votes
1 answer

What are the different methods of Uploading a file to S3 bucket using boto3?

There are three ways in which you ...READ MORE

Nov 30, 2018 in AWS by Aniket
5,384 views
0 votes
1 answer

Error creating Key Pair: You are not authorized to perform this operation

Try adding AmazonEC2FullAccess policy. If you are not sure how ...READ MORE

Sep 19, 2018 in AWS by Priyaj
• 58,090 points
5,344 views
+2 votes
2 answers

How do we move a domain from Hostgator to AWS Route 53?

I found this  Before transferring a domain, make ...READ MORE

Aug 3, 2018 in AWS by Priyaj
• 58,090 points
5,326 views
0 votes
1 answer

Want to use an AWS Cognito User Pool without putting a password(for an easier approach)

Currently, AWS Cognito is not supporting passwordless ...READ MORE

May 4, 2018 in AWS by Cloud gunner
• 4,670 points
5,222 views
0 votes
1 answer

Difference between P3 and G3 Instances?

P3 instances provided by AWS that are ...READ MORE

Jan 30, 2019 in AWS by sukesh
5,219 views
0 votes
1 answer

How to measure the total size of an S3 bucket using python?

Hi@akhtar, You can do this tasks using Boto. ...READ MORE

Apr 15, 2020 in AWS by MD
• 95,440 points
5,217 views
+1 vote
1 answer

Trying to connect to redis running on ec2 instance locally but getting error despite all traffic inbound

Your redis is not listening for connections from outside, ...READ MORE

Sep 26, 2018 in AWS by Priyaj
• 58,090 points
5,214 views