Trending questions in AWS

0 votes
3 answers

How to check instance state and status via Lambda function in AWS?

import boto3 from pprint import pprint def lambda_handler(event, context):          # ...READ MORE

Sep 8, 2020 in AWS by Shrikant
• 180 points
10,456 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,460 points
3,339 views
+3 votes
6 answers

How to move files from amazon ec2 to s3 bucket using command line

Hey, 3 ways you can do this: To ...READ MORE

Oct 9, 2018 in AWS by Omkar
• 69,220 points
20,012 views
+1 vote
3 answers

Log in to AWS using Access Key ID and Secret Access Key ID

You can also use the access key ...READ MORE

Aug 30, 2018 in AWS by eatcodesleeprepeat
• 4,710 points
41,555 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,460 points
2,146 views
+2 votes
1 answer

How to print all the instance-id and instance-state using Python boto3

You can simply loop through using a ...READ MORE

Dec 3, 2018 in AWS by Nabarupa
34,557 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,460 points
2,744 views
0 votes
1 answer
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,460 points
2,635 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,260 points
2,287 views
0 votes
1 answer

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

Hi@Lakshminarayanan, The send_command attribute is not available in ...READ MORE

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

How to delete an origin access identity in Cloudfront?

Hi@akhtar, You can delete your origin access identity ...READ MORE

Nov 2, 2020 in AWS by MD
• 95,460 points
4,107 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,230 views
0 votes
1 answer

Is there any impact when i create AMI without SYSPREP shutdown in Windows EC2 instance?

Hi@Lakshminarayanan, I think it will impact your instance ...READ MORE

Oct 30, 2020 in AWS by MD
• 95,460 points
4,033 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,460 points
2,267 views
0 votes
1 answer

An error occurred (AccessDenied) when calling the CreateBucket operation: Access Denied

Hi@akhtar, You are getting this error because your ...READ MORE

Oct 7, 2020 in AWS by MD
• 95,460 points
4,892 views
0 votes
1 answer

How to change the name of a repository in AWS CodeCommit?

Hi@akhtar, You can rename a repository. The repository name ...READ MORE

Nov 25, 2020 in AWS by MD
• 95,460 points
2,781 views
0 votes
1 answer

How to get the contents of a folder in an AWS CodeCommit repository?

Hi@akhtar, The following get-folder example demonstrates how to get the ...READ MORE

Nov 25, 2020 in AWS by MD
• 95,460 points

edited Aug 4, 2023 by Khan Sarfaraz 2,755 views
+1 vote
1 answer

Error: Private key must begin with "-----BEGIN RSA PRIVATE KEY-----" and end with "-----END RSA PRIVATE KEY-----"

Hi@akhtar, If you use a third-party tool, such ...READ MORE

Apr 28, 2020 in AWS by MD
• 95,460 points
11,662 views
0 votes
1 answer

How to change the default branch for a repository in AWS CodeCommit?

Hi@akhtar, You can set or change the default branch name ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,460 points
2,500 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,460 points
1,852 views
0 votes
1 answer

How to edit files in the AWS S3 bucket from CLI?

Hi@akhtar, According to my knowledge,  you can't edit ...READ MORE

Jun 8, 2020 in AWS by MD
• 95,460 points
9,692 views
0 votes
1 answer

How to create a security group in AWS with Boto3?

Hi@akhtar, You can create a new security group ...READ MORE

Oct 11, 2020 in AWS by MD
• 95,460 points
4,267 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
22,829 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,460 points
1,121 views
0 votes
1 answer

how do i copy/move incremental aws snapshot to s3 bucket ?

Hi@gorie, You can do this in two ways. ...READ MORE

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

How to create or update tags for an Auto Scaling group in AWS?

Hi@akhtar, You can create or update tags for the specified ...READ MORE

Nov 26, 2020 in AWS by MD
• 95,460 points
1,990 views
0 votes
2 answers

Error : No supported authentication methods available on AWS

Diff from other answers above: I received this ...READ MORE

Mar 25, 2019 in AWS by Bathinda
• 140 points
32,227 views
0 votes
1 answer

How to view a list of repositories in AWS CodeCommit?

Hi@akhtar, You can lists all AWS CodeCommit repositories ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,460 points
2,032 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,460 points
1,416 views
0 votes
1 answer

How to attach an instance to an Auto Scaling group in AWS?

Hi@akhtar, You can attach one or more EC2 instances ...READ MORE

Nov 26, 2020 in AWS by MD
• 95,460 points
1,894 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
7,936 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,260 points
1,009 views
0 votes
1 answer

bad permissions: ignore key: .ssh/my_private_key.pem Permission denied (publickey).

Hi@akhtar, In your error message it shows you ...READ MORE

Apr 28, 2020 in AWS by MD
• 95,460 points
10,967 views
0 votes
1 answer

How to describe a ECS cluster with AWS CLI?

Hi@akhtar, You can describe your clusters from the ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,460 points
2,483 views
0 votes
1 answer

How to reboot a RedShift Cluster?

Hi@akhtar, You can reboot a cluster. with the CLI ...READ MORE

Nov 27, 2020 in AWS by MD
• 95,460 points
1,591 views
0 votes
1 answer

How to create a pull request in AWS CodeCommit?

Hi@akhtar, The following create-pull-request example creates a pull request named ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,460 points
1,746 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,460 points
1,663 views
0 votes
1 answer

How to delete a Lambda function using AWS CLI?

Hi@akhtar, You can delete a Lambda function. To ...READ MORE

Nov 5, 2020 in AWS by MD
• 95,460 points
2,484 views
0 votes
1 answer

How to open S3 object as a string with Boto3?

Hi@akhtar, If you want to return a string, you ...READ MORE

Sep 21, 2020 in AWS by MD
• 95,460 points
4,392 views
0 votes
1 answer

How to delete a Cluster with No Final Cluster Snapshot in RedShift?

Hi@akhtar, You can delete a previously provisioned cluster without ...READ MORE

Nov 27, 2020 in AWS by MD
• 95,460 points
1,450 views
0 votes
1 answer

How to run user data in windows instance using boto3?

Hi@Lakshminarayanan, I think you used the wrong keyword ...READ MORE

Oct 13, 2020 in AWS by MD
• 95,460 points
3,377 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,460 points
1,461 views
0 votes
1 answer

How to forward https traffic to launching new instances?

Hi@Lakshminarayanan, You can do this with the routing ...READ MORE

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

How to activate or deactivate an access key for an IAM user?

Hi@akhtar, The following update-access-key command deactivates the specified access key ...READ MORE

Nov 4, 2020 in AWS by MD
• 95,460 points
2,282 views
0 votes
1 answer

How to add permissions to an existing Lambda function?

Hi@akhtar, You can grant an AWS service or another ...READ MORE

Nov 5, 2020 in AWS by MD
• 95,460 points
2,223 views
0 votes
1 answer

How to create a branch in an AWS CodeCommit repository?

Hi@akhtar, This example creates a branch in an ...READ MORE

Nov 23, 2020 in AWS by MD
• 95,460 points
1,429 views
0 votes
1 answer

How to delete an empty ECS cluster using AWS CLI?

Hi@akhtar, You can delete the specified ECS cluster. The ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,460 points
2,019 views
0 votes
1 answer

I want to read .csv file from S3 and load/write the same data to cassandra.

Hi@Raj, You need to use the connector that ...READ MORE

Sep 4, 2020 in AWS by MD
• 95,460 points
4,805 views