Questions tagged [amazon-web-services]

Amazon Web Services (AWS) is a cloud service that offers IaaS (Infrastructure as a Service) and SaaS (Software as a Service) solutions. Only questions about programming in relation to AWS 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.

AWS is a cloud service that offers IaaS (Infrastructure as a Service) and SaaS (Software as a Service).

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

Resources:

Related Tags

154810 questions
28
votes
5 answers

Permissions to access ElasticSearch from Lambda?

I'm trying to use Elasticsearch for data storage for a Lambda function connected to Alexa Skills Kit. The Lambda works alright without Elasticsearch but ES provides much-needed fuzzy matching. The only way I've been able to access it from Lambda is…
Keith
  • 580
  • 1
  • 4
  • 11
28
votes
4 answers

AWS Lambda can't connect to RDS instance, but I can locally?

I am trying to connect to my RDS instance from a lambda. I wrote the lambda locally and tested locally, and everything worked peachy. I deploy to lambda, and suddenly it doesn't work. Below is the code I'm running, and if it helps, I'm invoking the…
28
votes
2 answers

Is there a way to manually set an ElasticSearch document id when inserting via AWS Kinesis Firehose?

I have an AWS Kinesis Firehose Stream set up to feed data into an AWS ElasticSearch cluster, and I can successfully insert documents by sending them to the Firehose Stream, which loads them into ElasticSearch. But I would like to be able to manually…
28
votes
1 answer

RDS endpoint name format

In AWS, RDS Endpoint names have the following format my-db-name.aaaaaaaaaaaa.eu-west-1.rds.amazonaws.com the second part of the identifier is a series of seemingly random characters. How is this generated? It seems to be consistent across all rds…
David Turvey
  • 2,891
  • 6
  • 27
  • 29
28
votes
2 answers

CNAME to s3 bucket amazon

I would like to use a subdomain instead of the direct url to my s3 bucket at amazon.com. So instead of downloading images via an url like http://bucket-images.s3-eu-west-1.amazonaws.com/path/to/image.pngI would like to use…
Erik van de Ven
  • 4,747
  • 6
  • 38
  • 80
28
votes
6 answers

How do I query AWS DynamoDB in python?

I'm fairly new to NoSQL and using AWS DynamoDB. I'm calling it from AWS Lambda using python 2.7 I'm trying to retrieve a value from an order_number field. This is what my table looks like(only have one record.): primary partition key:…
MalcolmInTheCenter
  • 1,376
  • 6
  • 27
  • 47
28
votes
5 answers

AWS Elasticsearch Service IAM Role based Access Policy

I have been struggling to figure out how to communicate with the Amazon ES service from my EC2 instances. The documentation clearly states that the Amazon ES service supports IAM User & Role based access policies.…
nackjicholson
  • 4,557
  • 4
  • 37
  • 35
28
votes
1 answer

How to understand Amazon ECS cluster

I recently tried to deploy docker containers using task definition by AWS. Along the way, I came across the following questions. How to add an instance to a cluster? When creating a new cluster using Amazon ECS console, how to add a new ec2…
Allan Jiang
  • 11,063
  • 27
  • 104
  • 165
28
votes
2 answers

Amazon RDS unable to execute SET GLOBAL command

I am using Amazon RDS for mysql db. I want to run some SET commands for eg: SET GLOBAL group_concat_max_len =18446744073709551615 But when I run this command I get this error ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER…
chandresh_cool
  • 11,753
  • 3
  • 30
  • 45
28
votes
7 answers

Flask-SQLAlchemy: Can't reconnect until invalid transaction is rolled back

So I am using Amazon Web Services RDS to run a MySQL server and using Python's Flask framework to run the application server and Flask-SQLAlchemy to interface with the RDS. My app config.py SQLALCHEMY_DATABASE_URI = '
internetwhy
  • 635
  • 1
  • 6
  • 19
28
votes
5 answers

How to specify sensitive environment variables at deploy time with Elastic Beanstalk

I am deploying a Python Flask application with Elastic Beanstalk. I have a config file /.ebextensions/01.config where among other things I set some environment variables - some of which should be secret. The file looks something like this:…
Iulian
  • 1,496
  • 2
  • 15
  • 35
28
votes
3 answers

Best way to launch aws ec2 instances with ansible

I'm trying to create an small webapp infrastructure with ansible on Amazon AWS and I want to do all the process: launch instance, configure services, etc. but I can't find a proper tool or module to deal with that from ansible. Mainly EC2…
JorelC
  • 788
  • 1
  • 9
  • 17
28
votes
7 answers

Boto [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed while connecting to S3

I am trying to connect to S3 using boto, but it seems to fail. I've tried some workarounds, but they don't seem to work. Can anyone please help me with this. Below is the code. import boto if not boto.config.has_section('Credentials'): …
Siddarth
  • 1,000
  • 1
  • 10
  • 17
28
votes
5 answers

Elastic Beanstalk could not find any platforms

I'm trying to deploy my django app via amazon Elastic BeanStalk(using this tutorial), but getting the following error. ERROR: Elastic Beanstalk could not find any platforms. Ensure you have the necessary permissions to access Elastic Beanstalk. How…
28
votes
3 answers

Log in to AWS using Access Key ID and Secret Access Key ID

In AWS, how do I use my Access Key ID and Secret Access Key? I can't use them in IAM users sign-in link.
richersoon
  • 4,682
  • 13
  • 44
  • 74