Jawsug elastic beanstalk_150207

  • View
    873

  • Download
    0

Embed Size (px)

Transcript

  • Elastic Beanstalk2015 FebAWS

  • Elastic Beanstalk

  • Elastic Beanstalk

  • Elastic BeanstalkElastic Beanstalk

  • Elastic BeanstalkElastic Beanstalk

  • Elastic BeanstalkAWSPaaSDeployment&Management

  • Elastic Beanstalk

  • Application / Web64bit Amazon Linux 2014.09 v1.0.9 running Ruby 2.1(Puma)Ruby 2.1.4Puma 2.9.1 and Nginx1.6.264bit Amazon Linux 2014.09 v1.0.9 running Ruby 2.1(Passenger Standalone)Ruby 2.1.4Passenger 4.0.5364bit Amazon Linux 2014.09 v1.0.9 running Ruby 2.0(Puma)Ruby 2.0.0-p594Puma 2.9.1 and Nginx1.6.264bit Amazon Linux 2014.03 v1.0.2 running Ruby 1.9.3Ruby 1.9.3Passenger 4.0.3732bit Amazon Linux 2013.09 running Ruby 1.8.7Ruby 1.8.7Passenger 4.0.20

  • Elastic Beanstalk

  • Elastic Beanstalk

  • Version Configration Templateapplication

  • Web Server

  • Web Server

  • Workeraws_sqsd

  • Version

  • Elastic BeanstalkElastic Beanstalk

  • SDKCUI eb

  • eb

    eb initApplicationeb startApplicationeb statuseb updateApplicationeb stopApplicationeb deleteApplication

  • Configration

  • EC2AMIIDEBS

  • ELBHTTP or TCPSSL

  • Auto ScalingAvailability Zone

  • Configuration

  • Single Instance

  • AWS

  • EnviromentURLCNAMEELBELBEC2Auto Scaling Group80EC2

  • Enviroment

  • Enviroment

    GreenURLYellowURLRedURLGrey

  • BeanstalkEC2EC2ssh

  • DNS SwapingVersion Enviroment ConfigrationURL AEnviromentURLBURL AURLB

  • DNS Swaping

  • AMI

  • PackagesSources EC2FilesEC2UsersGroupsCommandsEC2Container_commandsServicesOption_settings

  • 1. .config 2. version

  • Elastic BeanstalkElastic Beanstalk

  • Elastic Beanstalk

    PaaS

  • Why beanstalk?Cloud

  • Fin.

    ***Elastic Beanstalk**PaaS*Ruby OSApplication/Web*dockerPerlPaaS*Elastic BeanstalkapplicationapplicationApplicationapplication applicationBeanstalkapplication*applicationapplicationEnviromentEnviromentURLEnviromentConfigration

    EnviromentConfigrationEnviromentAWS

    applicationVersionS3

    EnviromentVersion

    ConfigrationTemplateEnviromentConfigration*

    APIAmazon S3

    *ELBSingle InstanceSingle InstanceAuto Scaling Group*WorkerSQSWebServerTierELB+EC2ELBSQSEC2aws-sqsdSQS*Route53WeightedRoundRobin *BeanstalkBeanstalk

    Beanstalk*ElasticWebServer*Enviroment**Linux

    webweb

    **