Jelastic Virtual Private Cloud on Azure. Deployment Manual

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

azure1

Jelastic offers PaaS for Java, JavaEE and PHP applications with advanced automation for certified containers.

Previously  we’ve announced that Jelastic Virtual Private and Hybrid Clouds are now available in the Microsoft Azure Marketplace. And today we’d like to tell you how to deploy Jelastic VPC on Azure.

The Jelastic platform is available for automatic and seamless installation on top of Azure, providing a fast and easy method to get into the cloud. Using Azure Marketplace, any ISV or enterprise customer can create the Jelastic Orchestrator in the Azure cloud.

Easy installation of dedicated Jelastic Virtual Private Cloud takes just a few hours but not days or months. In such a way, any ISV or enterprise can get their own light-weight version of the Jelastic platform with a full range of features and great performance due to premium storage instances with local SSD.

Pre-Requirements

1. Active Azure subscription

2. Domain name for Jelastic VPC instance

3. Preconfigured Azure storage for Jelastic VM

Go to the Azure portal and click on the New button, then select the Data+Storage> Storage item.

image04

Customize it with the required data:

  • Storage – name of your storage account
  • Pricing Tier – storage redundancy and performance. At the moment we recommend avoiding “premium storage” due to stability issues
  • Resource Group – create new or choose the existing one
  • Subscription – choose subscription the storage will be bound to
  • Location – select the appropriate Azure region for your storage
  • Diagnostics – define if you want Azure to monitor your storage health

Click Create when the required data is filled in.

4. Created virtual network for Jelastic VM

Click on the New button and select the Networking> Virtual Network item:

image08

Fill in the required data:

  • Name of your virtual network
  • Address space, Subnet name and Subnet CIDR block – select the appropriate address space and network size.
Note: At the moment you should stick the Subnet CIDR block to 10.0.0.0/24 subnet. This limitation will be removed in the future Jelastic for Azure releases.
  • Resource Group – create a new group or choose the existing one
  • Subscription – choose the required subscription
  • Location – select Azure region for your network (the same as you’ve selected for the storage account)

Click Create when the required data is filled in.

5. Odin Virtuozzo containers (PCS) license provided by Jelastic

Send an email to the Jelastic Team requesting a product license:

  • Use the following address: <azure.marketplace@jelastic.com> and message subject: “Request for Jelastic License on Azure”
  • Describe how many Azure VMs you are going to create
  • Jelastic will send you back the list of license keys

Jelastic Installation via Azure Marketplace

Navigate to Azure Marketplace and find Jelastic Standard Edition.

Choose it and click Create Virtual Machine.

image05

After that, you will be redirected to Azure portal (where you need to sign up with your active Azure account) in order to provide the required data for Jelastic VM creation.

image09

Create Jelastic VM

In the appeared tile, fill in the required data:

image00

  • Host Name – name for your Jelastic VM
  • User Name, SSH Public Key or Password – credentials for VM administrator
  • Pricing Tier – the required VM specs (D12 or better is recommended for Jelastic infrastructure VM)
  • Optional Configurations required for setup:
    • In the Network setup panel, select the local virtual network you’ve created earlier. Specify the Domain Name for your Jelastic cloud – choose the existing domain or create a new one. In the IP Addresses configuration panel, turn the Instance IP address switcher to On, set the Private IP address switcher to Static and specify the IP Address which will be used for Jelastic VM instance.
      Note: At the moment you should stick the Subnet CIDR block to 10.0.0.0/24 subnet. This limitation will be removed in the future Jelastic for Azure releases.
    • Configure the Storage account to point to the storage you’ve created earlier
  • Location – select the Azure region for your Jelastic VM (the same as you’ve selected for the storage account and local network previously)
  • Resource Group – create a new group or choose the existing one

Click Create. The pricing information will be loaded. Click Buy.

Follow the same steps to create more Jelastic VMs required for your cluster.

image12

Add Storage to Jelastic VM

Jelastic VPC requires two storage disks:

  • the first should be 350 Gb size or larger for infrastructure and end-user containers
  • the second should be 100 Gb size or larger for Docker cache and end-user uploads storage (this disk is required only for the first VM in your VPC, the next VMs in the cluster need just one storage disk for infrastructure and end-user containers)

So, follow the next steps to attach the additional storage disks to your Jelastic VM.

Select the Browse button, choose Virtual Machines and select the Jelastic VM you’ve provisioned earlier. Then click on the Settings, select Disks and select Attach New.

image02

Here you need to fill in the required data:

  • Storage Container – select the Storage account and Container where the data disk space will be allocated
  • Disk File Name – specify a disk name or leave it auto-generated by Azure
  • Size – the desired disk size in gigabytes
  • Host Caching – disk accesses caching policy. Select Read/Write for infrastructure and containers’ data disk and Read Only for the disk with Docker cache and end-user uploads

Repeat the same steps to attach the second storage disk if you created the first Jelastic VPC.

Jelastic Domain Name Configuration (for the first VPC node)

Delegate a domain name of your Jelastic instance to the Public IP address of your first Azure VM with the Jelastic cluster deployed using the hints below:

  • Use your primary domain to delegate a subdomain for Jelastic name server. Recommended subdomain name: jelastic.primarydomain.com
  • DNS server names and addresses:
    ns1.jelastic.primarydomain.com

          1 IP address allocated for this DNS server

  • Zone records example (make sure this is a part of the file for the parent zone primarydomain.com) – note the last one is a glue record:
    jelastic.primarydomain.com IN  NS  ns1.jelastic.primarydomain.com
    ns1.jelastic.primarydomain.com  IN A 1.1.1.1

Note: Make sure you DON’T have the SOA record for the jelastic.primarydomain.com zone on your DNS servers – otherwise the delegation will not work.

Configure Jelastic Installation

  1. Navigate to the Jelastic provision portal at http://azure-master.jelastic.com
  1. Enter the IP address of your Jelastic VM, created earlier at the Enter your Jelastic at Azure deployment IP address input box and select the Continue button. The provision portal will check this VM for prerequisites and prepare it for the Jelastic configuration process.

image06

  1. At the next page, fill in the following data:
  • Choose the Virtual Private Cloud → Deploy new VPC type of installation to provision Jelastic VM as infrastructure
  • Specify a dedicated Cluster domain name for a new VPC
  • State the Jelastic cluster admin credentials that will be used for your VPC
  • Generate a new SSH private key for the inter-cluster communication (download and save the key if you plan to deploy more nodes to this VPC)
  • Paste the Odin Virtuozzo containers (PCS) license received from Jelastic
  • Confirm Terms of Use and click Install

image07

Note: If you attach the second (or further) VPC to your cluster, you need to:

  • choose Add new user node to the existing Azure VPC item
  • specify a cluster domain and admin credentials of the initial VPC machine
  • upload SSH key previously generated for the initial VPC
  • state a new Odin Virtuozzo containers license received from Jelastic

The installation will take an hour or two, so please be patient.

image03

After that, you’ll be redirected to the Jelastic Cluster admin panel and can start managing your VPC.

image01

Conclusion

As a result you`ll get a fully configured Jelastic Private Cloud cluster just in a few steps. You can also expand your cluster by adding new Jelastic Virtual  machines (containers) if required. Do not hesitate – go ahead and try this yourself.

In the second part of this  blog series  we will show  how to create your Jelastic Hybrid Cloud on top of the Azure.

We are always in touch and ready to communicate, so leave your feedback in comments below.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

Leave a Reply

Subscribe to get the latest updates