Automated Application Provisioning for Cloud



Similar documents
Backup and Recovery of SAP Systems on Windows / SQL Server

Online Backup Guide for the Amazon Cloud: How to Setup your Online Backup Service using Vembu StoreGrid Backup Virtual Appliance on the Amazon Cloud

SERVER CLOUD DISASTER RECOVERY. User Manual

Every Silver Lining Has a Vault in the Cloud

Zend Server Amazon AMI Quick Start Guide

Tcl and Cloud Computing Automation

GeoCloud Project Report GEOSS Clearinghouse

Web Application Deployment in the Cloud Using Amazon Web Services From Infancy to Maturity

Amazon Elastic Beanstalk

TECHNOLOGY WHITE PAPER Jun 2012

ur skills.com

Managing Your Microsoft Windows Server Fleet with AWS Directory Service. May 2015

Opsview in the Cloud. Monitoring with Amazon Web Services. Opsview Technical Overview

ArcGIS for Server in the Amazon Cloud. Michele Lundeen Esri

ArcGIS for Server: In the Cloud

Cloud computing - Architecting in the cloud

AVLOR SERVER CLOUD RECOVERY

AdWhirl Open Source Server Setup Instructions

McAfee Public Cloud Server Security Suite

TECHNOLOGY WHITE PAPER Jan 2016

Drupal in the Cloud. Scaling with Drupal and Amazon Web Services. Northern Virginia Drupal Meetup

Migration Scenario: Migrating Batch Processes to the AWS Cloud

ArcGIS 10.3 Server on Amazon Web Services

On- Prem MongoDB- as- a- Service Powered by the CumuLogic DBaaS Platform

WEBAPP PATTERN FOR APACHE TOMCAT - USER GUIDE

Postgres Plus Cloud Database!

Background on Elastic Compute Cloud (EC2) AMI s to choose from including servers hosted on different Linux distros

Migration Scenario: Migrating Backend Processing Pipeline to the AWS Cloud

How To Set Up Wiremock In Anhtml.Com On A Testnet On A Linux Server On A Microsoft Powerbook 2.5 (Powerbook) On A Powerbook 1.5 On A Macbook 2 (Powerbooks)

Chapter 9 PUBLIC CLOUD LABORATORY. Sucha Smanchat, PhD. Faculty of Information Technology. King Mongkut s University of Technology North Bangkok

Using SUSE Studio to Build and Deploy Applications on Amazon EC2. Guide. Solution Guide Cloud Computing.

Cloud Computing and Amazon Web Services

Alfresco Enterprise on AWS: Reference Architecture

Eucalyptus User Console Guide

About the VM-Series Firewall

Moving Drupal to the Cloud: A step-by-step guide and reference document for hosting a Drupal web site on Amazon Web Services

Hadoop Setup. 1 Cluster

Forklifting to AWS: An Option for Migration to AWS October Forklifting to AWS: An Option for Migration to AWS

GETTING STARTED WITH PROGRESS AMAZON CLOUD

The KOALA Cloud Management Service

Installing a Symantec Backup Exec Agent on a SnapScale Cluster X2 Node or SnapServer DX1 or DX2. Summary

This module explains the Microsoft Dynamics NAV architecture and its core components.

Cloud Models and Platforms

ArcGIS for Server in the Cloud

VMUnify EC2 Gateway Guide

A programming model in Cloud: MapReduce

The steps will take about 4 hours to fully execute, with only about 60 minutes of user intervention. Each of the steps is discussed below.

AWS Service Catalog. User Guide

Specops Command. Installation Guide

Amazon Web Services 100 Success Secrets

HADOOP BIG DATA DEVELOPER TRAINING AGENDA

How AWS Pricing Works

Getting Started with Amazon EC2 Management in Eclipse

USER CONFERENCE 2011 SAN FRANCISCO APRIL Running MarkLogic in the Cloud DEVELOPER LOUNGE LAB

Using Delphix Server with Microsoft SQL Server (BETA)

Using ArcGIS for Server in the Amazon Cloud

SUSE Manager in the Public Cloud. SUSE Manager Server in the Public Cloud

Building Success on Acquia Cloud:

LT Auditor Windows Assessment SP1 Installation & Configuration Guide

2) Xen Hypervisor 3) UEC

Deploy XenApp 7.5 and 7.6 and XenDesktop 7.5 and 7.6 with Amazon VPC

How AWS Pricing Works May 2015

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

Setup Guide for AD FS 3.0 on the Apprenda Platform

Continuous Integration (CI) and Testing - Configuring Bamboo, Hudson, and TestMaker

EEDC. Scalability Study of web apps in AWS. Execution Environments for Distributed Computing

Acronis Storage Gateway

System Administration Training Guide. S100 Installation and Site Management

Building an AWS-Compatible Hybrid Cloud with OpenStack

Amazon Web Services EC2 & S3

SERVER CLOUD RECOVERY. User Guide

SCCM 2012 Support Center Tool

Deploying and Managing SolrCloud in the Cloud ApacheCon, April 8, 2014 Timothy Potter. Search Discover Analyze

