Watch videos with subtitles in your language, upload your videos, create your own subtitles! Click here to learn more on "how to Dotsub"

Deploy apps to an Azure VM scale set with a custom packer image II

0 (0 Likes / 0 Dislikes)
[Virtual Machines on Azure: Quick Refresher] [Deploy Apps to an Azure Virtual Machine Scale Set With a Custom Packer Image] [Male:]This is intended to be a super-quick refresher, a “level set” if you will, on creating virtual machines in Azure, but for the purpose of this module. So, if any of this is new information to you, then I’d strongly recommend that you step back, take some time to learn how to work with virtual machines in Azure and then come back to this module. So, whenever you create a virtual machine in Azure, you have to start with a “source image”, and a source image is simply a collection of several things like an operating system install, the setup of that system, application installs as well as any configuration for those applications. Hopefully, that all is just a refresher. So, images can be reused multiple times and that allows you to have consistent deployments whenever you need multiple virtual machines from that same image, with the same installs, configurations and so on. So, there are three basic strategies to choose from whenever you’re creating a virtual machine in Azure. You can either use an image from the Azure Marketplace, you can use an image that you created offline and then uploaded it, or you can do kind of a combination of the two. It’s called “customize and capture” we’ll talk about that in just a moment. We’ll start with talking a little bit more about the Azure Marketplace. It contains literally hundreds of images, both first- and third-party. They allow you to quickly deploy Linux and Windows virtual machines. There are operating system images for distros such as Ubuntu, Red Hat, SUSE and more. There are images that already have applications installed; applications like PostgreSQL, Pivotal Cloud Foundry, Autodesk, and a bunch more. So, the second option was to give you a little bit more control. You can create the virtual machine a custom virtual machine offline and then upload it to Azure at a later time. And then your third option is to start with an existing Azure Marketplace image, then customize and capture it for use with new deployments. So, this option to create an image from a Marketplace image makes sure that at least you’re starting out with a solid foundation, which simplifies and speeds up that whole image-creation process. So, in the module that you’re going to work on, it’s this third option that we want to focus on. We’re going to use a tool called “Packer” to script out the customizations that we want to make on a base image, whether one that we capture from the Azure Marketplace or one that we upload ourselves, but this script that we’ll create will consistently customize the image each time a new VM is provisioned to run within our skill-set so that we can consistently scale our application as needed in a consistent automated manner. Now obviously, this video is at a very high level, but again, for our purposes, this is what you really need to know before you step into the unit and the module ahead. Okay?

Video Details

Duration: 3 minutes and 17 seconds
Country:
Language: English
License: Dotsub - Standard License
Genre: None
Views: 8
Posted by: csintl on Jul 5, 2018

VM-02

Caption and Translate

    Sign In/Register for Dotsub to translate this video.