Tagged Questions
3
votes
2answers
29 views
AWS deployment goes down frequently
So, I've got a very basic deployment on an EC2 instance that largely works, except for a couple of large issues. Right now I'm just ssh'ing into the box and running
python -m SimpleHTTPServer 80
...
1
vote
1answer
18 views
Run SimpleHttp at all times from Aws
I would like to preface this with the fact that I'm a serious beginner with things Devops and I'm certain that this is a simple problem, I just can't find a good place to really dive into this stuff.
...
0
votes
0answers
33 views
Django AWS SSL Error
I'm trying to figure out where this error is coming from. I'm not sure if it's my AWS credentials or my setup. AWS shows my access keys as active. I'm using the django_ses backend.
Error:
SSLError ...
2
votes
1answer
23 views
Atomic/safe serving of single-use codes
I have a list of single-use discount codes for an ecommerce site I'm partnering with. I need to set up a page on my site where my users can fill out a form, and then will be given one of the codes. ...
0
votes
1answer
15 views
Enable programmatic billing for Amazon AWS through API (python)
Was wondering if anyone knew how if it was possible to enable programmatic billing for Amazon AWS through the API? I have not found anything on this and I even went broader and looked for billing ...
0
votes
1answer
41 views
Python script stalls on AWS EC2 GovCloud
I have a threaded Python script running on AWS EC2 GovCloud that stalls after 14-15 minutes of processing time (by that I mean the hh:mm reading from the TIME column when I run 'ps aux | grep ...
0
votes
0answers
17 views
Django-storages force file to upload
I'm using django-storages to upload my static files to amazon s3. The first upload to s3 worked fine but django-storages doesn't detect that I've changed my static files so it doesn't reupload my ...
0
votes
1answer
21 views
where to place .htaccess on elastic beanstalk python
I'm trying to remove the www from the url, and normally I do this by using a .htaccess file with a rewrite rule. I don't know where to put this file in my elastic beanstalk folder structure, or where ...
2
votes
2answers
60 views
Django-storages not detecting changed static files
I'm using django-storages and amazon s3 for my static files. Following the documentation, I put these settings in my settings.py
STATIC_URL = 'https://mybucket.s3.amazonaws.com/'
ADMIN_MEDIA_PREFIX ...
0
votes
0answers
30 views
What is the correct way to expose an AWS in an API without giving out your keys?
Sorry about the awkward title.
I am building a Python API. Part of it involves sending and receiving data to an Amazon SQS to communicate with some stuff on an EC2 instance. I don't want to ...
1
vote
1answer
41 views
Can you open access to UDP ports on an EC2 instance with Python?
I would like to allow connections to specific UDP ports on an EC2 instance from a certain IP address for a limited about of time. I can do this by adding rules to the security group from the AWS ...
0
votes
0answers
21 views
Amazon Elastic Beanstalk CLI issues on linux: zlib error
I am trying to use elastic beanstalk cli on an amazon linux instance and I always get zlib module error. This probably is more to do with my linux/unix ignorance but please send any inputs you have.
...
0
votes
0answers
23 views
Is there a way to simplify S3 access log lines?
The problem is, log files are too big for mining.
(assume that daily requests are nearly 100m )
I'm wondering maybe there is a way to simplify request lines. I don't need all bucket field values.
...
0
votes
0answers
32 views
Threads are leaving behind open files for TCP requests to Amazon services
We are running an application in Amazon Elastic Beanstalk using their 64bit Python container. This application spawns threads, allows them to live for a certain amount of time and then closes them ...
1
vote
1answer
43 views
Increment counter in AWS DynamoDb using boto.dynamodb2 in Python
I'm using DynamoDb v2 interface for boto to make counter increments in my table.
(I need v2 interface as I'll be dealing with indexes later on)
Somehow I'm not able to find how to do that without ...