Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [amazon-web-services]

When asking about Amazon Web Services (AWS), specify which services you are using. Provide details on your architecture/configuration - do not include proprietary or sensitive information this is a public forum. Share relevant parts in a code block along with language tags. Specify the SDK/CLI version. Detail troubleshooting steps taken. The AWS tag is rarely used alone and should be used with other tags to more clearly define the topic of the question.

175 votes
26 answers
183k views

The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256

I get an error AWS::S3::Errors::InvalidRequest The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. when I try upload file to S3 bucket in new Frankfurt region. ...
Alexey's user avatar
  • 2,366
99 votes
3 answers
44k views

Why can't an AWS lambda function inside a public subnet in a VPC connect to the internet?

I've followed the tutorial here to create a VPC with public and private subnets. Then I set up an AWS lambda function inside the public subnet to test if it could connect to the outside internet. ...
Brian's user avatar
  • 13.2k
209 votes
28 answers
100k views

Increasing client_max_body_size in Nginx conf on AWS Elastic Beanstalk

I'm running into "413 Request Entity Too Large" errors when posting files larger than 10MB to our API running on AWS Elastic Beanstalk. I've done quite a bit of research and believe that I need to up ...
Nick Parsons's user avatar
  • 8,567
339 votes
18 answers
182k views

S3 Static Website Hosting Route All Paths to Index.html

I am using S3 to host a javascript app that will use HTML5 pushStates. The problem is if the user bookmarks any of the URLs, it will not resolve to anything. What I need is the ability to take all url ...
Mark Nutter's user avatar
  • 5,589
321 votes
34 answers
403k views

S3 - Access-Control-Allow-Origin Header

Did anyone manage to add Access-Control-Allow-Origin to the response headers? What I need is something like this: <img src="http://360assets.s3.amazonaws.com/tours/8b16734d-336c-48c7-95c4-...
Wowzaaa's user avatar
  • 3,980
36 votes
3 answers
16k views

Amazon CloudFront Latency

I am experimenting with AWS S3 and CloudFront for a web application that I am developing. In the app I'm letting users upload files to the S3 bucket (using the AWS SDK) and make it available via ...
Ahsan's user avatar
  • 2,518
511 votes
23 answers
503k views

How to pass a querystring or route parameter to AWS Lambda from Amazon API Gateway

for instance if we want to use GET /user?name=bob or GET /user/bob How would you pass both of these examples as a parameter to the Lambda function? I saw something about setting a "mapped from" ...
MonkeyBonkey's user avatar
  • 47.4k
305 votes
69 answers
593k views

Amazon S3 - How to fix 'The request signature we calculated does not match the signature' error?

I have searched on the web for over two days now, and probably have looked through most of the online documented scenarios and workarounds, but nothing worked for me so far. I am on AWS SDK for PHP V2....
Joseph Lam's user avatar
  • 5,879
473 votes
37 answers
329k views

How to get an AWS EC2 instance ID from within that EC2 instance?

How can I find out the instance id of an ec2 instance from within the ec2 instance?
flybywire's user avatar
  • 270k
463 votes
22 answers
316k views

Can an AWS Lambda function call another

I have 2 Lambda functions - one that produces a quote and one that turns a quote into an order. I'd like the Order lambda function to call the Quote function to regenerate the quote, rather than just ...
Silver's user avatar
  • 5,021
388 votes
10 answers
134k views

Benefits of EBS vs. instance-store (and vice-versa) [closed]

I'm unclear as to what benefits I get from EBS vs. instance-store for my instances on Amazon EC2. If anything, it seems that EBS is way more useful (stop, start, persist + better speed) at relatively ...
HelloWorldy's user avatar
  • 4,011
123 votes
12 answers
126k views

Is there a way to change the http status codes returned by Amazon API Gateway?

For instance if I want to return a specific 400 error for invalid parameters or perhaps a 201 when the lambda function call resulted in a create. I'd like to have different http status codes but it ...
MonkeyBonkey's user avatar
  • 47.4k
181 votes
26 answers
252k views

API Gateway CORS: no 'Access-Control-Allow-Origin' header

Although CORS has been set up through API Gateway and the Access-Control-Allow-Origin header is set, I still receive the following error when attempting to call the API from AJAX within Chrome: ...
Tyler's user avatar
  • 3,776
364 votes
17 answers
177k views

SSH to Elastic Beanstalk instance

I just signed up for Amazon's new Elastic Beanstalk offering. What I can't figure out is how to SSH to a Beanstalk instance. I don't have a private key because Beanstalk generated the instance on my ...
Thomas D's user avatar
  • 3,755
348 votes
11 answers
175k views

How do you add swap to an EC2 instance?

I'm currently running an ec2 micro instance and i've been finding that the instance occasionally runs out of memory. Other than using a larger instance size, what else can be done?
ajtrichards's user avatar
  • 30.4k

15 30 50 per page
1
2 3 4 5
746