All Projects → ansible-community → molecule-ec2

ansible-community / molecule-ec2

Licence: MIT license
molecule-ec2

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to molecule-ec2

molecule-libvirt
Molecule LibVirt Provider
Stars: ✭ 35 (-23.91%)
Mutual labels:  molecule, molecule-driver
molecule-hetznercloud
Molecule Hetzner Cloud driver 💀
Stars: ✭ 21 (-54.35%)
Mutual labels:  molecule, molecule-driver
molecule-openstack
Molecule OpenStack Driver
Stars: ✭ 15 (-67.39%)
Mutual labels:  molecule, molecule-driver
Dgl Lifesci
Python package for graph neural networks in chemistry and biology
Stars: ✭ 194 (+321.74%)
Mutual labels:  molecule
Ansible Dockerswarm
Docker Engine clustering using "Swarm Mode" and Ansible
Stars: ✭ 226 (+391.3%)
Mutual labels:  molecule
ansible-role-fail2ban
Install and configure fail2ban on your system.
Stars: ✭ 42 (-8.7%)
Mutual labels:  molecule
ansible-blackbox-exporter
Blackbox prober exporter
Stars: ✭ 60 (+30.43%)
Mutual labels:  molecule
Chemozart
Web-based 3D molecule editor and visualizer with molecular mechanics calculators.
Stars: ✭ 142 (+208.7%)
Mutual labels:  molecule
panel-chemistry
🧪📈 🐍. The purpose of the panel-chemistry project is to make it really easy for you to do DATA ANALYSIS and build powerful DATA AND VIZ APPLICATIONS within the domain of Chemistry using using Python and HoloViz Panel.
Stars: ✭ 94 (+104.35%)
Mutual labels:  molecule
development-environment
A development environment for Java, Python, Node.js and Go built using Vagrant
Stars: ✭ 50 (+8.7%)
Mutual labels:  molecule
cellblender
Create, Simulate, Visualize, and Analyze Realistic 3D Cell Models
Stars: ✭ 52 (+13.04%)
Mutual labels:  molecule
Avogadrio
Worship your favorite molecule by setting it as your wallpaper.
Stars: ✭ 239 (+419.57%)
Mutual labels:  molecule
Molecules Dataset Collection
Collection of data sets of molecules for a validation of properties inference
Stars: ✭ 69 (+50%)
Mutual labels:  molecule
MolDQN-pytorch
A PyTorch Implementation of "Optimization of Molecules via Deep Reinforcement Learning".
Stars: ✭ 58 (+26.09%)
Mutual labels:  molecule
Rmsd
Calculate Root-mean-square deviation (RMSD) of two molecules, using rotation, in xyz or pdb format
Stars: ✭ 215 (+367.39%)
Mutual labels:  molecule
Version3
Version 3 of Chem4Word - A Chemistry Add-In for Microsoft Word
Stars: ✭ 53 (+15.22%)
Mutual labels:  molecule
Kekule.js
A Javascript cheminformatics toolkit.
Stars: ✭ 156 (+239.13%)
Mutual labels:  molecule
MoleculeJS
A library for creating fast and reactive Custom Elements
Stars: ✭ 39 (-15.22%)
Mutual labels:  molecule
chemprop
Fast and scalable uncertainty quantification for neural molecular property prediction, accelerated optimization, and guided virtual screening.
Stars: ✭ 75 (+63.04%)
Mutual labels:  molecule
molecule-docker
Molecule Docker Driver allows molecule users to test Ansible code using docker containers.
Stars: ✭ 71 (+54.35%)
Mutual labels:  molecule-driver

Molecule EC2 Plugin

PyPI Package Python Black Code Style Ansible Code of Conduct Ansible mailing lists Repository License

Molecule EC2 is designed to allow use of AWS EC2 for provisioning of test resources.

Quickstart

Installation

pip install molecule-ec2

Create a scenario

With a new role

molecule init role -d ec2 my-role

This will create a new folder my-role containing a bare-bone generated role like you would do with ansible-galaxy init command. It will also contain a molecule folder with a default scenario using the ec2 driver (using ansible community.aws.ec2_instance collection). Install the collection using ansible-galaxy install -r test_requirements.yml.

In a pre-existing role

molecule init scenario -d ec2

This will create a default scenario with the ec2 driver in a molecule folder, located in the current working directory.

Example

This is a molecule.yml example file

dependency:
   name: galaxy
driver:
   name: ec2
platforms:
  - name: instance
    image_owner: "099720109477"
    image_name: ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*
    instance_type: t2.micro
    vpc_subnet_id: <your-aws-vpc-subnet-id>
    tags:
      Name: molecule_instance
provisioner:
  name: ansible
verifier:
  name: ansible

All you need to do is fill in the subnet-id you want to create your test instance into. Then run

molecule test

Note

To make this work, you need to export your AWS credentials, as well as the AWS region you want to use, in your environment.

export AWS_ACCESS_KEY_ID=ACCESS_API_KEY
export AWS_SECRET_KEY=SECRET_API_KEY
export AWS_REGION=us-east-1

You can read more about managing AWS credentials with Ansible modules in the official documentation of the Ansible AWS modules

Documentation

Details on the parameters for the platforms section are detailed in platforms.rst.

Read the molecule documentation and more at https://molecule.readthedocs.io/.

Get Involved

Authors

Molecule EC2 Plugin was created by Sorin Sbarnea based on code from Molecule.

License

The MIT License.

The logo is licensed under the Creative Commons NoDerivatives 4.0 License.

If you have some other use in mind, contact us.

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].