CACloud

×
×

Starting with Openstack

Back

Here are some initial steps to get started with our Openstack offering. This is a plan ideal for clustering, where all of your instances have internal IPs, and can communicate internally and securely.

For Windows Servers, you can simply boot a Windows instance, and setup an initial password from the console. Afterwards you can RDP into the server. For access to linux servers, you need an SSH key, and add it to the account.

If you already have one, skip ahead. In order to create an SSH key, you can do the following locally:

Linux:

ssh-keygen -t rsa -C "your_email@example.com" This will generate an SSH keypair, with a public and private key. **KEEP YOUR PRIVATE KEY SAFE! THIS IS YOUR PASSWORD**

Windows:

1. Download and install PuttyGEN For Type of key to generate, select SSH-2 RSA and then click Generate.

2. Move your mouse in the area designated until the progress bar fills Click on "Save private key" to save your private key file. **KEEP YOUR PRIVATE KEY SAFE! THIS IS YOUR PASSWORD**

3. Copy the text in the Public Key field, you will be pasting this in our account dashboard.

Now in the esecure panel under Virtual Private cloud, go to the SSH Keys tab and click on Register Key Name your key (this can be anything) Paste your public key in the textbox below. Your key should start with ssh-rsa and have a lot of letters and numbers afterwards. The last part should be your email, or whatever comment you set at the end of your key. This key will be injected into any Linux instance you build.

 

Now Click on the "Add New Server" tab to boot an instance. Provide it with a name, select your OS template, Select a flavor, setup some initial Security group (firewall) rules, and select your SSH key.

Once booted, it comes with an internal IP. This is great for clusters but you will need an external IP to initially ssh/RDP in.

To add a Public IP: Click on your servers hostname, go to the Network tab, and click on Assign Floating IP address. Select the interface (by default it will add the initial interface) and click on Assign Floating IP Address. You now have a public IP address to access your server. This IP address will be connected to your account. So if you remove your servers and add any new ones, you can always use the same IP, Even if you completely rebuild/change your OS. You can now SSH/RDP into your server using that floating IP.

If you want additional storage, click on the Storage tab > Create new volume Select the size of your volume, and it will be created. You can then attach this to any of your servers, and it will persist even if you remove a server. Your server will automatically see this as a new drive once attached.

These are the first steps towards using Openstack. Apart from using our GUI, you can also provision and manage your resources via an open CLI and API.

Was this article helpful?
Dislike0 Like0

Views: 293