View on GitHub

Notepal

Jupiter System - Collaborative Editing - Applied to Sticky Notes

Download this project as a .zip file Download this project as a tar.gz file

This article describes how to use Openstack to create a virtual machine where the application will run.

Security

The first thing you will have to do is to login to Horizon. Once there, you must create a new Security Group and edit rules to allow members from this group to use SSH to access the virtual machine you created by authorizing port 22 (used by SSH).

Then, you will need to create a new keypair and download the .pem file.

Creating an image

For this application, we will use coreOS to deploy a container. Go to "Images & Snapshots" then download create an image from this link . Leave the "Minimum Disk" and "Minimum Ram" fields empty but don't forget that the image format is "RAW".

Launching an instance

Once the operation is done, just click on "Launch", on the same line than the coreOS image (see above). Choose an instance name then go to "Access & Security". Select the keypair you created and allow the Security Group you created to access it. Then click on "Launch".

Accessing your instance

Now go to "Instances". You should see an instance running. In the "Actions" column, click on "More" and "associate Floating IP". An IP address should appear in the "IP Address column". Remember it.

Now, go back to your file system, open a terminal and go where your .pem file has been created and type : $ sudo ssh -i [.pem filename] core@[floating IP Address]

Congratulations ! Now you can access your virtual machine using coreOS. The next step will be to deploy a container on it.