1) Setup Azure account
2) Setup CloudBreak account
Very important steps : Applies to Azure only
Create a test network in Azure before you start creating cloudbreak credentials.
In your local machine, run the following and accept default values.
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout azuretest.key -out azuretest.pem
You will see 2 files as listed below.
-rw-r--r-- 1 nsabharwal staff 1346 May 7 17:00 azuretest.pem --> We need this file to create credentials in cloudbreak.
-rw-r--r-- 1 nsabharwal staff 1679 May 7 17:00 azuretest.key --> We need this to login into the host after cluster deployment.
chmod 400 azuretest.key --> otherwise, you will receiver bad permission error
for example: ssh -i azuretest.key ubuntu@<server>
Very important: check your openssl version and if it's latest version then run the following and use azuretest_login.key to login
openssl rsa -in azuretest.key-out azuretest_login.key
hw11326:jumk nsabharwal$ openssl version
OpenSSL 0.9.8zc 15 Oct 2014
Latest version of openssl creates .key with
-----BEGIN PRIVATE KEY-----
Old openssl creates keys with ( we need this)
-----BEGIN RSA PRIVATE KEY-----
Login to cloudbreak portal and create Azure credential
Once you fill the information and hit create credentials then you will get a file from cloudbreak that needs to be uploaded into the Azure portal.
I saved it as azuretest.cert
Login to Azure portal ( switch to classic mode in case you are using new portal)
click Settings --> Manage Certificates then upload the bottom of the screen.
There are 2 more actions
In CloudBreak windows
1) Create a template
You can change the instance type & volume type as per your setup.
2) Create a blueprint - You can grab sample blueprints here ( You may have to format the blueprint in case there is any issue)
Once all this done then you are all set to deploy the cluster
select the credential and hit create cluster
Create cluster window
handy commands to login into docker
login into your host
ssh -i azuretest.key ubuntu@fqdn
" New announcement: Just found out that user needs to be cloudbreak instead of ubuntu "
ssh -i azuretest.key cloudbreak@fqdn
Once you are in the shell , sudo su -
docker exec -it <container id> bash
[root@azuretest ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f493922cd629 sequenceiq/docker-consul-watch-plugn:1.7.0-consul "/start.sh" 2 hours ago Up 2 hours consul-watch
100e7c0b6d3d sequenceiq/ambari:2.0.0-consul "/start-agent" 2 hours ago Up 2 hours ambari-agent
d05b85859031 sequenceiq/consul:v0.4.1.ptr "/bin/start -adverti 2 hours ago Up 2 hours consul
[root@test~]# docker exec -it 100e7c0b6d3d bash
Note: For the latest information and changes, please see