Deploying Dedicated Virtual Desktops in Hosted Environments

Migration and Disaster Recovery Underground in the NEC / Iron Mountain National Data Center with the RackWare Management Module

Drobo How-To Guide. Cloud Storage Using Amazon Storage Gateway with Drobo iscsi SAN

Setting up of an Open Source based Private Cloud

Chef Integration. Chef Integration. with IDERA s Uptime Cloud Monitor. Simple, Smart, Seamless May 10, 2013 IDERA

Deploy Remote Desktop Gateway on the AWS Cloud

INSTALLING KAAZING WEBSOCKET GATEWAY - HTML5 EDITION ON AN AMAZON EC2 CLOUD SERVER

About the VM-Series Firewall

Getting Started with Database Patching

Continuous Integration & Automated Testing in a multisite.net/cloud Project

Cloud UT. Pay-as-you-go computing explained

WSO2 Business Process Server Clustering Guide for 3.2.0

An Introduction to Cloud Computing Concepts

Cloud Computing. Chapter 1 Introducing Cloud Computing

Implementing Microsoft Windows Server Failover Clustering (WSFC) and SQL Server 2012 AlwaysOn Availability Groups in the AWS Cloud

HDFS Cluster Installation Automation for TupleWare

On premise upgrade guide (to 3.3) XperiDo for Microsoft Dynamics CRM

Installing and Configuring a. SQL Server 2012 Failover Cluster

Putchong Uthayopas, Kasetsart University

Transcription:

Automated Application Provisioning for Cloud Application Provisioning in Cloud requires mechanism to automate and repeat as and when it requires. This is mainly because the building blocks of an IT infrastructure such as computing, storage, network, security is split into different building blocks and converted into a set of services. Now you can reach all of this services using a web service call rather than using a GUI/command line interface.

Introduction This paper attempts to explain a new way of automated application provisioning over the Cloud using the combination of simple and elegant tools such as CloudSmart, HybridFox and CloudBuddy Personal. Background Automated Provisioning is not something new as far as any large scale or repeated deployment goes. In the traditional way of large scale deployment, the Operating System and commonly-used applications are packaged as an image and deployed at one go. On the flip side, this is not a flexible and scalable model. Hence application provisioning systems such as Puppet, Chef are being used extensively. Application Provisioning in Cloud requires mechanism to automate and repeat as and when it requires. This is mainly because the building blocks of an IT infrastructure such as computing, storage, network, and security are split into various blocks and converted into a set of services. You can reach all of this services using a web service call rather than using a GUI/command line interface. The flexibility of provisioning IT resources dynamically, as and when it requires, necessitates a change even while you design your deployment architecture. This is mainly because of the nature of Cloud building blocks, which is stateless when it comes to computing and that s the feature which allows one to reap the benefits of automated scaling. The traditional application deployment assumes that the deployed applications would reside persistent and the infrastructure is made available upfront rather than on demand. Typical steps being executed to deploy any application over the Cloud are: Pre Deployment Obtain an account with a Cloud Provider (in this case it is Amazon) Design your application deployment architecture Develop a run book to capture the necessary steps for deployment Deployment Perform the run book steps manually using various tools Post Deployment Verify the deployment Automation here refers to automating the steps mentioned in any application deployment run book related to provisioning of instances, applications etc instead of performing them manually. Solution - Automated Application Deployment Amazon Web Services (AWS) is the pioneer in Cloud Computing and we have chosen AWS to explain our solution primarily because it is one of the most highly scalable and stable Cloud services available at this point. Also, we have chosen a web application to make it simpler. Page 2

Architecture Introduction to the Tools CloudSmart CloudSmart tool provides flexible mechanism to automate your cloud application deployment. This tool is tested successfully and fully functioning in AWS (Amazon Web services) Cloud Environment. The tool is developed using ANT build tool This document describes the mechanism for automating your application deployment in Windows and Linux environment over the AWS cloud infrastructure. CloudSmart Tasks Core Layer The core layer of CloudSmart helps the user to perform the following activities: S.No Activities Description 1 2 3 S3 Download BaseTask HTTPDownload Helps trigger download application deployment files from S3 to the EC2 instance Helps save the downloaded files in the required location of the EC2 instance Facilitates the download from S3 using HTTP method 4 5 MetadataDownload ReplaceProperty Helps acquiring the instance's metadata (AMI-ID, instance-id, hostname etc) provided by AWS Helps replacing the properties of the files that are getting downloaded in the EC2 instance Page 3

