{"action":"created","issue":{"url":"https://api.github.com/repos/cristim/autospotting/issues/88","repository_url":"https://api.github.com/repos/cristim/autospotting","labels_url":"https://api.github.com/repos/cristim/autospotting/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/cristim/autospotting/issues/88/comments","events_url":"https://api.github.com/repos/cristim/autospotting/issues/88/events","html_url":"https://github.com/cristim/autospotting/issues/88","id":210312873,"number":88,"title":"Enable EBS optimized flag on spot instances where possible","user":{"login":"phils","id":150720,"avatar_url":"https://avatars.githubusercontent.com/u/150720?v=3","gravatar_id":"","url":"https://api.github.com/users/phils","html_url":"https://github.com/phils","followers_url":"https://api.github.com/users/phils/followers","following_url":"https://api.github.com/users/phils/following{/other_user}","gists_url":"https://api.github.com/users/phils/gists{/gist_id}","starred_url":"https://api.github.com/users/phils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phils/subscriptions","organizations_url":"https://api.github.com/users/phils/orgs","repos_url":"https://api.github.com/users/phils/repos","events_url":"https://api.github.com/users/phils/events{/privacy}","received_events_url":"https://api.github.com/users/phils/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-26T11:55:02Z","updated_at":"2017-02-26T17:26:30Z","closed_at":null,"body":"## Issue type ##\r\n\r\n<!-- Pick one of the items below and delete the others: -->\r\n\r\n- Feature Idea\r\n\r\n## Summary ##\r\n\r\nA quirk of the EC2 EBS Optimized flag is that it defaults to off, even on instances where EBS Optimized is included for free (e.g. m4, r4, c4 types, as per http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html).\r\n\r\nWhen using autospotting, it may replace an instance that does not support ebs optimised, with an instance that does.  However, you can't specify EBS optimised = true on a machine that doesn't support it, so when autospotting copies the launch configuration for the spot, it brings across the lack of ebs optimisation.\r\n\r\nFeature would be for autospotting to know which types support ebs optimised, and flag it on when possible for spot instances."},"comment":{"url":"https://api.github.com/repos/cristim/autospotting/issues/comments/282571683","html_url":"https://github.com/cristim/autospotting/issues/88#issuecomment-282571683","issue_url":"https://api.github.com/repos/cristim/autospotting/issues/88","id":282571683,"user":{"login":"cristim","id":95209,"avatar_url":"https://avatars.githubusercontent.com/u/95209?v=3","gravatar_id":"","url":"https://api.github.com/users/cristim","html_url":"https://github.com/cristim","followers_url":"https://api.github.com/users/cristim/followers","following_url":"https://api.github.com/users/cristim/following{/other_user}","gists_url":"https://api.github.com/users/cristim/gists{/gist_id}","starred_url":"https://api.github.com/users/cristim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristim/subscriptions","organizations_url":"https://api.github.com/users/cristim/orgs","repos_url":"https://api.github.com/users/cristim/repos","events_url":"https://api.github.com/users/cristim/events{/privacy}","received_events_url":"https://api.github.com/users/cristim/received_events","type":"User","site_admin":false},"created_at":"2017-02-26T17:26:30Z","updated_at":"2017-02-26T17:26:30Z","body":"This is a great suggestion, thanks!\r\n\r\nWe already have available in the instance type data the information about the EBS throughput and IOPS, we could use it to always choose instances that provide the same throughput and IOPS, just like we do for memory and CPU, if the optimized EBS flag is enabled or the instance has it enabled out of the box.\r\n\r\nI noticed that the instance types that have the option of optimized EBS have those fields non-zero, while the others where optimized EBS is unavailable have them both set to zero.\r\n\r\nUnfortunately at the moment we don't have any data about the instance types which have it enabled out of the box, and the problem is that the other instance types where it is available but disabled out of the box have an hourly surcharge when EBS is enabled. This price should be considered if we decide to enable the EBS optimized flag on those spot instance types, since it may add up to cost more than other spot instance types where it is available out of the box.\r\n\r\nThis piece of data needs to be added to ec2instances.info, and there is already a ticket for this feature: https://github.com/powdahound/ec2instances.info/issues/110\r\n\r\nOnce that is implemented we can make use of it to enable it correctly when the original instance is EBS-optimized out of the box considering the price surcharge for those instance types where it costs extra. \r\n\r\n"}}
{"actor":{"display_login":"cristim"}}