For folks attending the workshop at Hadoop Summit, San Jose 2015 we provided Microsoft Azure Pass. If you already have an Azure account skip this step. If you are following along at home you can sign-up for an Azure Trial or download the Hortonworks Sandbox on your machine.
To use the Microsoft Azure Pass navigate to http://www.microsoftazurepass.com
On the next step, you will need to provide a Live Id that is not already tied up with an existing Azure account.
You will receive $100 credit, which in my estimate is worth Hortonworks Sandbox node running on a A3 size VM for about 12 days. Your mileage may vary:
Complete the signup:
Wait, your Azure account will be ready in a few minutes
Start by logging into the Azure Portal with your Azure account:https://portal.azure.com/
Navigate to the
Search for Hortonworks. Click on the Hortonworks Sandbox icon.
To go directly to the Hortonworks Sandbox on Azure page navigate to http://azure.microsoft.com/en-us/marketplace/partners/hortonworks/hortonworks-sandbox-sandbox22/
This will launch the wizard to configure Hortonworks Sandbox for deployment.
Note the highlighted text in the instructions above. You will need to note down the
hostname and the
password that you enter in the next steps to be able to access the Hortonworks Sandbox once deployed.
I recommend you select
Standard A4 for the pricing tier, so that you get more memory to play with. You can change other configurations if you want, but the defaults work well. I usually change the location to the datacenter to where my preexisting Azure resources are or the one closest to me.
Buy if you agree with everything on this page.
At this point it should take you back to the Azure portal home page where you can see the deployment in progress.
Once the deployment completes you will see this page with configuration and status of you VM. Again it is important to note down the DNS name of your VM which you will use in the next steps.
If you scroll down you can see the Estimated spend and other metrics for your VM.
Azure sets the SSH port dynamically for security reasons. Let’s look up the SSH port.
To look up the SSH port click on the
Settings icon on the top panel
Endpoints and scroll down to note the public SSH port for your VM
Now we can use the command below to login.
ssh <username>@<hostname>.cloudapp.net -p <port>;
<port> as you have noted down during your deployment. The password is the same password that you have provided during deployment.
Once you login, let’s change the
root password to a known password using the command
sudo passwd root
Now we can login as
root with the command
Next we are going to change the hostname of the VM to
sandbox.hortonworks.com with the command
sudo hostname sandbox.hortonworks.com
Let’s navigate to the home page of your Sandbox by pointing your browser to the URL:
http://<hostname>.cloudapp.net:8888 , where
<hostname> is the hostname you entered during configuration.
If you are doing it for the first time, it will take you to the registration page.
Once you register, you will see the homepage of your Sandbox.
Now navigate to port 8000 of your Hortonworks Sandbox on Azure from the browser.
Enable Ambari by clicking on the
Enable button. Ambari is crucial for managing your HDP instance.
If you want a full list of tutorial that you can use with your newly minted Hortonworks Sandbox on Azure go to http://hortonworks.com/tutorials.