Questions tagged [amazon-web-services]

Amazon Web Services (AWS) is a public-cloud: IaaS (Infrastructure as a Service) and SaaS (Software as a Service) provided by Amazon. Questions about programming and architecture 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.

Amazon Web Services (AWS) is a public-cloud: IaaS (Infrastructure as a Service) and SaaS (Software as a Service) provided by Amazon from multiple data-centers worldwide. Amazon Web Services (AWS) is a subsidiary of Amazon that provides on-demand cloud computing platforms and APIs to individuals, companies, and governments, on a metered pay-as-you-go basis. With AWS you can utilize computing power (virtual machine instances), storage, and networking, a variety of databases and file stores, messaging systems, and a lot more, as your needs scale up or down.

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

Resources:

Related Tags

117273 questions
178
votes
11 answers

Why should I use Amazon Kinesis and not SNS-SQS?

I have a use case where there will be stream of data coming and I cannot consume it at the same pace and need a buffer. This can be solved using an SNS-SQS queue. I came to know the Kinesis solves the same purpose, so what is the difference? Why…
Apoorv
  • 2,055
  • 2
  • 11
  • 18
177
votes
30 answers

How can I tell how many objects I've stored in an S3 bucket?

Unless I'm missing something, it seems that none of the APIs I've looked at will tell you how many objects are in an /. Is there any way to get a count?
fields
  • 3,677
  • 4
  • 23
  • 27
176
votes
8 answers

How to load npm modules in AWS Lambda?

I've created several Lambda functions using the web based editor. So far so good. I'd now like to start extending those with modules (such as Q for promises). I can't figure out how to get the modules out to Lambda so they can be consumed by my…
Fook
  • 4,220
  • 5
  • 25
  • 45
175
votes
3 answers

How to make all Objects in AWS S3 bucket public by default?

I am using a PHP library to upload a file to my bucket. I have set the ACL to public-read-write and it works fine but the file is still private. I found that if I change the Grantee to Everyone it makes the file public. What I want to know is how…
condo1234
  • 2,645
  • 3
  • 20
  • 31
174
votes
21 answers

How do you search an amazon s3 bucket?

I have a bucket with thousands of files in it. How can I search the bucket? Is there a tool you can recommend?
vinhboy
  • 7,129
  • 7
  • 30
  • 43
173
votes
3 answers

How to rename AWS S3 Bucket name

After all the tough works of migration etc. Just realise that If need to serve the content using CNAME (e.g media.abc.com). The bucket name need to start with media.abc.com/S3/amazon.com to ensure it work perfectly. Just realise that S3 don't allow…
Carson Lee
  • 2,133
  • 3
  • 18
  • 23
171
votes
10 answers

Amazon S3 direct file upload from client browser - private key disclosure

I'm implementing a direct file upload from client machine to Amazon S3 via REST API using only JavaScript, without any server-side code. All works fine but one thing is worrying me... When I send a request to Amazon S3 REST API, I need to sign the…
Olegas
  • 9,749
  • 7
  • 46
  • 70
166
votes
4 answers

Opening port 80 EC2 Amazon web services

I've opened port 80 in the web console on my E2C instance's security group but I still can't access it via the public dns in the browser. Any ideas?
josh
  • 1,687
  • 2
  • 11
  • 3
163
votes
13 answers

Font from origin has been blocked from loading by Cross-Origin Resource Sharing policy

I'm receiving the following error on a couple of Chrome browsers but not all. Not sure entirely what the issue is at this point. Font from origin 'https://ABCDEFG.cloudfront.net' has been blocked from loading by Cross-Origin Resource Sharing…
Dallas Clark
  • 3,894
  • 3
  • 26
  • 33
162
votes
17 answers

Unable to verify secret hash for client in Amazon Cognito Userpools

I am stuck at "Amazon Cognito Identity user pools" process. I tried all possible codes for authenticating user in cognito userpools. But I always get error saying "Error: Unable to verify secret hash for client 4b*******fd". Here is…
Ronak Patel
  • 2,874
  • 3
  • 14
  • 30
161
votes
15 answers

AccessDenied for ListObjects for S3 bucket when permissions are s3:*

I am getting: An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied When I try to get folder from my S3 bucket. Using this command: aws s3 cp s3://bucket-name/data/all-data/ . --recursive The IAM permissions…
user1411335
  • 2,189
  • 3
  • 16
  • 22
160
votes
15 answers

S3 Bucket action doesn't apply to any resources

I'm following the instructions from this answer to generate the follow S3 bucket policy: { "Id": "Policy1495981680273", "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1495981517155", "Action": [ "s3:GetObject" …
Philip Kirkbride
  • 17,347
  • 30
  • 101
  • 195
159
votes
4 answers

How to choose an AWS profile when using boto3 to connect to CloudFront

I am using the Boto 3 python library, and want to connect to AWS CloudFront. I need to specify the correct AWS Profile (AWS Credentials), but looking at the official documentation, I see no way to specify it. I am initializing the client using the…
Nader A. Jabbar
  • 1,778
  • 2
  • 10
  • 6
159
votes
7 answers

EC2 Instance Cloning

Is it possible to clone a EC2 instance data and all?
Josh Scott
  • 3,350
  • 6
  • 27
  • 31
157
votes
12 answers

AWS Lambda Scheduled Tasks

Amazon announced AWS Lambda (http://aws.amazon.com/lambda/). The product description includes: Scheduled Tasks AWS Lambda functions can be triggered by external event timers, so functions can be run during regularly scheduled maintenance times…
Nathan H
  • 44,105
  • 54
  • 154
  • 235