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
1129
votes
15 answers

Why do people use Heroku when AWS is present? What distinguishes Heroku from AWS?

I'm a beginner RoR programmer who's planning to deploy my app using Heroku. Word from my other advisor friends says that Heroku is really easy, good to use. The only problem is that I still have no idea what Heroku does... I've looked at their…
Bryan
  • 11,487
  • 4
  • 13
  • 12
844
votes
34 answers

Trying to SSH into an Amazon Ec2 instance - permission error

This is probably a stupidly simple question to some :) I've created a new linux instance on Amazon EC2, and as part of that downloaded the .pem file to allow me to SSH in. When I tried to ssh with: ssh -i myfile.pem I…
Matt Roberts
  • 24,113
  • 29
  • 94
  • 164
826
votes
31 answers

Downloading an entire S3 bucket?

I noticed that there doesn't seem to be an option to download an entire S3 bucket from the AWS Management Console. Is there an easy way to grab everything in one of my buckets? I was thinking about making the root folder public, using wget to grab…
rugbert
  • 9,753
  • 9
  • 35
  • 60
536
votes
7 answers

What is the difference between Amazon SNS and Amazon SQS?

When would I use SNS versus SQS, and why are they always coupled together?
Nick Ginanto
  • 26,414
  • 39
  • 123
  • 214
451
votes
23 answers

Change key pair for ec2 instance

How do I change the key pair for my ec2 instance in AWS management console? I can stop the instance, I can create new key pair, but I don't see any link to modify the instance's key pair.
Michael Chen
  • 4,608
  • 3
  • 13
  • 9
446
votes
14 answers

scp (secure copy) to ec2 instance without password

I have an EC2 instance running (FreeBSD 9 AMI ami-8cce3fe5), and I can ssh into it using my amazon-created key file without password prompt, no problem. However, when I want to copy a file to the instance using scp I am asked to enter a…
Hoff
  • 34,679
  • 17
  • 65
  • 89
431
votes
5 answers

What is difference between Lightsail and EC2?

Recently Amazon launched Lightsail. Is there any difference between them? If yes, then what's the difference? Are Lightsail instances more powerful than EC2?
mohitmun
  • 4,841
  • 3
  • 15
  • 16
408
votes
32 answers

How to get the instance id from within an ec2 instance?

How can I find out the instance id of an ec2 instance from within the ec2 instance?
flybywire
  • 232,954
  • 184
  • 384
  • 491
405
votes
21 answers

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" in the documentation, but I can't find that setting in…
MonkeyBonkey
  • 40,521
  • 63
  • 217
  • 426
385
votes
10 answers

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

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 little difference in cost...? Also, is there any…
HelloWorldy
  • 3,981
  • 3
  • 14
  • 5
370
votes
18 answers

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 receive it from an untrusted client. I've looked…
Silver
  • 4,061
  • 3
  • 13
  • 16
355
votes
5 answers

How to safely upgrade an Amazon EC2 instance from t1.micro to large?

I have an Amazon EC2 micro instance (t1.micro). I want to upgrade this instance to large. This is our production environment, so what is the best and risk-free way to do this? Is there any step by step guide to do this?
gandil
  • 5,348
  • 4
  • 22
  • 44
355
votes
29 answers

Permission denied (publickey) when SSH Access to Amazon EC2 instance

I want to use my Amazon ec2 instance but faced the following error: Permission denied (publickey). I have created my key pair and downloaded .pem file. Given: chmod 600 pem file. Then, this command ssh -i…
Kashiftufail
  • 10,487
  • 10
  • 41
  • 78
352
votes
13 answers

AWS EFS vs EBS vs S3 (differences & when to use?)

As per the title of this question, what are the practical differences between AWS EFS, EBS and S3? My understanding of each: S3 is a storage facility accessible any where EBS is a device you can mount onto EC2 EFS is a file system you can mount…
Integralist
  • 5,121
  • 3
  • 21
  • 34
348
votes
14 answers

Connect to Amazon EC2 file directory using Filezilla and SFTP

I have created an AWS EC2 Instance and I want to be able to upload files to the server directory using FileZilla in the simplest and most straightforward fashion possible.
Eric Brotto
  • 49,233
  • 29
  • 122
  • 171
1
2 3
99 100