Experiences with AWS and RightScale By: Max Gribov Presented at New York PHP, March 22, 2011

Slides:



Advertisements
Similar presentations
Running Your Startup on Amazon Web Services Alex Iskold Founder/CEO AdaptiveBlue Feature Writer ReadWriteWeb.
Advertisements

Cloud computing is used to describe a variety of computing concepts that involve a large number of computers connected through a real-time communication.
Ivan Pleština Amazon Simple Storage Service (S3) Amazon Elastic Block Storage (EBS) Amazon Elastic Compute Cloud (EC2)
B. Ramamurthy 4/17/ Overview of EC2 Components (fig. 2.1) 10..* /17/20152.
Amazon Web Services Justin DeBrabant CIS Advanced Systems - Fall 2013.
The Total Cost of (Non) Ownership of Storage In The Cloud Jinesh Varia Technology Evangelist.
University of Notre Dame
© 2010 VMware Inc. All rights reserved Amazon Web Services.
1 Proprietary, Copyright 2010 RightScale, Inc. Implementing Cloud Solutions: Best Practices from over 1MM Servers launched May 2010 Josh Fraser, VP Business.
Clouds are like cotton candy, and irons … make shirts flat? Barney Boisvert
Take your CMS to the cloud to lighten the load Brett Pollak Campus Web Office UC San Diego.
Using ArcGIS for Server in the Amazon Cloud
1 NETE4631 Cloud deployment models and migration Lecture Notes #4.
Webscale Computing Mike Culver Amazon Web Services.
Infrastructure as a Service (IaaS) Amazon EC2
Overview Of Microsoft New Technology ENTER. Processing....
© 2014 Amazon Web Services, Inc. and its affiliates. All rights reserved. Developing on AWS © 2014 Amazon Web Services, Inc. and its affiliates. All rights.
Nikolay Tomitov Technical Trainer SoftAcad.bg.  What are Amazon Web services (AWS) ?  What’s cool when developing with AWS ?  Architecture of AWS 
Cloud Computing (101).
What is Cloud Computing?. Why call it “Cloud” Computing?
Running Your Database in the Cloud Eran Levin VP R&D - Xeround.
Additional SugarCRM details for complete, functional, and portable deployment.
Introduction to Amazon Web Services (AWS)
Cloud Computing using AWS C. Edward Chow. Advanced Internet & Web Systems chow2 Outline of the Talk Introduction to Cloud Computing AWS EC2 EC2 API A.
A Brief Overview by Aditya Dutt March 18 th ’ Aditya Inc.
Cloud Computing for the Enterprise November 18th, This work is licensed under a Creative Commons.
A MAZON W EB S ERVICES Reza Yousefzadeh 12/9/2014.
Mastering Amazon RDS Data Masters. Special Thanks To… Miami Innovation Center for Entrepreneurship
Cloud Computing. What is Cloud Computing? Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable.
1 NETE4631 Amazon Cloud Offerings Lecture Notes #6.
Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer.
AWS Simple Icons v15.9 AWS Simple Icons: Usage Guidelines Check to make sure you have the most recent set of AWS Simple Icons This version was last updated.
Webscale Computing Mike Culver Amazon Web Services.
1 The Fast(est) Path to Building a Private/Hybrid Cloud October 25th, 2011 Paul Mourani RightScale.
608D CloudStack 3.0 Omer Palo Readiness Specialist, WW Tech Support Readiness May 8, 2012.
Plan  Introduction  What is Cloud Computing?  Why is it called ‘’Cloud Computing’’?  Characteristics of Cloud Computing  Advantages of Cloud Computing.
Conversing in the Cloud Ryan Kupfer, Scott Wetter, Bryan Welfel, Shekhar Pradhan.
Deploying a VGI application in one day Tom Brenneman.
How AWS Pricing Works Jinesh Varia Technology Evangelist.
CLOUD WITH AMAZON. Amazon Web Services AWS is a collection of remote computing services Elastic Compute Cloud (EC2) provides scalable virtual private.
Licensed under Creative Commons Attribution-Share Alike 3.0 Unported License Cloud Hosting Practices Lessons DuraSpace has learned Bill Branan Open Repositories.
Cloud Computing is a Nebulous Subject Or how I learned to love VDF on Amazon.
Cloud services Amazon Web Service (AWS) Intro and usage.
Web Technologies Lecture 13 Introduction to cloud computing.
Launch Amazon Instance. Amazon EC2 Amazon Elastic Compute Cloud (Amazon EC2) provides resizable computing capacity in the Amazon Web Services (AWS) cloud.
Alfresco Enterprise on Azure Shah Rahman Founder and CEO, CloudlyIO.
#SummitNow Alfresco Deployments on AWS Cost-Effective, Scalable & Secure Michael Waldrop Director, Solutions Engineering .
Alfresco on Azure Shah Rahman Founder and CEO, CloudlyIO.
© 2015 MetricStream, Inc. All Rights Reserved. AWS server provisioning © 2015 MetricStream, Inc. All Rights Reserved. By, Srikanth K & Rohit.
Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:
INTRODUCTION TO AMAZON WEB SERVICES (EC2). AMAZON WEB SERVICES  Services  Storage (Glacier, S3)  Compute (Elastic Compute Cloud, EC2)  Databases (Redshift,
St. Petersburg, 2016 Openstack Disk Storage vs Amazon Disk Storage Computing Clusters, Grids and Cloud Erasmus Mundus Master Program in PERCCOM Author:
ServerTemplate TM Deep Dive: Configuration for Multi-Cloud Environments Tim Miller Sr. Director ServerTemplate TM Development Cary Penniman Sr. Software.
AWS Concepts and Lab Intro Saptarshi Debroy, Minh Nguyen Contact: Prasad Calyam Slides adapted from Hwang, Fox, Dongarra & Programming Amazon EC2, Vliet,
Architecting Enterprise Workloads on AWS Mike Pfeiffer.
Calgary Oracle User Group
Virtualization Overview
AWS COURSE DEMO BY PROFESSIONAL-GURU. Amazon History Ladder & Offering.
Acutelearn Amazon Web Services Training Classroom Training Instructor led trainings at Acutelearn premises Corporate Training Custom tailored trainings.
2018 Amazon AWS DevOps Engineer Professional Dumps - DumpsProfessor
Managing Clouds with VMM
AWS: EC2, S3 and Other Services
AWS: EC2, S3 and Other Services
AWS Cloud Computing Masaki.
Different types of Linux installation
Deploying Your First Full Stack Application to the Cloud
SQL Server on Amazon Web Services
Setting up PostgreSQL for Production in AWS
SQL Server on Amazon Web Services
Presentation transcript:

Experiences with AWS and RightScale By: Max Gribov Presented at New York PHP, March 22,

AWS Basic Services EC2 – Elastic Computing platform, “servers” EBS – Elastic Block Storage, “presistent storage” S3 – Simple Storage, “offline backups” API to manage it all

AWS Advanced Services These are all supported by RightScale Elastic Load Balancing Relational Database Service (RDS) Simple Queue Service (SQS) Virtual Private Cloud (VPC)

AWS Advanced Services These are NOT supported by RightScale (at least on my paid account) Simple Notification Service (SNS) Simple Service (SES)

AWS Advanced Services These will compete with RightScale (uh-0h) Elastic Beanstalk CloudFormation

AWS Regions US East US West EU AP-Tokyo AP-Singapore Different pricing Extra charge when transferring data between regions

AWS Availability Zones Contained with a Region US East has 4 No extra charge to transfer data within same zone Extra charge to transfer data between availability zones Will also have to pay if using public IP's during transfer (EIP to EIP) regardless of zoning

AWS Instances On-Demand Instances – the basic instance Reserved Instances - pay low fee, reserve instance, pay less per hour and don't pay if not using. End up being cheaper than on-demand. Spot Instances (NOT in RightScale) - bid on unused capacity, pricing fluctuates with demand. Can use it as long as your bid exceeds current price. Good for batch processing. Micro Instances – do not have their own storage, have to use EBS to boot. Weak and cheap.

Question! I have all these EC2 instances and EBS volumes and S3 snapshots, but how do I make them into an architecture?

Well, what did we do before AWS Buy some machines Put some OS on them Configure some services Deploy as an “architecture” (redundancy, monitoring, etc) Deploy our application Monitor Run out of capacity Go to Step 1

The Promise of the Cloud Provisioning is fast Pay for what you use Use no more than you need now Grow and shrink as needed

The Promise of the Cloud is rarely fail. Is only when datacenter segfaults.

Enter RightScale An advanced web GUI, built on top of AWS API, to manage and monitor a cloud deployment Has a RESTful API to perform same tasks as the GUI (in beta) Handles provisioning, configuration, management and monitoring of cloud servers (EC2+EBS+S3) Also allows management of some of the advanced AWS services

RightScale basics Free account: No access to advanced Server Templates No auto-scaling Server Arrays No multiple user accounts

RightScale Basics Multicloud Images – turn EC2 instances into servers Templates – turn a generic server into “web server”, “database server”, etc RightScripts – essential components of templates, run during boot/shutdown/operation

RightScale Basics Deployment – contains individual servers and Server Arrays (e.g. QA, Prod, Dev) Server Array – contains a number of identical servers performing same function (i.e. a cluster) Server Arrays can grow and shrink based on Alert Escalations or on a schedule Alert - “My CPU is 100% used” ( + notification) Alert Escalation - “Now that my CPU is so used, I vote to grow array by n members”

Some Details Everything can be cloned - make your QA deployment a copy of your Prod deployment Everything can be customized – start with RightScale MySQL Template and turn it into your own MongoDB Template RightScale keeps your custom stuff in Version Control

MultiCloud Images AMI Can be restricted to specific AWS Regions Provides basic OS

Templates Turns an instance into a specific server Is a collection of RightScripts and their Inputs For example, MySQL EBS template provides a MySQL server with a striped EBS volume, automated backups and replication Can clone an existing template and customize it by manipulating its RightScripts Live in revision control

RightScripts Can be in any language a server supports Get their parameters from the RightScale GUI Configure servers on boot Can be used during operation (ex: create full MySQL backup, promote slave to master) Can run on server shut down Can write your own and plug them into existing (or custom) ServerTemplates Live in revision control

RightScale Monitoring All servers run collectd RightScale collects and graphs a lot of data alerts No SMS alerts – this can be changed by using though

RightScale Monitoring

Our Setup 2 Deployments: QA and Prod Built Prod first, then cloned it and changed instance types to build QA Has 3 auto-scale web server arrays Has MySQL master/slave Has MongoDB replica pair

Load Balancing Using RightScale template with nginx and haproxy as LB's Haproxy is used because RightScale wrote pool management script for it – in reality could have used only nginx Using real server instead of AWS LB provides greater flexibility and customization, like rewrite rules Had to modify RightScripts and Templates to have a multi-pool LB

Database RightScale MySQL failover is done via DNS and low TTL on the record DNSMadeEasy is used to dynamically assign MySQL servers to master.domain.com and slave.domain.com Failover is manual, as per RightScale suggestion (but could be automated) MySQL backup is part of the template MySQL template includes EBS striping Had to roll own MongoDB template

Webserver Pools Have 3 pools in each deployment nginx+php-cgi Heavily customized RightScale PHP server template – no nginx+php-cgi template Customization was pretty easy Auto-scale by 2 if CPU load is high on more than 51% of the servers

Backups All backups are S3 snapshots MySQL template comes with snapshotting out of the box Created own scripts to do S3 snapshots on other servers

Conclusion RightScale gave us a good base (templates and scripts) to set up our own architecture RightScale provided good support for some high-level engineering/arch questions as well as small daily issues Did not have to write any code to take advantage of the Promise of the Cloud(tm)

Resources Cloud-related things I follow on twitter: s s - Heroku-like environment for PHP apps Heroku-like environment for PHP apps cloud cloud