You are previewing Learning AWS OpsWorks.
O'Reilly logo
Learning AWS OpsWorks

Book Description

This guide to Amazon’s DevOps cloud management service will give you the know-how to build and auto-scale multistage environments and applications in the Amazon Web Services cloud. It’s the only manual you need.

  • Discover how a DevOps cloud management solution can accelerate your path to delivering highly scalable infrastructure and applications

  • Learn about infrastructure automation, auto-scaling, and distributed architecture using a Chef-based framework

  • Includes illustrations, details, and practical examples for successful scaling in the cloud

  • In Detail

    AWS OpsWorks is a DevOps cloud management solution from Amazon Web Services. The OpsWorks web service works in concert with AWS resources and provides a template-driven approach to automated scaling. Learning AWS OpsWorks is a practical guide that includes details and instructions for scaling multistage environments and deploying applications using AWS OpsWorks.

    Learning AWS OpsWorks will get you involved in a DevOps role, where you will learn key concepts and information about building scalable infrastructures to support high traffic applications. You will also learn about other important facets such as security, monitoring, and command-line reporting.

    This book is a guide to Amazon’s DevOps cloud management service and will provide you with the foundation of knowledge and the skills required for building and scaling multistage environments and applications in the AWS cloud. You will become acquainted with the DevOps role and how it relates to OpsWorks. Technologies such as EC2, ELB, EBS, CloudWatch, IAM, Route 53, Git, and GitHub will be discussed in relation to the core concepts of OpsWorks, which include stack and layer development, instances, apps, monitoring, and access control. This book is full of step-by-step instructions and illustrations which are designed to help you scale your applications for the Web.

    Table of Contents

    1. Learning AWS OpsWorks
      1. Table of Contents
      2. Learning AWS OpsWorks
      3. Credits
      4. About the Author
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      8. 1. A New Way to Scale
        1. High-level OpsWorks
          1. Stacks
          2. Layers
          3. Instances
          4. Apps
        2. The origin of OpsWorks
        3. The importance of OpsWorks
        4. The role of DevOps
        5. OpsWorks for the startup
        6. Summary
      9. 2. Welcome to AWS OpsWorks
        1. Creating an AWS account
        2. The dashboard
        3. Summary
      10. 3. Stack it Up!
        1. Multistage environments
          1. Development environment
          2. Staging environment
          3. Production environment
          4. Automated build environment
        2. Adding a stack
          1. Regions
          2. Availability zones
          3. IAM roles
          4. Default SSH key
          5. Hostname theme
          6. Stack color
          7. Advanced
        3. Inside the stack
          1. Layer types
          2. Elastic Load Balancer
            1. Algorithms
            2. Protocols
            3. Traffic spikes
            4. Timeouts
          3. HAProxy
          4. ELB creation
        4. Summary
      11. 4. Layers – the Blueprint for Success
        1. Configuring layers
          1. Built-in Chef recipes
          2. Custom Chef recipes
        2. Elastic Load Balancer
          1. EBS volumes
          2. Elastic IPs
        3. OS Packages
        4. Security groups
        5. IAM instance profile
        6. Auto healing
        7. MySQL layer
        8. Summary
      12. 5. In an Instance
        1. Instance types
        2. Instance scaling types
          1. 24/7 instances
          2. Time-based instances
          3. Load-based instances
        3. Adding instances
          1. Adding 24/7 instances
          2. Adding load-based instances
          3. Start/stop servers in batches of
          4. If thresholds are exceeded/undershot for
          5. After scaling up/down, ignore metrics for
          6. Average CPU, memory, and load
          7. MySQL instance
        4. Summary
      13. 6. Bring the Apps!
        1. Continuous integration
          1. Distributed is the new centralized
          2. GitHub
          3. Local IDE (Integrated Development Environment)
        2. Adding an app
          1. Settings
          2. Application source
          3. Add domains
          4. SSL settings
        3. Deploy, edit, and delete
          1. Deploy
          2. Edit
          3. Delete
        4. Capistrano
        5. Summary
      14. 7. Big Brother
        1. Amazon CloudWatch
        2. OpsWorks monitoring
          1. Stack metrics
          2. Layer metrics
          3. Instance metrics
        3. Summary
      15. 8. Access Control
        1. Identity and Access Management
          1. Secure by default
          2. Integration
          3. JSON and IAM policies
          4. IAM users and groups
        2. OpsWorks and IAM
          1. OpsWorks as an IAM user
          2. Signing in
          3. Enabling SSH access via MindTerm
        3. Summary
      16. 9. Instance Agent Command Line Interface
        1. Connecting via SSH
          1. Java SSH client connections
          2. Connect directly
          3. Connect with a standalone SSH client
        2. Instance Agent CLI
          1. Reporting agent
          2. Getting JSON
          3. Instance reporting
          4. Listing commands
          5. Lifecycle commands
          6. Show agent logging
          7. State of the stack
        3. Summary
      17. 10. Multi-region Architecture
        1. Production stack
        2. Multi-region
        3. Amazon Route 53
        4. OpsWorks and Route 53
          1. Simple routing policy
          2. Weighted routing policy
          3. Latency routing policy
          4. Failover routing policy
        5. Summary
      18. Index