Hello and welcome to the SAP HANA Academy.
The topic of this video tutorial series is Getting Started with SAP HANA on Microsoft Azure
and in this video, I will show you how to create an SAP HANA, express edition virtual machine
using the Azure marketplace.
Hi, I am Denys van Kempen.
In the previous video, we looked at the SAP Cloud Appliance Library (CAL)
which abstracts, some would say simplify, some of the complexity involved in creating VMs
for SAP HANA (or any other SAP software component, for that matter) on the cloud provider platform.
Amazon AWS, the Google Cloud Platform, and Microsoft Azure
are very rich in products and services
and finding your way around typically will involve some study.
On CAL, all you have to do is select your cloud providerenter a name, pick the region
and type the password and off you go.
It is easier to configure, but - and that’s the flip side of the coin - it offers less control.
So let’s take a look at how this would work creating a VM for SAP HANA, express edition,
using Microsoft Azure directly
First, you will need to create an account, set yourself up - we have already covered that -
so here I am connected to the Azure portal and I will select Marketplace, here from the menu.
Just enter ‘hana express’.
Here we have it.
I will pick in-memory database plus XS advanced (server + applications)
This will return some information about the solution with links to the Getting Started Guide
and the Self-Learning Playlist of the SAP HANA Academy, You may have heard of them - great stuff.
and then I will select ‘Create’ to deploy, to create an instance, that is.
We need to provide a name for the VM. I will use 'express' (this will also be the hostname of the system),
a user name (this will be the account to connect to the VM)
and we can use an SSH public key (the safe way) or a password, not so safe.
needs to be between 12 and 72 characters for this reason: might be a bit of a challenge, there.
The resource group: I will create a new one, you could also opt to use an existing group.
Say, you want to create multiple VMs, all using the same firewall configuration, for example,
might as well use the same group.
Pick your location. Click OK.
This will bring us on page 2: Size.
We get a recommended configuration, in our case, for express, that’s D12_V2
and an estimated price is returned: USD per month.
This is for 24 times 7 up-time.
Typically, of course, for study or development, it will only be a small fraction of this.
We get 4 virtual CPUs, 28 GB of RAM but here you can make all the changes you want and size it as desired.
More flexibility.
I will select the recommended configuration.
Now we are on page 3: Settings.
Configure optional features (even more flexibility).
High availability, Storage, Network, Extensions, Auto-shutdown, Monitoring.
Lots of options here.
Like I said, this will require a bit of reading to find out what’s possible and what kind
of changes you might want to make here.
I will stick to the default and rely on the template settings of the express solution.
OK.
Page 4: Summary: wraps it up for us.
We get a warning that we will be billed separately for HANA express, which will cost us exactly
0 US dollars per hour.
As you know, express edition comes free of charge up to 32 GB of RAM.
There is a terms of use for this particular Marketplace solution (always best to double check)
and here we can review our settings.
Select Create and this will trigger the deployment process.
The tile is unable to provide the status of the deployment today
but if we open it, takes a couple of minutes all-in-all.
3 minutes and 15 seconds, to be exact (this time, in my region; your mileage may vary)
and the deployment was successful.
So, let’s close this screen and take a look at all my resources
let’s filter on the name ‘express’ -
and here we can see we have a VM, a disk,
a network interface, a public IP, and a network security group.
Let’s take a look at that one.
Here we see all the inbound rules, all the ports that are open so we can make a connection
We have already looked at this, in some detail, in the access points video.
OK.
I will select the VM, and then connect.
Just an information page.
Connect using SSH username@IP.
We have seen this before.
Let’s open a terminal and paste in the command.
First time, you will always get this message: authenticity can’t be established.
The key fingerprint is provided, so you can look it up on the Azure portal when in doubt
It is fine for me: yes and the host will be added to the lists of known hosts.
Most of you will be familiar with this bit of SSH infrastructure, so I will not elaborate.
Enter the password of your user.
(make sure you type it correctly) and then we are connected.
Now, of course, we can switch to root with ‘sudo -i’ and then switch to the hxeadm user,
for HANA express and perform the post-configuration tasks.
We have covered this in another video tutorial in this series, so I will leave it at that.
OK.
So much for creating an SAP HANA, express edition VM using the Azure marketplace.
It will give you more configuration options when compared to using the SAP Cloud Appliance Library
but for the non-initiated, this also means that it might be a bit more complex.
However, it is still a marketplace solution, so if you accept all defaults
- as we have seen, it is just a couple of clicks, stir a bit and some patience -
and your cloud solution will be ready.
Setting everything up from scratch is a bit more complex, I can tell you that.
OK.
Thanks for watching.
You can find more video tutorials on our YouTube channel.
If you would like to be informed about new video tutorials, please subscribe to our channel.
You can connect with us on LinkedIn or follow us on Twitter, as well for updates.
And we also have a page on Facebook and Google+.
If you are watching this video on YouTube, do not hesitate to leave your comments to
the video page and, if you like, give us your vote on his video.
Thank you for watching.