Wednesday, February 24, 2016

Create cloud instances in WSO2 OpenStack

Hey,

I know u are a beginner who are just wondering to create a new instance in WSO2 OpenStack for the first time. Let's begin...

1. You have to login to OpenStack with your credentials : https://iaas.wso2.com/dashboard/auth/login/
(Note: In here use just the first part of your mail as the user name. Ex: hello@wso2.com then just use hello)

2. Make sure you are in the right category.



3. Go to "Access and Security" Panel

4. Go to "Key Pairs" tab and Click on "Create Key Pair". Give a name (Note: Key will always referring you in future instances and make sure to give a proper user name for your key. Ex: dilshani)
Then key will be downloaded.



5. Then lets create an instance. We can create instances from images. Go to "Images" panel.  You may find instance called "Centos-6.5".
So our example instance will create upon Cent OS. You may choose variety of choices like linux, windows etc. as images.

6.  Click on "Launch" and Give a name for instance. Flavor will indicate size of instance.Then click on "Launch"



7. Instance will be created and available in "Instances" Panel. You can go there and check for newly created instance. At there, you can see the IP address of your instance.

8. Lets login to remote instance in cloud.
Go to the place you downloaded your Key. (Ex: Downloads/). There you may find your key as .pem file (dilshani.pem)

From that location you can login to your instance. Type this in terminal:

ssh -i <keyfile> <cloud-username>@<IP of instance>

Ex: ssh -i dilshani.pem centos@192.168.23.55

Note: Cloud user name will be differ according to type of instance. (Ex: "ubuntu" for ubuntu OS, "centos" for Cent OS.

You are done with your first Instance in WSO2 OpenStack :)



No comments:

Post a Comment