
Implementing DevOps on AWS
Beschreibung
Weitere Details
Weitere Ausgaben
Inhalt
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: What is DevOps and Should You Care?
- What is DevOps?
- A common goal
- Shared knowledge (no silos)
- Trust and shared responsibility
- Respect
- Automation
- Reproducible infrastructure
- Metrics and monitoring
- Continuous Integration, Delivery, and Deployment
- Embracing failure
- Should you care
- Is this the right time?
- Will it work?
- Is it worth it?
- Do you need it?
- Summary
- Chapter 2: Start Treating Your Infrastructure as Code
- IaC using Terraform
- Configuration
- Template design
- Resources
- Variables
- Outputs
- Operations
- Validation
- Dry-run
- Deployment
- Updates
- Removal
- IaC using CloudFormation
- Configuration
- Template design
- Parameters
- Resources
- Outputs
- Operations
- Template validation
- Deploying a Stack
- Updating a stack
- Deleting a stack
- Summary
- Chapter 3: Bringing Your Infrastructure Under Configuration Management
- Introduction to SaltStack
- Preparation
- Writing Configuration Management code
- States
- Pillars
- Grains
- Top files
- Bootstrapping nodes under Configuration Management (end-to-end IaC)
- Summary
- Chapter 4: Build, Test, and Release Faster with Continuous Integration
- Prepare IaC
- Terraform templates
- Variables
- Variables (values)
- Resources
- Create the VPC
- Add networking components
- Add EC2 node and related resources
- Outputs
- SaltStack code
- States
- Pillars
- Minion configuration
- Deploy IaC
- Setup CI
- Jenkins initialization
- Writing a demo app
- Defining the pipeline
- Setting up the pipeline
- Summary
- Chapter 5: Ever-Ready to Deploy Using Continuous Delivery
- Preparing Terraform templates
- Resources
- Variables
- Variables (values)
- Outputs
- Prepareing Salt code
- States
- top.sls
- jenkins
- nginx
- Pillars
- Minion configuration
- Preparing Jenkins code
- Packer
- demo-app.json
- demo-app_vars.json
- demo-app_userdata.sh
- Serverspec
- spec/localhost/demo-app_spec.rb
- demo-app
- demo-app-cdelivery
- Preparing CodeCommit repositories
- Deploy Terraform templates
- Initializing Jenkins
- Configuring Jenkins jobs
- demo-app pipeline
- demo-app-cdelivery pipeline
- Summary
- Chapter 6: Continuous Deployment - A Fully Automated Workflow
- Terraform code (resources.tf)
- outputs.tf
- Deployment
- Jenkins pipelines
- Continuous Deployment pipeline
- cdeployment.sh
- Summary
- Chapter 7: Metrics, Log Collection, and Monitoring
- Centralized logging
- Ingesting and storing logs with Logstash and Elasticsearch
- Collecting logs with Elasticsearch Filebeat
- Visualizing logs with Kibana
- Metrics
- Ingesting and storing metrics with Prometheus
- Gathering OS and application metrics with Telegraf
- Visualizing metrics with Grafana
- Monitoring
- Alerting with Prometheus
- Self-remediation with Prometheus and Jenkins
- Summary
- Chapter 8: Optimize for Scale and Cost
- Architectural considerations
- The VPC
- CIDR
- Subnets and Availability Zones
- VPC limits
- The frontend layer
- The backend layer
- The object storage layer
- The load balancing layer
- Cross-zone load balancing
- ELB pre-warming
- The CDN layer
- Spot instances
- AWS Calculators
- Summary
- Chapter 9: Secure Your AWS Environment
- Managing access using IAM
- Securing the root account
- VPC security
- Security Groups
- Network ACLs
- VPN gateway
- VPC peering
- EC2 security
- IAM Roles
- SSH access
- Individual keys
- Entrypoint
- ELBs everywhere
- HTTPS by default
- Encrypted storage
- EBS volumes
- S3 objects
- OS updates
- Security auditing
- VPC Flow Logs
- CloudTrail
- Trusted Advisor
- AWS Config
- Self pen testing
- Summary
- Chapter 10: AWS Tips and Tricks
- Using VPCs
- Keep the Main route table as a fallback
- Staying within the VPC
- Creating IAM roles in advance
- Groups over users
- Knowing the AWS service limits
- Pre-warm ELBs if needed
- Using termination protection
- Tagging what you can
- Deploying across multiple zones
- Enhancing your ELB health-checks
- Offloading SSL onto the ELB
- EIP versus public IP
- Mind the full-hour billing
- Using Route53 ALIAS records
- The S3 bucket namespace is global
- - versus . in the S3 bucket name
- Randomizing S3 filenames
- Initializing (pre-warm) EBS volumes
- Summary
- Index
Systemvoraussetzungen
Dateiformat: PDF
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat PDF zeigt auf jeder Hardware eine Buchseite stets identisch an. Daher ist eine PDF auch für ein komplexes Layout geeignet, wie es bei Lehr- und Fachbüchern verwendet wird (Bilder, Tabellen, Spalten, Fußnoten). Bei kleinen Displays von E-Readern oder Smartphones sind PDF leider eher nervig, weil zu viel Scrollen notwendig ist.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.