Questions tagged [amazon-web-services]

Amazon Web Services (AWS) is a cloud service that offers IaaS (Infrastructure as a Service) and SaaS (Software as a Service) solutions. Only questions about programming in relation to AWS are on-topic. General server help can be obtained at https://serverfault.com. The AWS tag is rarely used alone and will usually be used with other tags to more clearly define the topic of the question.

If you need help setting up AWS resources, ask those questions on Server Fault.

AWS is a cloud service that offers IaaS (Infrastructure as a Service) and SaaS (Software as a Service).

SDKs to access and manage Amazon Web Services are provided in a multitude of programming languages, including PHP, Java, .NET, Node.js, Python, and more. The services are also accessible through REST and SOAP APIs, a command-line interface, and a web console.

Resources:

Related Tags

154810 questions
27
votes
8 answers

Can't ping AWS RDS endpoint

I want to migrate my local mysql database to Amazon RDS. But first I want to test to see if it is receiving communication. So I try to ping it. But the attempt timeout. ping -c 5 myfishdb.blackOut.us-west-2.rds.amazonaws.com PING…
vt2424253
  • 1,387
  • 4
  • 25
  • 39
27
votes
4 answers

No such file or directory - getcwd

I uploaded my Sinatra app to Beanstalk. When I go to my site my logs are returned No such file or directory - getcwd The app was working before. I believe the issue has to do with the fact that I added SASS to my app, but I'm not positive. In my…
thank_you
  • 11,001
  • 19
  • 101
  • 185
27
votes
4 answers

How do I get table and columns information from Redshift?

pg_tables provides a list of tables. Is there a pg_columns or its equivalent to provide the list of columns? In DB2, I would query sysibm.systables/columns to get such information. What is the equivalent in redshift?
Prabhu M
  • 483
  • 2
  • 7
  • 9
27
votes
4 answers

Zip an entire directory on S3

If I have a directory with ~5000 small files on S3, is there a way to easily zip up the entire directory and leave the resulting zip file on S3? I need to do this without having to manually access each file myself. Thanks!
Jin
  • 6,055
  • 2
  • 39
  • 72
27
votes
3 answers

What are the requirements for AWS OpsWorks SSH keys?

Added an RSA deploy key to my private github repo, but when I add it to my OpsWorks rails app (paste public key into the "Repository SSH Key" field), and try to save, I get the error message "Please provide a valid SSH key". Key was generated using…
cdn
  • 1,422
  • 11
  • 12
27
votes
2 answers

Installing Ruby 2.0 and Rails 4.0.0beta on AWS EC2

Installing Ruby 2.0.0 and Rails 4.0.0beta1 on the default Amazon EC2 Linux install (Amazon Linux AMI 2012.09.1) goes smoothly. But openssl gets in the way (eg http://railsapps.github.com/openssl-certificate-verify-failed.html) and weird either…
27
votes
2 answers

Using EC2 to resize images stored on S3 on demand

We need to serve the same image in a number of possible sizes in our app. The library consists of 10's of thousands of images which will be stored on S3, so storing the same image in all it's possible sizes does not seem ideal. I have seen a few…
RunLoop
  • 20,288
  • 21
  • 96
  • 151
27
votes
7 answers

Amazon S3 with s3fs and fuse, transport endpoint is not connected

Redhat with Fuse 2.4.8 S3FS version 1.59 From the AWS online management console i can browse the files on the S3 bucket. When i log-in (ssh) to my /s3 folder, i cannot access it. also the command: "/usr/bin/s3fs -o allow_other bucket /s3" return:…
ilansch
  • 4,784
  • 7
  • 47
  • 96
27
votes
3 answers

How to launch EC2 instance with Boto, specifying size of EBS?

I'm using boto/python to launch a new EC2 instance that boots from an EBS volume. At the time I launch the instance, I'd like to override the default size of the booting EBS volume. I found no boto methods or parameters that might fit into my…
Iron Pillow
  • 2,152
  • 4
  • 20
  • 29
27
votes
6 answers

where and how to read results of ebextensions execution?

I added .ebextensions/start.config file to the root folder of my WAR bundle (as suggested by AWS), deployed it to Elastic Beanstalk, but nothing happened. Where in the EC2 instance can I see log of this file processing? Or maybe I can see this…
yegor256
  • 102,010
  • 123
  • 446
  • 597
27
votes
1 answer

Amazon Route 53 - what do Hosted Zones and Queries mean exactly?

This may seem like a very basic question, well, it is, but I am tad-bit confused after reading about Amazon Route 53 and the FAQs, and wanted to check if I am right. What are Hosted Zones? In layman-speak, it's the number of domains (example.com,…
its_me
  • 10,998
  • 25
  • 82
  • 130
26
votes
6 answers

How to write an S3 object to a file?

What's the fastest way to write an S3 object (of which I have the key) to a file? I'm using Java.
Jason
  • 683
  • 2
  • 9
  • 14
26
votes
2 answers

`aws ecs execute-command` results in `TargetNotConnectedException` `The execute command failed due to an internal error`

I am running a Docker image on an ECS cluster to shell into it and run some simple tests. However when I run this: aws ecs execute-command \ --cluster MyEcsCluster \ --task $ECS_TASK_ARN \ --container MainContainer \ --command "/bin/bash"…
clay
  • 18,138
  • 28
  • 107
  • 192
26
votes
5 answers

GetSecretValue operation is not authorized error with AWS Secrets Manager

I am looking to use AWS secret manager to store my RDS password. I have created my database entry in secret manager without any Rotation option, for now I just want to save a password and retrieve it from my local so I can test applications with it.…
Sidhu177
  • 457
  • 1
  • 6
  • 13
26
votes
8 answers

Not authorized to perform sts:AssumeRoleWithWebIdentity- 403

I have been trying to run an external-dns pod using the guide provided by k8s-sig group. I have followed every step of the guide, and getting the below error. time="2021-02-27T13:27:20Z" level=error msg="records retrieval failed: failed to list…
CK5
  • 1,055
  • 3
  • 16
  • 29
1 2 3
99
100