This is a practical, hands-on guide that will help you set up and implement virtual development environments with Vagrant easily and effortlessly."Creating Development Environments with Vagrant" is for Vagrant developers, programmers, and coders who want to maintain multiple projects within their own environment. It is also aimed at companies who are looking to deploy ready-to-go development solutions for new staff or even existing staff moving to new projects, and to enforce a consistent and portable virtual development environment that is easy to create and quick to set up.
If you are a developer who wants to have your development environment accurately reflect your live servers to tackle the ever-increasing complexity of web and software projects, this book is most certainly intended for you! It's assumed that you know the basics of Linux systems in the context of web-based projects.
If you are a software developer or administrator who wishes to create simple, reusable environments using Vagrant, this book is the perfect choice for you. Whether you are a system administrator with extensive experience in virtualization or a developer wishing to create development scripts for cloud deployment, you will find easy-to-follow recipes and techniques in this book that will allow you to create robust and reproducible virtual environments.
Create and Manage Virtualized Development Environments
Author: Mitchell Hashimoto
Publisher: "O'Reilly Media, Inc."
Discover why Vagrant is a must-have tool for thousands of developers and ops engineers. This hands-on guide shows you how to use this open source software to build a virtual machine for any purpose—including a completely sandboxed, fully provisioned development environment right on your desktop. Vagrant creator Mitchell Hashimoto shows you how to share a virtual machine image with members of your team, set up a separate virtualization for each project, and package virtual machines for use by others. This book covers the V1 (1.0.x) configuration syntax running on top of a V2 (1.1+) core, the most stable configuration format running on the latest core. Build a simple virtual machine with just two commands and no configuration Create a development environment that closely resembles production Automate software installation and management with shell scripts, Chef, or Puppet Set up a network interface to access your virtual machine from any computer Use your own editor and browser to develop and test your applications Test complicated multi-machine clusters with a single Vagrantfile Change Vagrant’s default operating system to match your production OS Extend Vagrant features with plugins, including components you build yourself
Automating the Continuous Deployment Pipeline with Containerized Microservices About This Book First principles of devops, Ansible, Docker, Kubernetes, microservices Architect your software in a better and more efficient way with microservices packed as immutable containers Practical guide describing an extremely modern and advanced devops toolchain that can be improved continuously Who This Book Is For If you are an intermediate-level developer who wants to master the whole microservices development and deployment lifecycle using some of the latest and greatest practices and tools, this is the book for you. Familiarity with the basics of Devops and Continuous Deployment will be useful. What You Will Learn Get to grips with the fundamentals of Devops Architect efficient software in a better and more efficient way with the help of microservices Use Docker, Kubernetes, Ansible, Ubuntu, Docker Swarm and more Implement fast, reliable and continuous deployments with zero-downtime and ability to roll-back Learn about centralized logging and monitoring of your cluster Design self-healing systems capable of recovery from both hardware and software failures In Detail Building a complete modern devops toolchain requires not only the whole microservices development and a complete deployment lifecycle, but also the latest and greatest practices and tools. Victor Farcic argues from first principles how to build a devops toolchain. This book shows you how to chain together Docker, Kubernetes, Ansible, Ubuntu, and other tools to build the complete devops toolkit. Style and approach This book follows a unique, hands-on approach familiarizing you to the Devops 2.0 toolkit in a very practical manner. Although there will be a lot of theory, you won't be able to complete this book by reading it in a metro on a way to work. You'll need to be in front of your computer and get your hands dirty.
Implement end-to-end DevOps and infrastructure management using Vagrant
Author: Alex Braunton
Publisher: Packt Publishing Ltd
Use Vagrant to easily build complete development environments Key Features Implement DevOps with Vagrant effectively Integrate Vagrant with different tools such as Puppet, Chef, and Docker Manage infrastructure with a practical approach Book Description Hands-On DevOps with Vagrant teaches you how to use Vagrant as a powerful DevOps tool and gives an overview of how it fits into the DevOps landscape. You will learn how to install VirtualBox and Vagrant in Windows, macOS, and Linux. You will then move on to understanding Vagrant commands, discovering its boxes and Vagrant Cloud. After getting to grips with the basics, the next set of chapters helps you to understand how to configure Vagrant, along with networking. You will explore multimachine, followed by studying how to create multiple environments and the communication between them. In addition to this, you will cover concepts such as Vagrant plugins and file syncing. The last set of chapters provides insights into provisioning shell scripts, also guiding you in how to use Vagrant with configuration management tools such as Chef, Ansible, Docker, Puppet, and Salt. By the end of this book, you will have grasped Vagrant’s features and how to use them for your benefit with the help of tips and tricks. What you will learn Explore what development features Vagrant offers Install Vagrant and VirtualBox on Windows, macOS and Linux Harness the power of Vagrant to create powerful development environments Utilize DevOps tools such as Docker, Chef, and Puppet Understand everything about Vagrant, including networking, plugins, and provisioning Use the Vagrant Cloud to install and manage Vagrant boxes Who this book is for Hands-On DevOps with Vagrant is for you if you are a system administrator, DevOps engineer, DevOps architect, or any stakeholder working with DevOps and wanting to explore Vagrant. Experience in system administration is needed to enjoy this book.
Pro Vagrant teaches you how to effectively implement and optimize Vagrant in your everyday work environment. Master the creation and configuration of virtual development environments with an easy-to-use workflow, and focus on automation. Vagrant lowers development environment setup time, increases development/production parity, and makes the "works on my machine" excuse a relic of the past. DevOps is mainstream best practice nowadays, and Vagrant sits firmly in the DevOps toolkit. This book will take you from basic usage and getting started, to provisioning with Shell, Puppet, and Chef. You will see how to use Vagrant in real-life scenarios, so that you can start to use Vagrant day-to-day in your work. Author Wodimierz Gajda is a Vagrant expert and now brings his experience to you in Pro Vagrant. This is an indispensable book for anyone using Vagrant - add it to your library today.
This book is an exploration of Vagrant. The first part of the book discusses how network configuration can be performed. This includes both the private and public network. You will even learn how to enable port forwarding in your virtual machines. It is possible for us to work with multiple machines in Vagrant. This is discussed. You will learn how to configure multiple machines in a single vagrantfile. You will also learn the benefits of doing this. The process of installing and configuring the various software, commonly referred to as "provisioning," is discussed. You will learn how to do this by use of shell scripts. The process of creating Vagrant boxes is also been explored in detail. You will also learn more about the various commands which can be used for working with Vagrant boxes. Drupal is a good tool for web development. You will know how to use this in Vagrant, as well as Chef and Vagrant. The following topics are discussed in this book: - Configuring the Network for Vagrant Boxes - Multi-machine Environment - Shell Scripts for Provisioning a Vagrant Box - Creation of a Vagrant Box - Working with Vagrant Boxes - Vagrant and Drupal - Vagrant and Chef for creation of a Development Environment
Deploy a SharePoint farm in a repeatable, predictable, and reliable fashion using Infrastructure as Code (IaC) techniques to automate provisioning. Savvy IT pros will learn how to use DevOps practices and open source tools to greatly reduce costs, and streamline management operations for SharePoint farms deployed via Amazon Web Services (AWS), Azure, or on premise. DevOps for SharePoint will help you navigate the complex challenges of deploying and managing SharePoint Server farms. You will learn how to reduce time-consuming tasks and errors when generating development, testing, or production environments. And you will benefit from learning proven methods to apply Microsoft updates with minimal downtime and productivity loss. Whether you are a SharePoint architect, IT pro, or developer helping customers with the SharePoint platform, this book will teach you the most useful DevOps practices to tackle those issues and broaden your skill set. What You’ll Learn Understand the basics of the most popular open source tools—Vagrant, Packer, Terraform, and Ansible—and how to use them in the context of deploying and scaling a SharePoint farm Use Vagrant to build SharePoint development environments in less than an hour, and add automated testing Use Packer to create a “golden image” with preconfigured settings, and then use it as the base image in your Terraform configuration for both AWS and Azure farms Use Terraform to scale your SharePoint farm topology Use Red Hat’s Ansible Playbooks to perform configuration management on your farm Use Terraform to deploy immutable infrastructure environments using IaC (Infrastructure as Code) Use InSpec 2.0 to stay in compliance by testing your cloud infrastructure Use Ansible to apply Microsoft updates and patches Who This Book Is For IT pros and developers who are looking to expand their knowledge and take a modern approach by using open source technologies to work with Microsoft products. Experience installing SharePoint, and a basic understanding of either Azure or AWS, is helpful.
Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlements included with the product. This comprehensive study guide delivers 100% coverage of every topic on the challenging CompTIA Linux+ exam Get complete coverage of all the objectives included on CompTIA Linux+ exam XK0-004 from this up-to-date resource. Written by Linux experts and technology trainers, the book provides learning objectives at the beginning of each chapter, exam tips, practice exam questions, and in-depth answer explanations. Designed to help you pass these challenging exams, this definitive volume also serves as an essential on-the-job reference. Covers all exam topics, including how to: • Use the vi text editor • Work with the Linux shell • Manage Linux users, groups, files, and directories • Administer ownership, permissions, and quotas • Install Linux and manage the boot process • Configure the graphical environment • Manage software and hardware • Write shell scripts • Manage network settings and services • Secure Linux and use encryption Online content includes: • 180 practice exam questions • Downloadable virtual machines • 20+ video clips
Over 90 practical, actionable recipes to automate, test, and manage your infrastructure quickly and effectively About This Book Bring down your delivery timeline from days to hours by treating your server configurations and VMs as code, just like you would with software code. Take your existing knowledge and skill set with your existing tools (Puppet, Chef, or Docker) to the next level and solve IT infrastructure challenges. Use practical recipes to use code to provision and deploy servers and applications and have greater control of your infrastructure. Who This Book Is For This book is for DevOps engineers and developers working in cross-functional teams or operations and would now switch to IAC to manage complex infrastructures. What You Will Learn Provision local and remote development environments with Vagrant Automate production infrastructures with Terraform, Ansible and Cloud-init on AWS, OpenStack, Google Cloud, Digital Ocean, and more Manage and test automated systems using Chef and Puppet Build, ship, and debug optimized Docker containers Explore the best practices to automate and test everything from cloud infrastructures to operating system configuration In Detail Infrastructure as Code (IAC) is a key aspect of the DevOps movement, and this book will show you how to transform the way you work with your infrastructure—by treating it as software. This book is dedicated to helping you discover the essentials of infrastructure automation and its related practices; the over 90 organized practical solutions will demonstrate how to work with some of the very best tools and cloud solutions. You will learn how to deploy repeatable infrastructures and services on AWS, OpenStack, Google Cloud, and Digital Ocean. You will see both Ansible and Terraform in action, manipulate the best bits from cloud-init to easily bootstrap instances, and simulate consistent environments locally or remotely using Vagrant. You will discover how to automate and test a range of system tasks using Chef or Puppet. You will also build, test, and debug various Docker containers having developers' interests in mind. This book will help you to use the right tools, techniques, and approaches to deliver working solutions for today's modern infrastructure challenges. Style and approach This is a recipe-based book that allows you to venture into some of the most cutting-edge practices and techniques about IAC and solve immediate problems when trying to implement them.
Over 60 hands-on recipes to create dynamic and reactive web-based applications with Play 2 In Detail As web and mobile systems become more sophisticated, anchoring systems in a mature, solid framework has become increasingly important. Play 2 provides developers with the necessary tools to build robust web applications. This book is a compilation of useful recipes aimed at helping developers discover the power of Play 2. The introductory section serves as a primer to Play Framework, wherein all the fundamentals of the framework are covered extensively. It then explains the usage of controllers and how modules can be leveraged for optimal performance. Next, the book walks you through creating and using APIs, followed by extensive real-world applications. Finally, you will learn to manage applications post production. What You Will Learn Implement the Model-View-Controller (MVC) web architecture with Play 2 Convert data between incompatible type systems using ORM tools such as Ebean and Anorm Serve and receive JSON messages to transmit data objects Create long-running, asynchronous controllers using Akka Learn to use modules for Amazon S3, Redis, and MongoDB Consume public APIs using the Play WS API Make your application production-ready by integrating it with AngularJS Automate the creation of a portable development environment using Vagrant Deploy Play 2 applications with Docker Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.
Western Agricultural Economics Research Council. Committee on the Economics of Water Resources Development
Transit from monolithic architectures to highly available, scalable, and fault-tolerant microservices About This Book Build your own applications based on event-driven microservices and set them up on a production server. Successfully transform any monolithic application into a microservice. Monitor the health of your application, prevent downtime, and reduce costs. Who This Book Is For PHP developers who want to build scalable, highly available, and secure applications will find this book useful. No knowledge of microservices is assumed. What You Will Learn Set up a development environment using the right strategies and tools. Learn about application design and structure to start implementing your application. Transform a monolithic application into microservices. Explore the best way to start implementing your application using testing. Understand how to monitor your microservices, handle errors, and debug the application. Deploy your finished application into a production environment and learn how to solve common problems. Know how to scale your application based on microservices once it is up–and-running. In Detail The world is moving away from bulky, unreliable, and high-maintenance PHP applications, to small, easy-to-maintain and highly available microservices and the pressing need is for PHP developers to understand the criticalities in building effective microservices that scale at large. This book will be a reliable resource, and one that will help you to develop your skills and teach you techniques for building reliable microservices in PHP. The book begins with an introduction to the world of microservices, and quickly shows you how to set up a development environment and build a basic platform using Docker and Vagrant. You will then get into the different design aspects to be considered while building microservices in your favorite framework and you will explore topics such as testing, securing, and deploying microservices. You will also understand how to migrate a monolithic application to the microservice architecture while keeping scalability and best practices in mind. Furthermore you will get into a few important DevOps techniques that will help you progress on to more complex domains such as native cloud development, as well as some interesting design patterns. By the end of this book you will be able to develop applications based on microservices in an organized and efficient way. You will also gain the knowledge to transform any monolithic applications into microservices. Style and approach Filled with code that you can start typing straightaway, this book will take you through building, testing, securing, and deploying microservices in the most practical way possible. The focus of the book is more inclined towards showing you how it's done, rather than with what to do, although you will get a good idea of those tools most widely used to build microservices.
Your one-stop guide for building, configuring, maintaining, and deploying one of the world's fastest growing OSes About This Book Understand the features of CoreOS and learn to administrate and secure a CoreOS environment Develop, test, and deploy cloud services and applications more quickly and efficiently inside lightweight containers using CoreOS This is a complete tutorial on CoreOS, which is the preferred OS for cloud computing as it contains components that facilitate cloud management Who This Book Is For This book is for cloud or enterprise administrators and application developers who would like to gain knowledge about CoreOS to deploy a cloud application or micro-services on a cluster of cloud servers. It is also aimed at administrators with basic networking experience. You do not need to have any knowledge of CoreOS. What You Will Learn Understand the benefits of CoreOS as a cloud orchestration platform Learn about lightweight containers and various container frameworks such as Docker and RKT in CoreOS Manage services and containers across cluster using Fleet and systemd Set up a CoreOS environment using Vagrant Create and manage CoreOS clusters Discover the service parameters using etcd Find out about chaining services running on the cluster using Flannel / Rudder and Weave Create a virtual tenant network and service chaining using OVS In Detail CoreOS is an open source operating system developed upon the Linux kernel. The rise of CoreOS is directly related to the rise of Docker (a Linux container management system). It is a minimal operating system layer and takes a different approach to automating the deployment of containers. The major difference between CoreOS and other Linux distributions is that CoreOS was designed to deploy hundreds of servers. CoreOS immensely helps the users to create systems, which are easy to scale and manage, making life easier for all, be it developer, QA, or deployer. This book is all about setting up, deploying, and using CoreOS to manage clusters and clouds. It will help you understand what CoreOS is and its benefits as a cloud orchestration platform. First, we'll show you how to set up a simple CoreOS instance with single node in the cluster and how to run a Docker container inside the CoreOS instance. Next, you'll be introduced to Fleet and systemd, and will deploy and distribute Docker services across different nodes in cluster using Fleet. Later, you'll be briefed about running services in a cluster with constraints, publishing the services already running on the cluster to new services, and making your services interact with each other. We conclude by teaching you about advanced container networking. By the end of the book, you will know the salient features of CoreOS and will be able to deploy, administrate, and secure a CoreOS environment. Style and approach This practical guide covers the basics and advanced topics related to CoreOS and lightweight containers. The topics are covered in an easy-to-follow manner with each feature explained in detail, beginning with a brief overview and followed by an explanation of its corresponding configuration files.
Learn PHP development best practices, such as version control, development environment virtualization, and coding standards. You'll also discover the most useful PHP web frameworks, including the new Laravel, symfony2, and micro-frameworks. As you do so, you'll learn how to use them to write the most productive PHP code possible. PHP Development Tool Essentials complements Jason Gilmore's best-selling Beginning PHP and MySQL. This book will further expose you to the many different methodologies, tools, and concepts that professional web developers are using more and more each day. What You'll Learn Use version control with PHP Set up virtualized development environments Maintain PHP coding standards Manage dependencies Leverage the best PHP frameworks Who This Book Is For Intermediate to advanced PHP developers looking to advance their skills with new tools, concepts, and approaches.
Develop cutting-edge websites and applications using the new features of Laravel 5.8. This book starts with an introduction to Laravel and takes a glance at its newly introduced features. Moving on to setting up your development environment, you will learn how the composer works. In addition to this, you will be introduced to Valet, Homestead, Virtual Box, Vagrant, and Forge in Laravel. With this foundation, you will be ready to get started writing your first Laravel apps. To do so, you will learn to manage routes and controllers and how the Blade template works. Moving on to models, you will work with route model binding and get to know the relationship between models, databases, and Eloquent. Along the way you will define methods on your Eloquent model classes using different types of relationships. Shifting focus to handling user data, you will see how redirect methods work. You will also get to know the inner workings of requests and responses. Continuing the data theme, Beginning Laravel covers basic and grouped artisan commands and how to handle databases with Tinker. By being able to handle data effectively, your applications will come alive for your users, giving them the functionality they need. The last section of the book handles core concepts such as sending emails, alerting users via notifications, and implementing SOLID design principles. You will see how to decouple your application classes by using events and listeners. What You Will Learn Protect your app with authentication and authorization Build a complex relationship between entities using Eloquent models Take advantage of containers and facades Use the mail template Create and configure events Work with Laravel Passport Deploy API authentication Discover new Laravel 5.8 features such as dump server and email verification Who This Book Is For Those new to Laravel and PHP web development or those who have some background in PHP/Laravel who are new to Laravel's newest release.