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
154
votes
11 answers

Growing Amazon EBS Volume sizes

I'm quite impressed with Amazon's EC2 and EBS services. I wanted to know if it is possible to grow an EBS Volume. For example: If I have a 50 GB volume and I start to run out of space, can I bump it up to 100 GB when required?
Nikhil Gupte
  • 3,183
  • 4
  • 22
  • 15
154
votes
6 answers

What is the difference between Amazon ECS and Amazon EC2?

I'm just getting started on AWS EC2. I understand that EC2 is like a remote computer where I can do pretty much everything I want. Then I found out about ECS. I know it uses Docker, but I'm confused about the relationship between these two. Is ECS…
paynestrike
  • 3,324
  • 14
  • 42
  • 69
154
votes
6 answers

How do I get AWS_ACCESS_KEY_ID for Amazon?

I'm totally new to AWS. I downloaded some sample code from Amazon and I need to set a number of constants: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY MERCHANT_ID MARKETPLACE_ID I just created an AWS account. I want some type of sandbox account so I…
Padraig
  • 2,409
  • 4
  • 15
  • 22
153
votes
11 answers

How do I install Python 3 on an AWS EC2 instance?

I'm trying to install python 3.x on an AWS EC2 instance and: sudo yum install python3 doesn't work: No package python3 available. I've googled around and I can't find anyone else who has this problem so I'm asking here. Do I have to manually…
Jake_Howard
  • 2,233
  • 2
  • 13
  • 12
151
votes
16 answers

How to see all running Amazon EC2 instances across all regions?

I switch instances between different regions frequently and sometimes I forget to turn off my running instance from a different region. I couldn't find any way to see all the running instances on Amazon console. Is there any way to display all the…
GorvGoyl
  • 27,835
  • 20
  • 141
  • 143
149
votes
5 answers

Send Test Email fails with Email address is not verified

I want to use Amazon's Simple Email Service to send emails. I verified my domain as well as the email address I want to send from. For both it says verified. Now when I use the Send Test Email from the AWS Console to send a test email to…
maddo7
  • 3,313
  • 6
  • 28
  • 47
149
votes
13 answers

How to upgrade AWS CLI to the latest version?

I recently noticed that I am running an old version of AWS CLI that is lacking some functionality I need: $aws --version aws-cli/1.2.9 Python/3.4.3 Linux/3.13.0-85-generic How can I upgrade to the latest version of the AWS CLI…
Borealis
  • 6,553
  • 12
  • 58
  • 104
148
votes
1 answer

What is the difference between the AWS boto and boto3

I'm new to AWS using Python and I'm trying to learn the boto API however I noticed that there are two major versions/packages for Python. That would be boto and boto3. What is the difference between the AWS boto and boto3 libraries?
Matt
  • 2,832
  • 4
  • 18
  • 23
147
votes
8 answers

How to use multiple AWS accounts from the command line?

I've got two different apps that I am hosting (well the second one is about to go up) on Amazon EC2. How can I work with both accounts at the command line (Mac OS X) but keep the EC2 keys & certificates separate? Do I need to change my environment…
Matt Culbreth
  • 2,085
  • 2
  • 15
  • 17
147
votes
21 answers

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. All works properly with US Standard…
Alexey
  • 1,996
  • 4
  • 15
  • 23
147
votes
21 answers

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 the client_max_body_size for Nginx, however I…
147
votes
13 answers

Force CloudFront distribution/file update

I'm using Amazon's CloudFront to serve static files of my web apps. Is there no way to tell a cloudfront distribution that it needs to refresh it's file or point out a single file that should be refreshed? Amazon recommend that you version your…
Martin
  • 4,897
  • 11
  • 40
  • 59
147
votes
6 answers

How to Configure SSL for Amazon S3 bucket

I am using an Amazon S3 bucket for uploading and downloading of data using my .NET application. Now my question is: I want to access my S3 bucket using SSL. Is it possible to implement SSL for an Amazon s3 bucket?
Syam kumar
  • 1,651
  • 3
  • 12
  • 5
145
votes
14 answers

Configuring region in Node.js AWS SDK

Can someone explain how to fix a missing config error with Node.js? I've followed all the examples from the aws doc page but I still get this error no matter what. { [ConfigError: Missing region in config] message: 'Missing region in config', code:…
Anejah Daniels
  • 1,451
  • 2
  • 8
  • 3
145
votes
13 answers

.htaccess not working apache

I have a server from AWS EC2 service running on Linux ubuntu and I have installed apache, php, and mysql. I have added a .htaccess file in my document root /var/www/html. I entered this code in it: ErrorDocument 404 /var/www/html/404.php and it is…
Shalin Shah
  • 7,965
  • 6
  • 25
  • 40