Enhanced Layer(CloudSmart Tasks) The enhancement layer of CloudSmart helps the user to perform few activities such as: S.No Activities Description 1 2 CreateVolume AttachVolume Helps creating the EBS volume by providing EBS size and device as inputs Helps attaching EBS volumes to EC2 instances 3 DetachVolume Helps detaching EBS volumes from a EC2 instance 4 5 CreateVolAttach AttachIP Helps creating a EBS volume and attaching the same to a given EC2 instance Helps associating an Elastic IP, which is already generated, to an Ec2 Instance CloudBuddy Personal CloudBuddy Personal is a handy tool to manage Amazon S3 storage. It has API s and Powershell CMDLETS to automate the tasks of uploading, downloading, etc. Please visit the following link for more information: http://www.mycloudbuddy.com/ HybridFox Hybridfox is an attempt to get the best of both world of popular Cloud Computing environments, Amazon EC2 (public) and Eucalytpus(private). The idea is to use one Hybridfox tool, which itself is a modified or extended elasticfox, to switch seamless between your Amazon account and you Eucalyptus Account in order to manage your Cloud "Computing" environment. Please visit the following link for more information: http://code.google.com/p/hybridfox/ Cloud Based Application Deployment Process Page 4

Uploading Deployment Files All the deployment files will be stored in S3 using CloudBuddy Personal. Bundling Windows AMI/EBS Image Windows AMI with following instances will be identified using Hybridfox /Elasticfox based on client requirements: Application Servers Database Servers Web Servers etc Also it needs to be loaded with the following tools: JDK 1.5 or later from Sun Install JDK on the instance and set the JAVA_HOME and add JAVA_HOME/bin in the Path as an environment variable on the Windows instance Ant 1.7 or later from Apache Extract the ANT tool and set the ANT_HOME and add ANT_HOME/bin in the Path CloudSmart core tool Configure the Start-up Script by utilizing Microsoft Management Console (MMC), where the user needs to mention the path of batch file which initiates CloudSmart to execute tasks associated with cloud deployment. On successful completion of above tasks, bundle the instance which is having the CloudSmart deployment ready state. The bundled instance will be displayed as provided in below screenshot with a AMI ID associated with it Page 5

Launching the Windows AMP/EBS Image The bundled AMI with pre-requisites in place will be launched using Hybridfox by providing the following user-data: S.No Activities Description 1 Access Key The access key for the S3 Account 2 Secret Key The secret key for the S3 Account 3 Bucket Name The bucket where the file with cloud deployment scripts will exist 4 Build File The file which contains the cloud deployment scripts Page 6

Samples of Deployment Scripts To set property <property name="iisroot" value="c:\inetpub\wwwroot\"/> To download application deployment files from S3 <s3download accesskey="${accesskey}" secretkey="${secretkey}" bucketname="cloudsmart" S3ObjectPath="cloudsmartwin/SRTS/SRTS.zip" localfolder="${s3buildpath}" /> <exec executable="cmd"> <arg line="/c jar xf SRTS.zip"/> </exec> <move todir="${iisroot}\srts"> <fileset dir="${s3buildpath}\srts"/> </move> To create & attach EBS <CreateVolAttach accesskey="${accesskey}" secretkey="${secretkey}" size="1" instanceidurl="http://169.254.169.254/latest/meta-data/instance-id" device="xvdp" /> To attach Elastic IP <AttachIP accesskey="${accesskey}" secretkey="${secretkey}" elasticip="75.101.137.183" instanceidurl="http://169.254.169.254/latest/meta-data/instance-id" /> Start-up Tasks Downloads the application requirement files to the EC2 instance from S3 Save and extract all the files to web / application server Configure the server and dynamically creates the virtual directories, if required Change the host-name and the machine name in the web.config file, if needed Creates and attach the EBS volume to the instance Mount and format the drive as a windows drive for SQL DB, FileStore and application Backup drives, if required Copy the MS-SQL Server data directory in to EBS drive, if required Attach the database to the MS-SQL Server and refresh the DB, if required Associating Elastic IP to EC2 instance, if needed Intermediate Tasks Run the update patches for software / OS / applications etc Upgrade EC2 instance configuration from small to medium/large, if needed Future Enhancements Enable the logs using build file, which shall be loaded to S3 from EC2 instance Scheduler periodic snapshot of EBS volumes Enable automation script for cluster setup User-friendly management console for easy deployment. Page 7

About CSS CSS, a global technology solutions provider, focuses on IT operations management services aimed at optimizing its customer's IT operations. CSS offers solutions in the area of Enterprise and Consumer Technology Support, Application Lifecycle Management and Remote Infrastructure Management Services. The company has proven expertise in developing, supporting and managing its customer's entire technology stack (servers, networks, systems and technologies as well as applications running on them) on a 24x7 basis globally. In addition, CSS has an impeccable record of delivering the whole gamut of technical and customer support services for both enterprise and consumer technology products and applications on a global basis. With a unique "100% referenceable customers" mission statement, the company lives and breathes operations support and customer satisfaction. Head-quartered in San Jose, CA, CSS currently has global operations centers in Chennai (India), Utah (USA), Poland (Europe) and in the Philippines. CSS has over 80 customers including Industry leaders such as Alcatel-Lucent, Sun Microsystems, & Blackboard Inc as its long term customers. CSS is a professionally managed, privately held company with investments from SAIF, Goldman Sachs and Sierra Ventures. 2010 CSS Corporation. All rights reserved. Page 8