Deploying and Automating Infrastructure at Scale

Our Blogs

Get Course Information

Connect for information with us at info@velocityknowledge.com

How would you like to learn?*

Learn how to use an integrated CI/CD pipeline that tests and deploys server infrastructure the same way every time, including during times of disaster recovery

In order to manage large-scale infrastructure, DevOps teams need to manage how servers are deployed in a repeatable and reliable fashion. Deploying servers at scale can be complex, time-consuming, and when things go wrong, the costs could be huge in losses of both customer revenue and customer trust.

This hands-on, lab-based, instructor-led course teaches exactly how to create and use an end-to-end CI/CD pipeline geared specifically for server and application deployment.

We’ll teach you Terraform from the ground up so you can define in code how to create cloud networking components and launch VM’s in the cloud. Then we’ll teach you how to configure those servers using Ansible provisioners. Next, we’ll integrate Terraform and Ansible with Docker containerization, allowing the blistering fast launch of applications on your server infrastructure.

If you decide to hold a private team session of this course, an additional day can be added to teach you how to orchestrate and manage your entire containerized infrastructure with Kubernetes.

What You’ll Learn:

  • Define types of networking components and types of virtual machines best for your solutions
  • Use Terraform to build everything needed for an enterprise-class server architecture
  • Relaunch your entire infrastructure in a different cloud region with minimum downtime
  • Turn basic virtual machines launched by Terraform into web or database servers using Ansible
  • Create Docker hosts
  • Launch Docker containers on virtual machines using Ansible
  • Build and launch container images
  • Mount volumes and deploy applications using containers
  • Test for reliable code before deployment
  • Deploy approved code using Jenkins to a remote location such as AWS S3 or JFrog Artifactory

Course Outline

Part 1: Technology Overview

  1. Terraform – Infrastructure Management
  2. Ansible – Configuration Management
  3. Jenkins – Continuous Integration / Continuous Deployment
  4. Docker – Containerization
  5. Kubernetes (optional) – Container Orchestration and Management

Part 2: Terraform

  1. Intro to Terraform
  2. Providers and Resources
  3. Initializing, validating and applying a Terraform configuration
  4. Creating AWS S3 buckets
  5. Separating code: Multiple Terraform configuration files
  6. Terraform state: Storing state locally and remotely
  7. Git branching: Testing, QA, Staging and Production
  8. Displaying resource outputs
  9. Introduction to AWS Networking
  10. Creating AWS Networking with Terraform:
    • CIDR Rules
    • VPC’s (Virtual Private Cloud)
    • Subnets
    • Internet Gateways
    • Route Tables
    • Route Table Associations
  1. Terraform log levels
  2. Configuring AWS Security groups
  3. Using SSH Public/Private Keys with Terraform
  4. Launching and Destroying AWS instances with Terraform
  5. Terraform Modules – Creating and abstracting reusable code
  6. Using Terraform variables

Part 3: Ansible Configuration Management

  1. Ansible Provisioners in Terraform
  2. Integrating Terraform-managed instances with Ansible Control Nodes
  3. Launching multi-tiered architectures (web servers and load balancers) with Terraform and Ansible
  4. Deleting managed-node records from Ansible’s Dynamic Inventory

Part 4: Docker

  1. Purpose and use case for Docker
  2. Docker Hub
  3. Basic Docker commands
  4. Launching and debugging NGINX containers
  5. Mounting Volumes to containers
  6. Docker mount points: Multiple containers, one shared code location
  7. Launching Docker hosts and Docker containers with Terraform and Ansible
  8. Port forwarding with containers
  9. Launching multi-tiered architectures (web servers and load balancers) with Terraform, Ansible and Docker
  10. Customizing containers with Docker Hub and Dockerfiles
  11. Reducing infrastructure bloat: Buster-Slim Docker containers

Part 5: Jenkins

  1. Testing Terraform configurations, Ansible code and Docker images through an automated CI/CD pipeline
  2. Integration with JFrog Artifactory for Ansible playbook and Docker image artifact storage

Part 6: Kubernetes

(Optional additional day for private client sessions)

  1. Overview, Purpose and Use Cases
  2. Pokemon Go: A Case Study
  3. CLI versus UI
  4. Capacity requirements
  5. Container orchestration
  6. Kubernetes networking
  7. Traffic analysis
  8. Service discovery
  9. Container grouping and Pods
  10. Vertical and Horizontal Auto-scaling 
  11. Load balancing across containers
  12. Automatic application packaging with Binpacking
  13. Storage orchestration
  14. Self-healing architectures
  15. Batch execution and DevOps
  16. Secret and Configuration management
  17. Automatic rollbacks and rollouts 

This course is also available on our public schedule via Live Virtual Classroom:

Contact us here.

Search