Giter VIP home page Giter VIP logo

cloud-machine's People

Contributors

guilherme-santos avatar i4ki avatar lborguetti avatar ppizarro avatar vitor-tyburski avatar vitorarins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloud-machine's Issues

Add support to tags

It would be cool to have a way to add N tags on the machine creation automation (not only the name).

cloud-machine don't work with multi-AZ deployment

cloud-machine always creates EBS at us-west-2a, falling when create EC2 instance in another AZ.

Example of machine-config:

instance:
  name: PREV-EC2-nat-node-001-2b
  subnetid: subnet-xxxxxxxx
  imageid: ami-e0342681
  region: us-west-2
  defaultavailablezone: us-west-2b
  keyname: xxx-xxxxxxxxxxx-key
  type: t2.medium
  cloudconfig: cloud-config/node.yaml
  ebsoptimized: false
  securitygroups: [sg-xxxxxxxx]

volumes:
  - name: PREV-EBS-node-data-001-2b
    type: gp2
    size: 10
    device: /dev/xvdk
    mount: /data
    filesystem: ext4

Load EBS by ID if it exists, else Create

Right now we load and attach an EBS disk if a specific ID is passed. It would be nice if we could detect when that volume ID does not exist and then Create a new volume with the specified configuration.

[machine-up] Error: The request must contain the parameter zone

Cant build machines right now, with the same config files that used to work:

/home/katz/workspace/go/src/github.com/NeowayLabs/cloud-machine/machine-up ./envs/staging/cloud-machine/k8s-node.yml
Creating new volume...
--------- NEW VOLUME ---------
[FATAL] Error getting machine: The request must contain the parameter zone (MissingParameter)

Not loading AWS credentials from ~/.aws/credentials

On my machine the credentials aren't loaded because ~ isn't expanded to $HOME. I've tested with bash and other shells.

$ machine-up ./machines/target.yml
[FATAL] Error reading aws credentials: open ~/.aws/credentials: no such file or directory
ERROR: exit status 1

It works as expected when exporting the AWS_ env vars.

Project not go-gettable

Project has 2 programs in the main package. This isn't the go way to package binaries because it's not go-gettable.
When the project has several binaries, it commonly have a cmd directory to them.
Eg.:

cloud-machine/cmd/cluster-up/main.go
cloud-machine/cmd/machine-up/main.go

cloud-machine doesn't load the second disk ephemeral

When an AMI instance has more than one ephemeral disk, cloud-machine doesn't load the second disk

cloud-machine yml

instance:
  name: X-node
  type: c3.large
  imageid: ami-85ada4b5
  region: us-west-2
  defaultavailablezone: us-west-2a
  keyname: MY-KEY
  securitygroups: [sg-00000000]
  subnetid: subnet-00000000
  cloudconfig: cloud-config/x-node.yml
  ebsoptimized: false

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.