Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Intro to "Asgard"


Published on

Intro to “Asgard” : an open source web interface for application deployments and cloud management.

Published in: Technology
  • Be the first to comment

Intro to "Asgard"

  1. 1. Author : Pritiman Panda Intro to AsgardWho am I ?LinkedinTwitterSlideshareRSS FeedPritiman Panda
  2. 2. Author : Pritiman Panda Intro to AsgardAgenda Introduction What is Asgard ? – a few definitions AWS Management Console vs Asgard Features provided by Asgard Asgard - Landscape Advantages of using Asgard Installation Steps Additional Info Things to be taken care of Reference Links
  3. 3. Author : Pritiman Panda Intro to Asgard We all must have heard about Netflix as one of the biggest Movie/TV Shows streaming site. But toadd on, it is also a game changer in the Technology front when it comes to experimenting andadvocating Open Source Products for Cloud based development and platforms. Lot of Innovation and thoughts come over from Netflix. Some companies take it up as a referencemodel for their Architecture design, implementations and other cloud offerings Watch-out for latest happening at Netflix Tech Front -
  4. 4. Author : Pritiman Panda Intro to Asgard “Asgard” - a web interface for application deployments and cloud management. Its a Self Service Tool used by Netflix for the past several years to deploy applications and services to the Amazon Cloud Asgard is also considered as Netflixs home-built open source tool manages Amazon workloads. To add on Netflix is one of thebiggest users of AWS. Asgard is named for the home of the Norse god of thunder and lightning, and since Asgard is where Netflix developers go tocontrol the clouds the name sounds appropriateWhat is “Asgard “? – a few definitionsAmazonWeb ServicesAccess the AWS functionalities viaREST APIsAsgard Web Interface
  5. 5. Author : Pritiman Panda Intro to AsgardAWS Management Console v/s AsgardCriteria AWS Management Console AsgardSecurityThe credentials and the secret key has to be shared withevery developer for accessing the AWS account.The credentials and the secret keys are configured in theConfig.groovy file at the Server end. The Asgard Portal canbe accessed at ease, without dwelling into the passwordsecurity management.Logging and AuditIt is tough to debug and troubleshoot as the AWS doesnot expose any log of recent user actions on an account.Logging and Audit Trail are integrated with the Asgardmanagement system providing a lot of transparency anddetail.ConventionsWith multiple users accessing the cloud and incorporatingtheir changes, with no conventions, can end up in aunlabelled clutter and expensive placeAsgard enforces naming conventions in order to keep thecloud a saner place that is possible to audit and clean upregularly as things get stale, messy, or forgottenIntegrationAWS being a closed system, there is no scope for anyintegration touch pointsAsgard being a open source product and console, provides alot of flexibility to make changes and integrate with otherexternal systems.Automate Work Flow NAAsgard provides an intelligent mechanism for thedeployment process wherein necessary steps can beperformed to enable or disable instances/ASGs and monitorthe Application PerformanceTo summarize, Asgard is the baby born out of the REST APIs exposed by AWS under the nursing of Netflix
  6. 6. Author : Pritiman Panda Intro to AsgardAddressing to the pain points of the Amazon Web Service, Asgard providessome of the following features based on the cloud management and clustermaintenance interface : load balancing, auto-scaling, launching, security single view for managing services, organized around eachapplication maintains application registry in Amazon Simple DB duration each instance of the application has been running andwhen it was created node details in a multi-node environment or cluster troublesome and infected nodes can be removed – rollback manage rolling push, in which all the nodes of a cluster can bereplaced one by one, without disrupting the operation of thecluster as a wholeFeatures provided by Asgard
  7. 7. Author : Pritiman Panda Intro to AsgardAsgard - LandscapeBusinessApplication
  8. 8. Author : Pritiman Panda Intro to Asgard Amazon Key or Account is required for every individual who wants to access thecloud environment and make changes and development on the AWS cloud. With theAsgard approach, the organization can help their employees to access the AWSwithout sharing the credentials and keys. AWS lacks support for Auto Scaling Groups (ASGs). By leveraging ASG(provided byAsgard) customers using AWS can provide reliability, redundancy, cost savings,clustering, discoverability, ease of deployment, and the ability to roll back a baddeployment quickly Asgard enforces conventions to make cloud a saner place, with the ability to auditand clean up regularly as things get stale, messy, or forgotten. This prevents us frommaking the cloud a unlabelled clutter, when accessed by multiple users in a CloudEnvironment AWS does not provide any Logging Mechanism from a user account and actionsperspective, this is where Asgard becomes handy providing a auditability to thesystem. Integrating with some in-house or external systems. But point to note, this whatNetflix did by integrating with their inhouse systems like Jenkins and Discoverysystems. Need to confirm how it works out if we want to leverage this Integrationfeature From an automated and intelligent deployment perspective, Asgard can providethe multiple step approach to a single form submission. Simple REST APIs can be exposed and published, hiding the complex steps from theuserAdvantages of using Asgard
  9. 9. Author : Pritiman Panda Intro to Asgard Download the Asgard WAR from the link : Install Tomcat 6.x in your system Make the following Changes to the server.xml in the folder ~/Tomcat6/conf/ Delete all the contents in the ~/Tomcat/webapps/ folder Copy the Asgard.war to the webapps folder Start the Server Hit the browser http://localhost:8080/init Login with your AWS ID and Secret keyReference Link : Steps
  10. 10. Author : Pritiman Panda Intro to AsgardSnapshot
  11. 11. Author : Pritiman Panda Intro to AsgardWhere can I find the Source Code :It has been open-sourced now and is available for public use and downloads at github : Asgard is released under the Apache License, Version 2.0 – play with the project and make improvementsAdditional Info
  12. 12. Author : Pritiman Panda Intro to AsgardThings to be taken care of Ensure that you have Java6 in your system (NOT Java 7, Asgard is not compatible with the Java 7 and throws exceptions) It works on Chrome, Firefox and other Browsers but NOT Internet Explorer
  13. 13. Author : Pritiman Panda Intro to Asgard (ASGARD - Reference Screenshots andreference for my slide content!! ) Asgard, the Grails App that Deploys Netflix to the Cloud (Slides 2012) Building Cloud Tools for Netflix (Slides 2011) Building Cloud Tools for Netflix (Video 2011) Quick Start Installation Guide Trouble Shooting Installation REST-APIsPlease Note :Most of the Contents in this Slide Deck are referenced from the Tech blogs at NetflixFew Reference Links
  14. 14. Author : Pritiman Panda Intro to Asgard‘am still exploring this Open Source offering and will keep enriching this content based on the learning. If you havesome thoughts and reference information in this context please feel free to share them across.Happy Learning!! :-)ThoughtsImage Source :
  15. 15. Author : Pritiman Panda Intro to Asgard
  16. 16. Author : Pritiman Panda Intro to Asgard• for image• for image• for image• for image•• for image• for image• for image
  17. 17. Author : Pritiman Panda Intro to Asgard