Giter Site home page Giter Site logo

boot_aws_chef_instances's Introduction

boot_aws_chef_instances

installation

  git clone https://github.com/giuliocalzolari/boot_aws_chef_instances.git
  pip install -r ./requirements.txt
  - crete your config.yaml
  chmod 755 boot.py
  ./boot.py -a create -i linux01

Example of config.yaml

  aws_access_key_id: "AAAAAAAAAAAAAAAA"
  aws_secret_access_key: "BBBBBBBBBBBBBBBBBBBBBBBBB"
  aws_region: eu-west-1
  aws_ssh_connect_ip: public    # private or public
  aws_ssh_argv: " -l ec2-user -i /path/your/private.key"
  profile: your_profile


  global_config: &default_value
    ssh-user: centos
    ssh-key: ~/.ssh/private.key
    tags:
      Platform: Test
    iam-profile: iam_role_s3
    flavor: m4.2xlarge
    image: ami-12345
    ebs-size: "150"
    ebs-volume-type: gp2
    region: eu-west-1
    associate-public-ip: ""
    server-connect-attribute: public_ip_address



  environment:
    development:
      linux01:
        security-group-ids: sg-12345
        tags:
          Role: Web
        availability-zone: eu-west-1a
        subnet: subnet-123456
        run-list: 'role[web]'
        private-ip-address: 10.0.0.10
        <<: *default_value
      linux02:
        security-group-ids: lookupSG(DBSecurityGroup)
        tags:
          Role: DB
        availability-zone: eu-west-1b
        subnet: lookupSubnet(PrivateSubnet)
        run-list: 'role[db]'
        private-ip-address: 10.0.0.20
        <<: *default_value

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.