Cargando…

Effective DevOps with AWS.

Scale gracefully and maintain outstanding performance with your AWS-based infrastructure using DevOps principlesAbout This Book* Implement DevOps principles to take full advantage of the AWS stack and services* Take expert look at solving problems faced by real developers and operation teams and lea...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Felsen, Nathaniel
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2017.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Chapter 1: The Cloud and the DevOps Revolution; Thinking in terms of cloud and not infrastructure; Deploying your own hardware versus in the cloud; Cost analysis; Just-in-time infrastructure; The different layers of building a cloud; Adopting a DevOps culture; The origin of DevOps; The developers versus operations dilemma; Too much code changing at once; Differences in the production environment; Communication; Key characteristics of a DevOps culture.
  • Source control everythingAutomate testing; Automate infrastructure provisioning and configuration; Automate deployment; Measure everything; Deploying in AWS; How to best take advantage of the AWS ecosystem; How AWS synergizes with a DevOps culture; Summary; Chapter 2: Deploying Your First Web Application; Creating and configuring your account; Signing up; Enabling multi-factor authentication on the root account; Creating a new user in IAM; Installing and configuring the command-line interface (CLI); Installing Windows Subsystem for Linux (Windows only); Installing the AWS CLI package.
  • Configuring the AWS CLICreating our first web server; AMI; Instance type; Security group; Generating your ssh keys; Launching an EC2 instance; Connecting to the EC2 instance using ssh; Creating a simple Hello World web application; Installing node.js; Running a node.js Hello World.; Turning our simple code into a service using upstart; Terminating our EC2 instance; Summary; Chapter 3: Treating Your Infrastructure As Code; Managing your infrastructure with CloudFormation; Getting started with CloudFormation; AWS CloudFormation designer; CloudFormer.
  • Recreating our helloworld example with CloudFormationUsing troposphere to create a Python script for our template; Creating the stack in the CloudFormation console; Adding our template to a source control system; Updating our CloudFormation stack; Updating our Python script; Updating our stack; Change sets; Deleting our CloudFormation stack; Adding a configuration management system; Getting started with Ansible; Installing Ansible on your computer; Creating our Ansible playground; Creating our Ansible repository; Executing modules; Running arbitrary commands; Ansible playbooks.
  • Creating a playbookCreating roles to deploy and start our web application; Creating the playbook file; Executing a playbook; Canary-testing changes; Running Ansible in pull mode; Installing Git and Ansible on our EC2 instance; Configuring Ansible to run on localhost; Adding a cronjob to our EC2 instance; Integrating Ansible with CloudFormation; Monitoring; Summary; Chapter 4: Adding Continuous Integration and Continuous Deployment; Building a continuous integration pipeline; Creating a Jenkins server using Ansible and CloudFormation; Creating the Ansible playbook for Jenkins.