The document discusses using Vagrant and Puppet to create virtual machine environments for development. Vagrant allows defining and provisioning VMs through a Vagrantfile, while Puppet can further configure the VMs by installing software and configuring settings. Benefits include keeping development environments isolated, easy setup for new developers, and ability to deploy VMs to cloud providers like AWS. The key steps are downloading Vagrant and VirtualBox, defining the Vagrantfile, writing Puppet manifests, and running vagrant up to launch and provision the VM.
The rise of virtualization has transformed the server business, but other than that it seems like the developer world has largely been left behind. Regardless of if you are working on one project, or have 20 clients, every developer should know how to use virtualization to create seamless and easy to manage development environments. In this talk we will take a practical approach to using a combination of Puppet, Vagrant, and VirtualBox to create entire development environments in a matter of moments - and even better re-use that template for any project you have in the future in a version-controlled and easily managed manner. Bringing on a new developer for your project? We'll show you how they can get a full-fledged development environment from zero to working in under 10 minutes.
Vagrant allows users to easily create and configure virtual development environments. The document outlines a 5 step process to get started with Vagrant: 1) select a virtualization provider like VirtualBox, 2) install Vagrant, 3) download a virtual machine image or "box", 4) initialize and start the VM with Vagrant commands, and 5) log into the VM via SSH. It also discusses additional features like version controlling Vagrant files, customizing the VM, using multiple VMs, and provisioning VMs with tools like Puppet, Chef, or Ansible.
Vagrant is a tool that allows users to create and configure lightweight, reproducible, and portable development environments. It works by allowing users to define and provision virtual development environments using configuration files. Vagrant provides users with a standardized way to manage virtual machines across different operating systems and virtualization platforms.
This document outlines an agenda for a Vagrant 101 workshop. The workshop will teach participants about environments and Infrastructure as Code using Vagrant. It will cover setting up a Vagrant environment with VirtualBox, basic Vagrant commands like init, up, ssh, destroy and box add. The agenda includes introducing environments, Vagrant, VirtualBox, commands, and workflow. Requirements are basic Linux knowledge and the latest versions of Vagrant and VirtualBox installed.
Vagrant is a tool that allows users to create and configure lightweight, reproducible, and portable development environments. It works with virtualization software like VirtualBox to allow developers to run virtual machines that match production environments. Key features include adding "boxes" which are preconfigured virtual machine images, provisioning boxes using configuration files and tools like Chef and Puppet, and portability across different operating systems.
Adam Culp will talk about using Vagrant to create and manage virtualized development environments, making it easier to mirror production servers. Then will cover using Puppet for more advanced provisioning, making the addition of multiple development environments and servers easier and faster.
If you’re developing and are not sure what these technologies are, this talk is for you. As a developer it’s increasingly important to ensure our development, testing, staging, and production environments are as closely matched to each other as possible, alleviating the “can’t reproduce it on my machine” excuses. Whether you use 2, 3, or 4 of these environments is of less importance if they are all built on the same “stack” of applications.
This presentation, given at the Nashville VMUG Converge 2015 event on April 8, 2015, provides an overview of Vagrant and Docker as tools that VMware administrators might find useful.
The document discusses using Vagrant and Puppet to create virtual machine environments for development. Vagrant allows defining and provisioning VMs through a Vagrantfile, while Puppet can further configure the VMs by installing software and configuring settings. Benefits include keeping development environments isolated, easy setup for new developers, and ability to deploy VMs to cloud providers like AWS. The key steps are downloading Vagrant and VirtualBox, defining the Vagrantfile, writing Puppet manifests, and running vagrant up to launch and provision the VM.
The rise of virtualization has transformed the server business, but other than that it seems like the developer world has largely been left behind. Regardless of if you are working on one project, or have 20 clients, every developer should know how to use virtualization to create seamless and easy to manage development environments. In this talk we will take a practical approach to using a combination of Puppet, Vagrant, and VirtualBox to create entire development environments in a matter of moments - and even better re-use that template for any project you have in the future in a version-controlled and easily managed manner. Bringing on a new developer for your project? We'll show you how they can get a full-fledged development environment from zero to working in under 10 minutes.
Vagrant allows users to easily create and configure virtual development environments. The document outlines a 5 step process to get started with Vagrant: 1) select a virtualization provider like VirtualBox, 2) install Vagrant, 3) download a virtual machine image or "box", 4) initialize and start the VM with Vagrant commands, and 5) log into the VM via SSH. It also discusses additional features like version controlling Vagrant files, customizing the VM, using multiple VMs, and provisioning VMs with tools like Puppet, Chef, or Ansible.
Vagrant is a tool that allows users to create and configure lightweight, reproducible, and portable development environments. It works by allowing users to define and provision virtual development environments using configuration files. Vagrant provides users with a standardized way to manage virtual machines across different operating systems and virtualization platforms.
This document outlines an agenda for a Vagrant 101 workshop. The workshop will teach participants about environments and Infrastructure as Code using Vagrant. It will cover setting up a Vagrant environment with VirtualBox, basic Vagrant commands like init, up, ssh, destroy and box add. The agenda includes introducing environments, Vagrant, VirtualBox, commands, and workflow. Requirements are basic Linux knowledge and the latest versions of Vagrant and VirtualBox installed.
Vagrant is a tool that allows users to create and configure lightweight, reproducible, and portable development environments. It works with virtualization software like VirtualBox to allow developers to run virtual machines that match production environments. Key features include adding "boxes" which are preconfigured virtual machine images, provisioning boxes using configuration files and tools like Chef and Puppet, and portability across different operating systems.
Adam Culp will talk about using Vagrant to create and manage virtualized development environments, making it easier to mirror production servers. Then will cover using Puppet for more advanced provisioning, making the addition of multiple development environments and servers easier and faster.
If you’re developing and are not sure what these technologies are, this talk is for you. As a developer it’s increasingly important to ensure our development, testing, staging, and production environments are as closely matched to each other as possible, alleviating the “can’t reproduce it on my machine” excuses. Whether you use 2, 3, or 4 of these environments is of less importance if they are all built on the same “stack” of applications.
This presentation, given at the Nashville VMUG Converge 2015 event on April 8, 2015, provides an overview of Vagrant and Docker as tools that VMware administrators might find useful.
How To Set a Vagrant Development SystemPaul Bearne
This document provides instructions on how to set up a Vagrant development environment. Vagrant allows developers to run development environments that match production by creating virtual machines. Key points:
- Vagrant uses VirtualBox to run virtual machines and configure project isolation and version control.
- The basic workflow involves initializing a Vagrantfile configuration, running "vagrant up" to launch the virtual machine, and "vagrant destroy" to wipe it out.
- Additional commands like "vagrant suspend" pause the virtual machine. The document demonstrates configuring ports, shared folders, and provisioning scripts.
- Benefits of Vagrant include no need to install web servers locally, matching production
This document introduces Vagrant, an open source tool that allows users to easily create and configure virtual development environments. It discusses how Vagrant uses VirtualBox to manage virtual machines, and how it supports provisioning tools like shell scripts and Puppet to automate the installation of software. The document also provides instructions on installing Vagrant, creating virtual machines, configuring networking and hardware settings, and using provisioning tools to automate software configuration in the virtual machines.
Vagrant allows users to define and configure lightweight virtual development environments. It uses VirtualBox to run virtual machines from a Vagrantfile configuration. The document discusses how Vagrant abstracts hardware, allows multiple operating systems to run concurrently on virtual hardware, and is limited by physical resources. It also outlines how in 3 lines users can download a base box, initialize a new Vagrant project, and boot the virtual machine. Key benefits of Vagrant include quick setup for new team members, ability to version control server configurations, and easy switching between projects.
Vagrant allows developers to quickly set up uniform development environments for Node.js projects. It uses configuration files to define and provision virtual machines with all necessary tools and libraries. Chef is used for configuration management, ensuring environments are identical. Vagrant provides portability and abstraction, allowing environments to run on different providers like VirtualBox or cloud services.
This document provides an overview of using Vagrant to automate the setup of a development environment. It describes how Vagrant can be used to create and configure a virtual machine (VM) that contains all the necessary tools and files for a project, allowing new team members to get set up and running quickly by running a single script. The document outlines the steps to install Vagrant and VirtualBox, add a Ubuntu box, initialize a Vagrantfile, provision the VM with common tools like Apache and PHP, and set up a sample Drupal project.
Vagrant is a tool that allows developers to easily create and configure development environments running on virtual machines. It ensures that the environment is consistent across different machines by allowing developers to define the environment configuration in a file. With Vagrant, developers can bring up virtual machines with all required development software with a single command, share files between their local machine and the virtual machine, and collaborate with others by sharing virtual machine configurations.
Presentation given at the Denver Puppet user group. A copy of the files can be found at https://github.com/jscelza/vagrant_oscar_example. The purpose of this presentation was to walk the group thru how i used Vagrant and Oscar to development Puppet modules locally.
Thanks to Adrien Thebo for all his work on the plug-in
https://github.com/adrienthebo/oscar
Webinar - Auto-deploy Puppet Enterprise: Vagrant and OscarOlinData
To automatically deploy a virtualbox setup with Puppet Enterprise installed on a master and subsequent machines hooked up to that master with everything ready to go PuppetLabs maintains a vagrant plugin called Oscar. This webinar explains what we can do with Oscar and what the benefits are.
Or: how to build a complete system from scratch.
It begins by the requirements to have an installation process
easy to repeat, documented and auditable.
An on-going presentation for the Docker workshop on how to integrate docker into Vagrant as a provider. In order to remove the requirement of having a VM, and speedup development environments. It also features Puppet as the configuration management system.
The code can be found in: https://github.com/npoggi/vagrant-docker
Vagrant is a well-known tool for creating development environments in a simple and consistent way. Since we adopted in our organization we experienced several benefits: lower project setup times, better shared knowledge among team members, less wtf moments ;-)
In this session I'd like to share our experience, including but not limited to:
- advanced vagrantfile configuration
- vm configuration tips for dev environment: performance, debug, tuning
- our wtf moments
- puphet/phansilbe: hot or not?
- tips for sharing a box
Oscar: Rapid Iteration with Vagrant and Puppet Enterprise - PuppetConf 2013Puppet
"Oscar: Rapid Iteration with Vagrant and Puppet Enterprise" by Adrien Thebo, Software Engineer, Puppet Labs.
Presentation Overview: When trying to debug software problems it's critical to be able to reproduce the original situation, and Puppet Enterprise is no exception to this. The Puppet Labs support team needs a way to rapidly reproduce customer issues across a wide range of operating systems and various versions of Puppet Enterprise. Oscar is a set of Vagrant plugins that handles machine provisioning and configuration to install Puppet Enterprise. It's designed to make building a Puppet Enterprise as simple as running `vagrant up`. While Oscar was originally built for supporting Puppet Enterprise, it provides a general platform for developing and testing against Puppet Enterprise. This talk will go over the history of Oscar, the current state, how it's used, and where to get it.
Speaker Bio: Adrien Thebo has been in the Operations/Software development field since 2005, starting at small IT shop in Boise, Idaho. He started at Puppet Labs in 2011 on the Operations team, and used Puppet to run the Puppet Labs infrastructure. In 2013 he transferred to the Community platform team, working with contributors to merge their contributions in Puppet Core. He develops and maintains a number of Puppet modules and tools around Puppet, and when he's not writing code for Puppet then he's probably blogging about it.
Vagrant allows developers to run identical development environments by configuring and provisioning virtual machines. It helps match the development and production environments. To use Vagrant, install VirtualBox, Vagrant, and a base box image. The Vagrantfile configures settings like the hostname, IP, shared folders, and provisioning steps. Common commands include vagrant up to run the virtual machine, vagrant halt to shut it down, and vagrant destroy to remove it. Vagrant can also package custom virtual machine images to share.
Slides for my talk at the HashiCorp User Group - Amsterdam.
Having a look at some hurdles encountered and other significant points in building a base Vagrant box w/ Packer through a personal use case
Video: https://www.youtube.com/watch?v=J-s9dSjYEJw
GitHub repo: https://github.com/cristovaov/packer-vagrant-talk
Event: http://www.meetup.com/HUG-Amsterdam/events/230517085/
This document discusses Vagrant, an open source tool that allows users to create and configure lightweight, reproducible, and portable development environments. It explains that Vagrant uses VirtualBox to run virtual machines from Vagrantfiles to provide isolated, repeatable environments that can be shared between team members. The document then covers how Vagrant can be used to manage environments, set up Java development environments, and facilitate continuous integration testing before providing instructions on installing and using Vagrant along with some common boxes and practices.
Foundation of starting your drupal project to vagrant environmentEleison Cruz
In replace of XAMPP/MAMPP/WAMPP, here is the most matured development, Vagrant.
Vagrant makes development more stable. It eliminates differences of server setup, and what you see should be the other developers also should see.
Create your very own Development Environment with Vagrant and Packerfrastel
Vagrant, Packer, and Puppet can be used together to create a development environment. Packer is used to build custom base boxes that include only the operating system. Vagrant uses these base boxes to create isolated virtual machines. Puppet then provisions the virtual machines by installing additional software, configuring applications, and defining infrastructure as code. This allows for consistent, reproducible development environments that match production.
Get started with Vagrant! This basic intro assumes no prior knowledge of the platform, and it is universally applicable regardless of the Provider (hypervisor\cloud platform) that you are using.
We also delve briefly into provisioners (ex: Shell, Puppet, Chef) to unlock the true power of Vagrant: quick & easy templates of production systems.
Infrastructure-As-Code means that infrastructure should be treated as code – a really powerful concept. Server configuration, packages installed, relationships with other servers, etc. should be modeled with code to be automated and have a predictable outcome, removing manual steps prone to errors. That doesn’t sound bad, does it?
The goal is to automate all the infrastructure tasks programmatically. In an ideal world you should be able to start new servers, configure them, and, more importantly, be able to repeat it over and over again, in a reproducible way, automatically, by using tools and APIs.
Have you ever had to upgrade a server without knowing whether the upgrade was going to succeed or not for your application? Are the security updates going to affect your application? There are so many system factors that can indirectly cause a failure in your application, such as different kernel versions, distributions, or packages.
How To Set a Vagrant Development SystemPaul Bearne
This document provides instructions on how to set up a Vagrant development environment. Vagrant allows developers to run development environments that match production by creating virtual machines. Key points:
- Vagrant uses VirtualBox to run virtual machines and configure project isolation and version control.
- The basic workflow involves initializing a Vagrantfile configuration, running "vagrant up" to launch the virtual machine, and "vagrant destroy" to wipe it out.
- Additional commands like "vagrant suspend" pause the virtual machine. The document demonstrates configuring ports, shared folders, and provisioning scripts.
- Benefits of Vagrant include no need to install web servers locally, matching production
This document introduces Vagrant, an open source tool that allows users to easily create and configure virtual development environments. It discusses how Vagrant uses VirtualBox to manage virtual machines, and how it supports provisioning tools like shell scripts and Puppet to automate the installation of software. The document also provides instructions on installing Vagrant, creating virtual machines, configuring networking and hardware settings, and using provisioning tools to automate software configuration in the virtual machines.
Vagrant allows users to define and configure lightweight virtual development environments. It uses VirtualBox to run virtual machines from a Vagrantfile configuration. The document discusses how Vagrant abstracts hardware, allows multiple operating systems to run concurrently on virtual hardware, and is limited by physical resources. It also outlines how in 3 lines users can download a base box, initialize a new Vagrant project, and boot the virtual machine. Key benefits of Vagrant include quick setup for new team members, ability to version control server configurations, and easy switching between projects.
Vagrant allows developers to quickly set up uniform development environments for Node.js projects. It uses configuration files to define and provision virtual machines with all necessary tools and libraries. Chef is used for configuration management, ensuring environments are identical. Vagrant provides portability and abstraction, allowing environments to run on different providers like VirtualBox or cloud services.
This document provides an overview of using Vagrant to automate the setup of a development environment. It describes how Vagrant can be used to create and configure a virtual machine (VM) that contains all the necessary tools and files for a project, allowing new team members to get set up and running quickly by running a single script. The document outlines the steps to install Vagrant and VirtualBox, add a Ubuntu box, initialize a Vagrantfile, provision the VM with common tools like Apache and PHP, and set up a sample Drupal project.
Vagrant is a tool that allows developers to easily create and configure development environments running on virtual machines. It ensures that the environment is consistent across different machines by allowing developers to define the environment configuration in a file. With Vagrant, developers can bring up virtual machines with all required development software with a single command, share files between their local machine and the virtual machine, and collaborate with others by sharing virtual machine configurations.
Presentation given at the Denver Puppet user group. A copy of the files can be found at https://github.com/jscelza/vagrant_oscar_example. The purpose of this presentation was to walk the group thru how i used Vagrant and Oscar to development Puppet modules locally.
Thanks to Adrien Thebo for all his work on the plug-in
https://github.com/adrienthebo/oscar
Webinar - Auto-deploy Puppet Enterprise: Vagrant and OscarOlinData
To automatically deploy a virtualbox setup with Puppet Enterprise installed on a master and subsequent machines hooked up to that master with everything ready to go PuppetLabs maintains a vagrant plugin called Oscar. This webinar explains what we can do with Oscar and what the benefits are.
Or: how to build a complete system from scratch.
It begins by the requirements to have an installation process
easy to repeat, documented and auditable.
An on-going presentation for the Docker workshop on how to integrate docker into Vagrant as a provider. In order to remove the requirement of having a VM, and speedup development environments. It also features Puppet as the configuration management system.
The code can be found in: https://github.com/npoggi/vagrant-docker
Vagrant is a well-known tool for creating development environments in a simple and consistent way. Since we adopted in our organization we experienced several benefits: lower project setup times, better shared knowledge among team members, less wtf moments ;-)
In this session I'd like to share our experience, including but not limited to:
- advanced vagrantfile configuration
- vm configuration tips for dev environment: performance, debug, tuning
- our wtf moments
- puphet/phansilbe: hot or not?
- tips for sharing a box
Oscar: Rapid Iteration with Vagrant and Puppet Enterprise - PuppetConf 2013Puppet
"Oscar: Rapid Iteration with Vagrant and Puppet Enterprise" by Adrien Thebo, Software Engineer, Puppet Labs.
Presentation Overview: When trying to debug software problems it's critical to be able to reproduce the original situation, and Puppet Enterprise is no exception to this. The Puppet Labs support team needs a way to rapidly reproduce customer issues across a wide range of operating systems and various versions of Puppet Enterprise. Oscar is a set of Vagrant plugins that handles machine provisioning and configuration to install Puppet Enterprise. It's designed to make building a Puppet Enterprise as simple as running `vagrant up`. While Oscar was originally built for supporting Puppet Enterprise, it provides a general platform for developing and testing against Puppet Enterprise. This talk will go over the history of Oscar, the current state, how it's used, and where to get it.
Speaker Bio: Adrien Thebo has been in the Operations/Software development field since 2005, starting at small IT shop in Boise, Idaho. He started at Puppet Labs in 2011 on the Operations team, and used Puppet to run the Puppet Labs infrastructure. In 2013 he transferred to the Community platform team, working with contributors to merge their contributions in Puppet Core. He develops and maintains a number of Puppet modules and tools around Puppet, and when he's not writing code for Puppet then he's probably blogging about it.
Vagrant allows developers to run identical development environments by configuring and provisioning virtual machines. It helps match the development and production environments. To use Vagrant, install VirtualBox, Vagrant, and a base box image. The Vagrantfile configures settings like the hostname, IP, shared folders, and provisioning steps. Common commands include vagrant up to run the virtual machine, vagrant halt to shut it down, and vagrant destroy to remove it. Vagrant can also package custom virtual machine images to share.
Slides for my talk at the HashiCorp User Group - Amsterdam.
Having a look at some hurdles encountered and other significant points in building a base Vagrant box w/ Packer through a personal use case
Video: https://www.youtube.com/watch?v=J-s9dSjYEJw
GitHub repo: https://github.com/cristovaov/packer-vagrant-talk
Event: http://www.meetup.com/HUG-Amsterdam/events/230517085/
This document discusses Vagrant, an open source tool that allows users to create and configure lightweight, reproducible, and portable development environments. It explains that Vagrant uses VirtualBox to run virtual machines from Vagrantfiles to provide isolated, repeatable environments that can be shared between team members. The document then covers how Vagrant can be used to manage environments, set up Java development environments, and facilitate continuous integration testing before providing instructions on installing and using Vagrant along with some common boxes and practices.
Foundation of starting your drupal project to vagrant environmentEleison Cruz
In replace of XAMPP/MAMPP/WAMPP, here is the most matured development, Vagrant.
Vagrant makes development more stable. It eliminates differences of server setup, and what you see should be the other developers also should see.
Create your very own Development Environment with Vagrant and Packerfrastel
Vagrant, Packer, and Puppet can be used together to create a development environment. Packer is used to build custom base boxes that include only the operating system. Vagrant uses these base boxes to create isolated virtual machines. Puppet then provisions the virtual machines by installing additional software, configuring applications, and defining infrastructure as code. This allows for consistent, reproducible development environments that match production.
Get started with Vagrant! This basic intro assumes no prior knowledge of the platform, and it is universally applicable regardless of the Provider (hypervisor\cloud platform) that you are using.
We also delve briefly into provisioners (ex: Shell, Puppet, Chef) to unlock the true power of Vagrant: quick & easy templates of production systems.
Infrastructure-As-Code means that infrastructure should be treated as code – a really powerful concept. Server configuration, packages installed, relationships with other servers, etc. should be modeled with code to be automated and have a predictable outcome, removing manual steps prone to errors. That doesn’t sound bad, does it?
The goal is to automate all the infrastructure tasks programmatically. In an ideal world you should be able to start new servers, configure them, and, more importantly, be able to repeat it over and over again, in a reproducible way, automatically, by using tools and APIs.
Have you ever had to upgrade a server without knowing whether the upgrade was going to succeed or not for your application? Are the security updates going to affect your application? There are so many system factors that can indirectly cause a failure in your application, such as different kernel versions, distributions, or packages.
Vagrant - Version control your dev environmentbocribbz
Vagrant facilitates the creation and configuration of lightweight, reproducible, and portable development environments.
It is currently in use at companies like Disqus, BBC, Mozilla, Nokia, and O'Reilly Media. More information about Vagrant is available at: http://www.vagrantup.com/
Links:
Boxes: https://github.com/opscode/bento
Cookbooks: http://community.opscode.com/
LAMP demo: https://github.com/bocribbz/cookbook-lampdemo
This document discusses using Vagrant and Puppet to create lightweight reproducible development environments using virtual machines. It introduces Vagrant for automating VM creation and management. Puppet is used to configure VMs through scripts. The Vagrant-Binding API allows managing and configuring VMs from Java code. It provides builder APIs, JUnit integration, and access to Puppet modules. The goal is to simplify VM lifecycle management for testing and development.
This document discusses using Vagrant and configuration management tools like Puppet and Chef to create lightweight reproducible development environments. It provides an overview of virtualization and tools like Vagrant, Puppet and Chef. It demonstrates how to use these tools to automate the creation of virtual machines and configure them. It also summarizes the Vagrant-Binding Java library that allows managing Vagrant environments programmatically.
The document discusses deployment strategies in the cloud using tools like Amazon EC2, Fabric, virtualenv, and git. Key points:
- Software packages are included in Amazon Machine Images to maximize automation and deployment is fully automated.
- Project packages are retrieved and installed during deployment for the latest versions but this can impact performance and security.
- Tools used for deployment include Fabric, virtualenv, pip, and git.
- The deployment procedure instantiates servers, checks out the project from git, and runs a bootstrap script to install virtualenv and Fabric to manage deployment.
I would like to show you guys how easy is it to create a new VM from a base Ubuntu, configure and pack it again so you can distribute to your developers and also to the community.
Speed up the initial setup and have a homogeneous dev environment within your team!
Local development environment through virtualisationRadu Barbu
In about every activity on earth, working with the right tools delivers the best results. Local development environment is a very important aspect in software development and maintenance. Being able to easily generate a VM clone of the production server for your team when developing an application saves precious time and builds confidence. Being able to manage multiple applications independently on the same host machine, makes you agile and smart.
Making Developers Productive with Vagrant, VirtualBox, and DockerJohn Rofrano
This is the presentation I gave at LISA16 on automating your developer's or op admin's personal experience using "infrastructure as code" techniques to quickly create dev and test environments that mimic production and minimize surprises.
DevOps Camp 2017 NYC Local Development using Vagrant by Anthony AlvarezAnthony Alvarez
Explain the features, benefits, and advantages of Vagrant, why it is so awesome and how you can get up and running quickly. Vagrant is a great piece of software that creates reproducible and portable virtual machines which can be used as web servers for local WordPress testing environments. Vagrant is a tool for managing virtual machines – creating a programmatic way to create and configure virtual machines that mimic an application’s production environment.
BLCN532 Lab 1Set up your development environmentV2.0.docxmoirarandell
BLCN532 Lab 1
Set up your development environment
V2.0
Introduction
This course introduces students to blockchain development for enterprise environments. Before you can develop software applications, you need to ensue your development environment is in place. That means you’ll need all the tools and infrastructure installed and configured to support enterprise blockchain software development projects.
In this lab you’ll set up your own Hyperledger Fabric development environment and install the course software from the textbook. When you finish this lab, you’ll have a working development environment and will be ready to start running and modifying blockchain applications.
The instructions in your textbook are for Mac and Linux computers.
However
, there is no guarantee that your installation of MacOS or Linux is completely compatible with the environment in which the commands from the textbook work properly. For that reason, I
STRONGLY SUGGEST
that you acquire an Ubuntu 16.04 Virtual Machine (VM) for your labs. Using an Ubuntu 16.04 VM will make the labs far easier to complete.
The instructions in this course’s labs assume that your computer runs the Windows operating system. If you run MacOS or Linux, you can get
Vagrant
and
VirtualBox
for those operating systems and follow the gist of the “Initial setup for Windows computers”.
Lab Deliverables:
To complete this lab, you must create a
Lab Report file
and submit the file in iLearn. The Lab Report file must be a Microsoft Word format (.docx), and have the filename with the following format:
BLCN532_SECTION_STUDENTID_LASTNAME_FIRSTNAME_Lab01.docx
· SECTION is the section number of your current course (2 digits)
· STUDENTID is your student ID number (with leading zeros)
· LASTNAME is your last name, FIRSTNAME is your first name
To get started, create a Microsoft Word document (.docx) with the correct filename for this lab. You’ll be asked to enter text and paste screenshots into the lab report file.
NOTE: All screenshots MUST be readable. Use the Ubuntu Screen Capture utility (see the lab video.) Make sure that you label each screenshot (i.e. Step 2.1.3) and provide screenshots in order. For commands that produce lots of output, I only want to see the last full screen when the command finishes. Provide FULL screenshots, NOT cropped images.
SECTION 1: Initial setup for Windows computers (Chapter 3)
Step 1.1: Install Oracle Virtualbox (Windows, Linux, MacOS)
Oracle Virtualbox is an open source virtualization environment that allows you to run multiple virtual machines and containers on a single personal computer. Virtualbox is free and it is easy to install.
In your favorite web browser, navigate to:
https://www.virtualbox.org/
and click the “Download Virtualbox” button. Click the “Windows hosts” link to download the main installation executable. You should also click the “All supported platforms” under the “Extension Pack” heading to download extra software supp.
Oracle Developers APAC Meetup #1 - Working with Wercker WorksheetsDarrel Chia
Oracle Developers APAC Meetup #1 - Working with Wercker
This is the hands-on work exercise example used for the Oracle APAC Developers Meetup #1 held in Singapore on 7th February 2018.
The worksheets are intended to be used in conjunction with the slides.
You can find the slides at :
https://www.slideshare.net/DarrelChia1/oracle-apac-developers-meetup-1-working-with-wercker-slides
Meetup Site:
https://www.meetup.com/Oracle-Developers-APAC/events/247111220/
Vagrant is an excellent tool for quickly setup a development environment in a reproducible manner. However it is also a DecOps tool. In this talk the idea is to introduce audience how they can use Vagrant for DevOps
Building your own Desktop Cloud EnvironmentJnaapti
As developers we have seen these problems:
Our development environments accumulate lots of applications and libraries over a period of months.
We are usually in the habit of installing everything in one machine.
We fear that we may screw up our development environment and that means unproductive man-hours.
We forget that a multi-machine deployment is different from a single machine deployment.
How about virtualization in the desktop?
In this demo, I will take you through the steps to create a multi-VM development environment.
This demo will make use of QEMU, KVM and Virt Manager and show you how you can create a VM image, and then start servers with a set of commands, deploy your app, test everything and tear down the environment once you are happy - all this in the cosy comforts of your laptop or desktop.
The Jnaapti development environment is based on this setup.
AtoM and Vagrant: Installing and Configuring the AtoM Vagrant Box for Local T...Artefactual Systems - AtoM
These slides introduce AtoM users to Vagrant, and walk users through the process of installing the the AtoM Vagrant box for local testing and development on a home computer or laptop, regardless of what operating system you use.
WARNINGS:
These slides were last updated in May 2017, using the AtoM 2.4 Vagrant box, which is installed using Ubuntu 16.04. and PHP 7.0. Future versions of AtoM may use a different version of Ubuntu and PHP, which might change some of the command-line tasks used to update the box in Part 2. Be sure to check the AtoM documentation for the most up-to-date information: https://www.accesstomemory.org/docs/latest/
The AtoM Vagrant box is designed for local testing and development - it is NOT PRODUCTION READY and should not be used for long-term data storage. Please see the AtoM documentation for instructions on how to install AtoM on a server for use in your institution.
Puppet is automation software that helps system administrators manage infrastructure by automating provisioning, configuration, and other repetitive tasks. It ensures consistency and stability. Puppet consists of a Puppet Master and Puppet Agents. Vagrant provides a way to easily create and configure virtual development environments using configuration files and automation (e.g. Puppet). It uses Oracle VirtualBox and allows specifying and provisioning resources. Benefits include consistent environments for development, testing, and teams.
Vagrant for local and team WordPress DevelopmentAnthony Alvarez
Presented at WordCamp 2016 NYC. In this talk I’ll show you why Vagrant is so awesome and how you can get up and running quickly. Vagrant is a great piece of software that creates reproducible and portable virtual machines which can be used as web servers for local WordPress testing environments. Vagrant is a tool for managing virtual machines – creating a programmatic way create and configure virtual machines that mimic an application’s production environment.
I’ve collected a few WordPress-related Vagrant resources that will help you get started. Will discuss many of the different vagrant boxes used to create a portable WordPress environment that are cross-platform compatible and easily to be deployed to almost any live environment.
Devops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As CodeIsrael Shirk
The original powerpoint and repos are available here: https://drive.google.com/open?id=0B-25O6PIpLzCNXBOakNEdVdGM2c
I'll be following this up with a series of blog posts in the next few weeks as I have time! If you'd like me to notify you as they come out, please e-mail me at israel at zerrtech.com. Thanks!
Create Disposable Test Environments with Vagrant and PuppetGene Gotimer
As the pace of development increases, testing has more to do and less time in which to do it. Software testing must evolve to meet delivery goals while continuing to meet quality objectives. Gene Gotimer explores how tools like Vagrant and Puppet work together to provide on-demand, disposable test environments that are delivered quickly, in a known state, with pre-populated test data and automated test fixture provisioning. With a single command, Vagrant provisions one or more virtual machines on a local box, in a private or public cloud. Puppet then takes over to install and configure software, setup test data, and get the system or systems ready for testing. Since the process is automated, anyone on the team can use the same Vagrant and Puppet scripts to get his own virtual environment for testing. When you are finished with it, Vagrant tears it back down and restores it to the same original state.
Create Disposable Test Environments with Vagrant and Puppet Coveros, Inc.
As the pace of development increases, testing has more to do and less time in which to do it. Software testing must evolve to meet delivery goals while continuing to meet quality objectives. Gene Gotimer explores how tools like Vagrant and Puppet work together to provide on-demand, disposable test environments that are delivered quickly, in a known state, with pre-populated test data and automated test fixture provisioning. With a single command, Vagrant provisions one or more virtual machines on a local box, in a private or public cloud. Puppet then takes over to install and configure software, setup test data, and get the system or systems ready for testing. Since the process is automated, anyone on the team can use the same Vagrant and Puppet scripts to get his own virtual environment for testing. When you are finished with it, Vagrant tears it back down and restores it to the same original state.
ZF2 Modules: Events, Services, and of course, modularityJohn Coggeshall
A presentation I gave at php[world], 2015 in Washington, DC on Zend Framework 2 focusing on the EventManager, ServiceManager, and how to build dependent-free modules for your applications
The document is an introduction to the Zend Framework 2 (ZF2) architecture. It discusses key ZF2 concepts like modules, the model-view-controller pattern, routes, controllers, and the service manager. Modules are a core concept, with everything including applications being modules. The service manager handles application dependencies and allows for decoupled development. Routes map URLs to controllers and actions. Controllers are executed from dispatched routes and return responses or view models.
John Coggeshall has 18 years of experience in web development and PHP. He discusses several projects that failed due to neglecting technical debt, overcomplicating projects, and ignoring expert advice. Some key lessons are to have expert skills as partners rather than employees, manage expectations, be flexible, have a development process, and keep things simple.
My talk given at Confoo, 2011 in Montreal, Quebec on using the Puppet client/server deployment tool for complex web application deployments. This is an introduction talk, and introduces everything you'll need to get started.
This is a talk I gave at PHP Quebec 2009 on building Android applications with PHP back-ends. Posted for completeness, the majority of this talk was buried in Android/Java and PHP code.. That said, there are still some useful things in the slides themselves to share.
The document discusses building rich internet applications (RIAs) using Adobe Flex and AIR with a PHP/Zend Framework backend. It describes a project to modernize a legacy DOS-based dealer management system (DMS) by creating an internet-based version that provides data sharing and analytics capabilities. Flex and AIR were chosen for the user interface to provide a desktop-like experience, while PHP/Zend Framework handles the backend functionality. Challenges included a lack of server push capabilities and no hardware support in AIR. These issues were addressed through custom data transfer code and a Java server (Merapi) that could communicate with hardware devices.
A brief keynote I gave at PHP Quebec regarding the shift away from the browser for applications and the potential impacts it will have on our development needs as an industry
The document provides tips on common scalability mistakes made when designing web applications and strategies to avoid them. It discusses the importance of considering scalability from the beginning, avoiding blocking calls, caching frequently accessed data, optimizing database and file system usage, and using tools like profilers to identify bottlenecks. The key is designing applications that can scale both up and down based on current needs through a proactive, process-oriented approach.
These are the slides from my ZendCon 2007 talk on a project we did in Professional Services to basically rebuild from scratch InTicketing's (TicketMaster competitor) e-commerce engine using Zend technologies. It was very well received (not even standing room) and well worth a look!
The document provides an introduction to PHP security basics. It discusses identifying principals (the targets of attackers like private data), understanding common attack vectors like SQL injection and cross-site scripting, and employing defense in depth with overlapping security tactics to protect against multiple attack vectors. The presentation emphasizes understanding what information an attacker could derive from an application in order to better protect principal data and functions.
A three hour tutorial I gave at PHP Quebec on the challenges, theory, and concepts behind making asynchronous JavaScript calls for Web 2.0 Applications using PHP
A very successful talk where in I discuss the top 10 failures of organizations I have personally experienced when trying to scale. More than just performance!
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBrad Spiegel Macon GA
Brad Spiegel Macon GA’s journey exemplifies the profound impact that one individual can have on their community. Through his unwavering dedication to digital inclusion, he’s not only bridging the gap in Macon but also setting an example for others to follow.
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfFlorence Consulting
Quattordicesimo Meetup di Milano, tenutosi a Milano il 23 Maggio 2024 dalle ore 17:00 alle ore 18:30 in presenza e da remoto.
Abbiamo parlato di come Axpo Italia S.p.A. ha ridotto il technical debt migrando le proprie APIs da Mule 3.9 a Mule 4.4 passando anche da on-premises a CloudHub 1.0.
Understanding User Behavior with Google Analytics.pdfSEO Article Boost
Unlocking the full potential of Google Analytics is crucial for understanding and optimizing your website’s performance. This guide dives deep into the essential aspects of Google Analytics, from analyzing traffic sources to understanding user demographics and tracking user engagement.
Traffic Sources Analysis:
Discover where your website traffic originates. By examining the Acquisition section, you can identify whether visitors come from organic search, paid campaigns, direct visits, social media, or referral links. This knowledge helps in refining marketing strategies and optimizing resource allocation.
User Demographics Insights:
Gain a comprehensive view of your audience by exploring demographic data in the Audience section. Understand age, gender, and interests to tailor your marketing strategies effectively. Leverage this information to create personalized content and improve user engagement and conversion rates.
Tracking User Engagement:
Learn how to measure user interaction with your site through key metrics like bounce rate, average session duration, and pages per session. Enhance user experience by analyzing engagement metrics and implementing strategies to keep visitors engaged.
Conversion Rate Optimization:
Understand the importance of conversion rates and how to track them using Google Analytics. Set up Goals, analyze conversion funnels, segment your audience, and employ A/B testing to optimize your website for higher conversions. Utilize ecommerce tracking and multi-channel funnels for a detailed view of your sales performance and marketing channel contributions.
Custom Reports and Dashboards:
Create custom reports and dashboards to visualize and interpret data relevant to your business goals. Use advanced filters, segments, and visualization options to gain deeper insights. Incorporate custom dimensions and metrics for tailored data analysis. Integrate external data sources to enrich your analytics and make well-informed decisions.
This guide is designed to help you harness the power of Google Analytics for making data-driven decisions that enhance website performance and achieve your digital marketing objectives. Whether you are looking to improve SEO, refine your social media strategy, or boost conversion rates, understanding and utilizing Google Analytics is essential for your success.
Ready to Unlock the Power of Blockchain!Toptal Tech
Imagine a world where data flows freely, yet remains secure. A world where trust is built into the fabric of every transaction. This is the promise of blockchain, a revolutionary technology poised to reshape our digital landscape.
Toptal Tech is at the forefront of this innovation, connecting you with the brightest minds in blockchain development. Together, we can unlock the potential of this transformative technology, building a future of transparency, security, and endless possibilities.
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC
Ellisha Heppner, Grant Management Lead, presented an update on APNIC Foundation to the PNG DNS Forum held from 6 to 10 May, 2024 in Port Moresby, Papua New Guinea.
2. Welcome
A bit about me
Involved with PHP since
1996
Author of tidy extension
Published Author of
many PHP texts
3. What we’re going to be talking about
today
Virtualization for you, the developer
Creating fully encapsulated development environments
▪ Fully Version Controlled
Available locally using free tools or deploy to EC2 as
necessary
The technologies we are going to discuss
Vagrant – Bootstrap virtual machines, manage box settings,
etc.
VirtualBox – Provides the actual VM environment for
machine
Puppet – Provisions box, installs and manages various
software, code, etc. (also supports others such as Chef, shell
scripts, etc.)
5. Why Virtualization?
There are a lot of reasons to use VMs for
development
Keep your host machine clean / easily recover from
corruption
Keep separate projects from stepping on each other
Super easy developer on-boarding
There are even more reasons to use Vagrant &
Puppet
Much easier management of the stack, versions, etc.
Allows seamless deployment to various environments
for testing
6. Getting Started
To get started, you’re going to need to
download two pieces of software
Vagrant - http://www.vagrantup.com/
VirtualBox - https://www.virtualbox.org/
There are builds available for all major
platforms
7. The steps to building your VM
Step 1: Download the tools
Step 2: Define your VM parameters
Step 3: Build your puppet manifests
Step 4: Prosper
8. Defining your VM Parameters
Every repository should have a Vagrantfile in the root
directory that defines the VM itself
Ruby based, but no Ruby knowledge required
Defines a few key aspects of your initial VM
configuration
Base VM type used (various available)
Network configuration for VM in relation to host machine
Provisioning tooling used (i.e. puppet)
VM resource limits (memory, etc)
Different configurations can be defined for different
environments, and propagated throughout the
process
9. Defining your Puppet Manifests
Once the VM has been defined vagrant can
boot it up as a headless VM (no display) using
VirtualBox automatically and configure it as
necessary
Once booted, it can then provision the box by
installing software packages, shared paths
with hosts, etc. as necessary through the use
of provisioning tools like puppet
Next step is defining your puppet manifests
10. That’s it!
With everything defined, one command takes care
of it all!
Downloads the VirtualBox image if necessary
(precise64)
Boots the VM with the defined parameters (memory,
network, etc)
Sets of shared folders, copies puppet manifests as
necessary and executes puppet to run those manifests
11. Important Vagrant commands
vagrant up – Brings up the virtual machine
vagrant halt – Halts the VM (poweroff)
vagrant destroy – Destroys the VM entirely
vagrant provision – Run puppet provisioning
again
vagrant ssh – automagically log into the VM
via SSH
12. Deploying to AWS
Primarily Vagrant is used to build local VMs for
development
But Vagrant can also be used to deploy to other
environments, such as AWS through the use of
Vagrant plug-ins
First, install the Vagrant AWS provider plug-in:
13. Deploying to AWS
Next, you will need to add a new environment
to your Vagrantfile to setup the necessary
configuration values for AWS such as
Key/Secret, AMI type, etc.
Note: To do provisioning using puppet, you
may need to bootstrap the AMI on boot to
install the puppet tooling
To boot, simply add the --provider option to
vagrant up
14. Other cool tricks
A single Vagrantfile can define multiple VMs
(multi-machine environments) useful for all
sorts of things:
A web server and database server
API client and server
Etc.
Vagrant can do more than just VirtualBox as
well, through providers can also provide
VMWare VMs, etc.
15. Other cool tricks
Vagrantfile configuration files can be created
at various levels, and will be merged together
to define/override settings
Box itself (precise64)
Home directory (~/.vagrant.d)
Project directory
16. Thank you! Questions?
Thank you for coming!
Questions?
Further Reading:
http://docs.vagrantup.com/v2/
http://puppetlabs.com/
http://www.github.com/coogle/skeleton