Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Autoscaling contains hardcoded instance types #85

Open
gpierre42 opened this issue Oct 16, 2014 · 1 comment
Open

PHP Autoscaling contains hardcoded instance types #85

gpierre42 opened this issue Oct 16, 2014 · 1 comment

Comments

@gpierre42
Copy link
Contributor

The PHP autoscaling functionality now seems to work, thanks @hectorj2f and @tcrivat ! But strangely enough the system seems to add new instances of type m1.small while the standard size in this installation was t1.micro.

The reason why this happens is that the autoscaling system contains a hardcoded list of instance types in file conpaas-services/src/conpaas/services/webservers/manager/autoscaling/data/compute_units.json and a few others.

I understand the reason why @hectorj2f did things this way but in a next version we should reconsider this and rather move the list of possible instance types to one of the ConPaaS configuration files.

@hectorj2f
Copy link

Yes @gpierre42. I believe you can easily change that by getting the list of available instance types and their hardware characteristics using libcloud driver for AWS.

Please, let it me know if you have any other issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants