Skip to content Skip to sidebar Skip to footer
Showing posts with the label Amazon Ec2

Pip Installs Modules For Python2.7 Instead Of Python3.4

I have an Amazon EC2 instance. On that was just python 2.7 installed. So I installed Python3 with t… Read more Pip Installs Modules For Python2.7 Instead Of Python3.4

How To Use Bastion Host To Ssh To Redshift

I have been trying to figure out how to connect to Amazon Redshift clusters when they are private r… Read more How To Use Bastion Host To Ssh To Redshift

How To Uninstall Pip Packages On Elastic Beanstalk

How to uninstall pip packages on Elastic Beanstalk? We removed a package in our requirements.txt fi… Read more How To Uninstall Pip Packages On Elastic Beanstalk

Datetime.strptime Strange Behavior

I'm getting the following error on aws virtual machine running python 3.6.8, while on my laptop… Read more Datetime.strptime Strange Behavior

How Can I Debug Python Web Site On Amazon Ec2?

I am new to web development. This is probably a dumb question but I could not quite find exact answ… Read more How Can I Debug Python Web Site On Amazon Ec2?

Is There A Way To List Stopped Ec2 Instances Using Boto3?

I have already tried using describe_instance_status method like in below. But it does not return an… Read more Is There A Way To List Stopped Ec2 Instances Using Boto3?

Lambda Not Working For Ec2 With Auto-scaling

Following AWS Lambda is working as expected [i.e. ec2 instance stop and start] for ec2 instances, w… Read more Lambda Not Working For Ec2 With Auto-scaling

Running Airflow Tasks In Parallel - Nothing Gets Scheduled

I just went through the process of configuring my Airflow setup to be capable of parallel processin… Read more Running Airflow Tasks In Parallel - Nothing Gets Scheduled

Python Script Through Php On Amazon Ec2

I am trying to run a simple python script through php on Amazon EC2 instance. The file is working f… Read more Python Script Through Php On Amazon Ec2

Issues Running Airflow Scheduler As A Daemon Process

I have an EC2 instance that is running airflow 1.8.0 using LocalExecutor. Per the docs I would have… Read more Issues Running Airflow Scheduler As A Daemon Process

Django Ec2 Deployment With Wsgi And Apache

I have a micro instance on EC2 with Django installed there. I've also installed mod-WSGI, Postg… Read more Django Ec2 Deployment With Wsgi And Apache

How To Enable Port 5000 On Aws Ubuntu

I have a flask app running on AWS Ubuntu server on port 5000 (flask runs default on port 5000). But… Read more How To Enable Port 5000 On Aws Ubuntu

Django Performance, Slow Ttfb Without Any Queries

I have a simple view which renders an HTML template. No variables whatsoever and no database querie… Read more Django Performance, Slow Ttfb Without Any Queries

Ssh Key Of Newly Created Ec2 Instance Using Boto

I am using boto to connect to EC2 and launch an instance. After creating the instance, I need to ss… Read more Ssh Key Of Newly Created Ec2 Instance Using Boto

Use Boto3 To Get Current Price For Given EC2 Instance Type

Now that AWS have a Pricing API, how could one use Boto3 to fetch the current hourly price for a gi… Read more Use Boto3 To Get Current Price For Given EC2 Instance Type

PHP And Python On Amazon Ec2

I am using Amazon ec2 obunto micro instance. I have wrote a php code which executes a python code a… Read more PHP And Python On Amazon Ec2

AWS Boto Get Snapshots In Time Period

I'm using AWS and pulling snapshots using boto ('The Python interface to Amazon Web Service… Read more AWS Boto Get Snapshots In Time Period

Issues Running Airflow Scheduler As A Daemon Process

I have an EC2 instance that is running airflow 1.8.0 using LocalExecutor. Per the docs I would have… Read more Issues Running Airflow Scheduler As A Daemon Process