All Projects → erans → Ec2instancespricing

erans / Ec2instancespricing

Licence: other
Quick and dirty Python API and CLI to get EC2 instance pricing for On-Demand and Reserved Instances

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ec2instancespricing

Security monkey
Security Monkey monitors AWS, GCP, OpenStack, and GitHub orgs for assets and their changes over time.
Stars: ✭ 4,244 (+2456.63%)
Mutual labels:  aws, aws-ec2
Aws.ec2
AWS EC2 Client Package
Stars: ✭ 47 (-71.69%)
Mutual labels:  aws, aws-ec2
Udacity Data Engineering Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
Stars: ✭ 458 (+175.9%)
Mutual labels:  aws, aws-ec2
Spark Jupyter Aws
A guide on how to set up Jupyter with Pyspark painlessly on AWS EC2 clusters, with S3 I/O support
Stars: ✭ 259 (+56.02%)
Mutual labels:  aws, aws-ec2
Multi Env Deploy
Complete example of deploying complex web apps to AWS using Terraform, Ansible, and Packer
Stars: ✭ 132 (-20.48%)
Mutual labels:  aws, aws-ec2
Terraform Aws Ec2 Instance
Terraform module which creates EC2 instance(s) on AWS
Stars: ✭ 344 (+107.23%)
Mutual labels:  aws, aws-ec2
Automating Aws With Python
automating AWS with Python using boto3 library
Stars: ✭ 41 (-75.3%)
Mutual labels:  aws, aws-ec2
Aws Ec2 Ssh
Manage AWS EC2 SSH access with IAM
Stars: ✭ 796 (+379.52%)
Mutual labels:  aws, aws-ec2
Aws Deployment Guide
☁️ Deploy to Amazon aws on a virtual private cloud with elastic beanstalk
Stars: ✭ 89 (-46.39%)
Mutual labels:  aws, aws-ec2
Molecule Ansible Docker Aws
Example project showing how to test Ansible roles with Molecule using Testinfra and a multiscenario approach with Docker, Vagrant & AWS EC2 as infrastructure providers
Stars: ✭ 72 (-56.63%)
Mutual labels:  aws, aws-ec2
Graylog2 Images
Ready to run machine images
Stars: ✭ 234 (+40.96%)
Mutual labels:  aws, aws-ec2
Amazon Ec2 Instance Selector
A CLI tool and go library which recommends instance types based on resource criteria like vcpus and memory
Stars: ✭ 146 (-12.05%)
Mutual labels:  aws, aws-ec2
Chaos Ssm Documents
Collection of AWS SSM Documents to perform Chaos Engineering experiments
Stars: ✭ 225 (+35.54%)
Mutual labels:  aws, aws-ec2
Practicalnode
Practical Node.js, 1st and 2nd Editions [Apress] 📓
Stars: ✭ 3,694 (+2125.3%)
Mutual labels:  aws, aws-ec2
Curso Aws Com Terraform
🎦 🇧🇷 Arquivos do curso "DevOps: AWS com Terraform Automatizando sua infraestrutura" publicado na Udemy. Você pode me ajudar comprando o curso utilizando o link abaixo.
Stars: ✭ 62 (-62.65%)
Mutual labels:  aws, aws-ec2
Ebs Automatic Nvme Mapping
Automatic mapping of EBS volumes via NVMe block devices to standard block device paths
Stars: ✭ 136 (-18.07%)
Mutual labels:  aws, aws-ec2
Aws Labs
step by step guide for aws mini labs. Currently maintained on : https://github.com/Cloud-Yeti/aws-labs Youtube playlist for labs:
Stars: ✭ 153 (-7.83%)
Mutual labels:  aws, aws-ec2
Repo 2018
Deep Learning Summer School + Tensorflow + OpenCV cascade training + YOLO + COCO + CycleGAN + AWS EC2 Setup + AWS IoT Project + AWS SageMaker + AWS API Gateway + Raspberry Pi3 Ubuntu Core
Stars: ✭ 163 (-1.81%)
Mutual labels:  aws-ec2
Pacu
The AWS exploitation framework, designed for testing the security of Amazon Web Services environments.
Stars: ✭ 2,451 (+1376.51%)
Mutual labels:  aws
Superwerker
Open-source solution to automate the setup of an AWS Cloud environment with prescriptive best practices.
Stars: ✭ 161 (-3.01%)
Mutual labels:  aws

ec2instancespricing.py

Written by Eran Sandler (@erans)
http://eran.sandler.co.il
http://forecastcloudy.net (@forecastcloudy)

ec2instancespricing.py is a quick & dirty library and a command line interface (CLI) to get a list of all Amazon Web Services EC2 instances pricing including On-Demand, Spot and Reserved instances (in all utilization levels).

The data is based on a set of JSON files used in the EC2 page (http://aws.amazon.com/ec2). You can get a list of all available JSON files in this blog post: http://forecastcloudy.net/2012/04/02/amazon-web-services-aws-ec2-pricing-data/

The original JSON files as published by Amazon don't contain the same values used throughout the EC2 API. This library/cli maps the values in the JSON files to their corresponding values used throughout the EC2 API. Such values include region names, instance type, etc.

Data can be filtered by region, instance_type, instance_type_pattern and os_type.

Importing this file will allow you to use two functions:

  • get_ec2_ondemand_instances_prices - to get the pricing of On-Demand instances
  • get_ec2_reserved_instaces_prices - to get the pricing of reserved instances (in all utilization levels)
  • get_ec2_spot_instaces_prices - to get the pricing of spot instances

Running this file will activate its CLI interface in which you can get output to your console in a CSV, JSON, line and table formats (default is table).

To run the command line interface, you need to install:

  • argparse - if you are running Python < 2.7
  • prettytable - to get a nice table output to your console
  • demjson - for easier JSON parsing

All of these libraries can be installed using the 'pip install' command.

There are the following types of listings:

  • ondemand - listing of ondemand instance prices
  • reserved - listing of reserved instance prices
  • spot - listing of spot instance prices
  • spotordemand - listing of spot and ondemand instance prices
  • all - listing of ondemand, reserved and spot instance prices
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].