Deploying OSSIM to MS Azure Cloud

Deploying OSSIM to MS Azure Cloud

In the previous part of this tutorial I have created a VHD with AlienVault OSSIM. The next step is deployment to the Cloud. I am going to use Azure Classic model because it allows to create your own VM images quite easily.

  1. The first step is to create a storage account. Go to manage.windowsazure.com and click “+ New” button on the bottom of the page.

  1. I am going to upload the file via Azure CLI [Download] and Azure PowerShell [Download], however there is also an easier way (see point 3).

Create new container via New Azure Portal, import subscription settings from AzurePublishSettingsFile and upload the VHD as PageBlob.

  1. Honestly, using a cloud storage explorer program might save a lot of time. My favorite is CloudXplorer. After installing CloudXplorer, go to manage.windowsazure.com -> Storage. Select your storage account and click MANAGE ACCESS KEYS button. Copy the access key and connect explorer to your account (Accounts -> New -> Azure Blobs Account).

Create new container and upload your VHD as a page blob.

003

  1. Wait eternity and a couple minutes to upload 8 GB to the cloud storage…
  2. At this point, even if you have uploaded VHD via PowerShell, you still need CloudXplorer. Our VHD is only 8 GB – we need a bit more for our root partition. Right click on your VHD and select “Expand virtual disk…”. Recommended size is at least 500-1000 GB, however for lab environment 50 GB may be more than enough.
  3. Before we start VM deployment, we need a virtual network to place it. Let’s create one.

010

  1. At manage.windowsazure.com go to “Virtual machines”. Change from “Instances” to “Images”. Click “+ Create” button.

004

  1. At manage.windowsazure.com click “+ New” button. We are going to create new Virtual Machine from gallery.

  1. Finally, let’s create new instance!

006

For a small environment size D3 would be fine. It can be changed later! Welcome to cloud flexibility.

007

008

009

  1. After some time, our instance should be up & running. There are still some things to do – let’s continue in the next part of this tutorial.

References

https://azure.microsoft.com/pl-pl/documentation/articles/powershell-install-configure/

https://azure.microsoft.com/pl-pl/documentation/articles/xplat-cli-install/

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.