Thursday, June 18, 2015

Lessons on setup DevStack on a single server instance running AWS EC2

These are some lessons which I learned when I was trying out the openstack on the AWS EC2 server instance.

Before one starts, it is a good idea to make sure that one does not run an operational mysql in the server instance. Openstack's controller node requires mariadb, which kinds of replace the default mysql. I encountered several errors on a testing instance in which mysql was installed prior and operating. Installing openstack in this case failed with errors such as "unit mariadb.service failed to load: no such file or directory" when running "sudo service mariadb start" during the "./" execution.

Another important lesson is that one must make sure the server instance is allocated enough memory, openstack requires large amount of memory, AWS EC2 instance such as t1.micro instance usually is not sufficient to run the DevStack (at least in my case)

If you do not have git instance, run the following commands to install git:

> sudo apt-get update
> sudo apt-get install git

After that, can follow the guidelines from the link here to set up:


If you want to install devstack in docker container of a sort, can try the dockenstack (, my experience with it is that it did not work well for me though.

No comments:

Post a Comment