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
342
votes
2 answers

Difference between Amazon EC2 and AWS Elastic Beanstalk

Can someone please explain what is the difference between EC2 and Beanstalk. I want to know regarding SaaS, PaaS and IaaS. To deploy a web application in Wordpress I need a scalable hosting service. If there anything better than my purpose, please…
329
votes
15 answers

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 behalf.
323
votes
19 answers

EC2 instance has no public DNS

A guy I work with gave me the EC2 credentials to log onto his EC2 console. I was not the one who set it up. Some of the instances show a public dns name and others have a blank public DNS. I want to be able to connect to the instances that have a…
user1456508
  • 3,361
  • 2
  • 12
  • 11
309
votes
10 answers

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
  • 26,991
  • 13
  • 84
  • 93
299
votes
2 answers

Make a bucket public in Amazon S3

How can I set a bucket in Amazon S3 so all the files are publicly read-only by default?
Victor
  • 20,476
  • 27
  • 76
  • 108
299
votes
5 answers

What data is stored in Ephemeral Storage of Amazon EC2 instance?

I am trying to stop a Amazon EC2 instance and get the warning message Warning: Please note that any data on the ephemeral storage of your instance will be lost when it is stopped. My Question What data is stored in ephemeral storage of an Amazon…
Gaurav Agarwal
  • 17,165
  • 28
  • 97
  • 157
296
votes
20 answers

AWS ssh access 'Permission denied (publickey)' issue

How to connect to a AWS instance through ssh? I have: Signed up at AWS; Created a public key and a certificate at AWS website and saved them to disk; Went to my console and created environment variables: $ export…
Alex
  • 37,703
  • 43
  • 90
  • 124
276
votes
18 answers

How to yum install Node.JS on Amazon Linux

I've seen the writeup on using yum to install the dependencies, and then installing Node.JS & NPM from source. While this does work, I feel like Node.JS and NPM should both be in a public repo somewhere. How can I install Node.JS and NPM in one…
Tim Fulmer
  • 8,992
  • 4
  • 22
  • 32
273
votes
26 answers

Cannot ping AWS EC2 instance

I have an EC2 instance running in AWS. When I try to ping from my local box it is not available. How can I make the instance pingable?
santosh s
  • 2,759
  • 2
  • 11
  • 5
272
votes
13 answers

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 requests and serve up the root index.html in my…
Mark Nutter
  • 4,859
  • 4
  • 13
  • 12
266
votes
4 answers

Do you get charged for a 'stopped' instance on EC2?

Bit confused here, I have an on-demand instance but do I get charged even when I stop the instance?
Mantorok
  • 4,930
  • 2
  • 21
  • 31
260
votes
17 answers

Listing contents of a bucket with boto3

How can I see what's inside a bucket in S3 with boto3? (i.e. do an "ls")? Doing the following: import boto3 s3 = boto3.resource('s3') my_bucket = s3.Bucket('some/path/') returns: s3.Bucket(name='some/path/') How do I see its contents?
Amelio Vazquez-Reina
  • 74,000
  • 116
  • 321
  • 514
259
votes
12 answers

Setting up FTP on Amazon Cloud Server

I am trying to set up FTP on Amazon Cloud Server, but without luck. I search over net and there is no concrete steps how to do it. I found those commands to run: $ yum install vsftpd $ ec2-authorize default -p 20-21 $ ec2-authorize default -p…
SharkTheDark
  • 3,049
  • 4
  • 21
  • 28
255
votes
10 answers

When to use Amazon Cloudfront or S3

Are there use cases that lend themselves better to Amazon cloudfront over s3 or the other way around? I'm trying to understand the difference between the 2 through examples.
Kamo
  • 3,027
  • 2
  • 17
  • 20
252
votes
20 answers

How to rename files and folder in Amazon S3?

Is there any function to rename files and folders in Amazon S3? Any related suggestions are also welcome.
Shan
  • 2,712
  • 2
  • 11
  • 15