• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "DevOps - Agile / Deployment Pipeline & Continuous Delivery - What creates the VM?"

Collapse

  • minestrone
    replied
    "it works on my VM"

    Leave a comment:


  • portseven
    replied
    Originally posted by NickFitz View Post
    I, and current ClientCorp, use Vagrant to bring up (and take down) VMs.

    +1 for Vagrant, i use it to play with VM's on my laptop, its pretty convenient for having the build described in the VagrantFile (just a text file). It builds on top on an existing VM image.

    You can even use Vagrant to fire up VM's on Amazon AWS - referencing the AMI's and then any config you want on top of that.

    Leave a comment:


  • stek
    replied
    Originally posted by portseven View Post
    Most of the time the base OS is from a pre created golden 'image' for the flavour of OS you want, that image can have software pre-installed on it. But the idea is that you have a base image with just the OS on it and maybe a puppet client.

    And as part of the bootstrap phase of that image you will start it up and then execute a bunch of commands on first boot that makes that machine unique, e.g. get ip's, generate hostname, register with puppet master, put some ssh keys on their, and pull down the software / code you are deploying.

    Look up the concept of AMI (Amazon Machine Images) alongside EC2 User Data Scripts - Running Commands on Your Linux Instance at Launch - Amazon Elastic Compute Cloud

    ** PM for Cloud Consultancy Rates ;-)
    xCAT does this by (if Linux) with a customised kickstart build from pixie boot, and via set of editable pre and post scripts, allows you add the extra bits, ITM, Oracle client, GPFS, TSM client etc and whatever stuff you want to bang on top - up it comes ready to use in about 20 mins.

    Leave a comment:


  • SpontaneousOrder
    replied
    Docker is handy for this kind of thing too. You can layer on, in a plugin kind of fashion, your different features that you'd expect in your equivalent VM.

    Leave a comment:


  • portseven
    replied
    Most of the time the base OS is from a pre created golden 'image' for the flavour of OS you want, that image can have software pre-installed on it. But the idea is that you have a base image with just the OS on it and maybe a puppet client.

    And as part of the bootstrap phase of that image you will start it up and then execute a bunch of commands on first boot that makes that machine unique, e.g. get ip's, generate hostname, register with puppet master, put some ssh keys on their, and pull down the software / code you are deploying.

    Look up the concept of AMI (Amazon Machine Images) alongside EC2 User Data Scripts - Running Commands on Your Linux Instance at Launch - Amazon Elastic Compute Cloud

    ** PM for Cloud Consultancy Rates ;-)

    Leave a comment:


  • SpontaneousOrder
    replied
    Originally posted by worzelGummidge View Post
    using the agile method?
    say what?

    Originally posted by worzelGummidge View Post
    How is the base VM building actually agile though?
    I'm not sure the question even makes sense.


    It sounds like you got the info you were looking for. Just think it might be a mistake to conflate what's going on with 'Agile'. Not saying the two aren't associated - just that your wording (i could be mistaken) makes me think that you'd be better learning a bit more about what agile development actually is before you assume that one necessitates the other.

    Just mention it because I meet so many people with funny ideas about what agile actually is (i.e. 'do a, b and c and you are certified agile - whatever that means').

    Apologies if I just misread your post.

    Leave a comment:


  • worzelGummidge
    replied
    Originally posted by NickFitz View Post
    I, and current ClientCorp, use Vagrant to bring up (and take down) VMs.

    As a rule, a developer will re-provision a running VM most of the time, which is pretty fast, though some changes may require a new VM to be tested properly. A final full-blown deployment to a new VM is advisable before committing changes upstream, but that shouldn't be happening often enough for it to become a drag on development.

    The CI framework can afford the luxury of provisioning new VMs from scratch, as nobody is sitting there drumming their fingers waiting for it - or at least, they shouldn't be.
    Your a star Nick. Thanks. I have been wondering about that.

    My last two contracts (same place different clients) used Puppet and Ansible and I used to provision the systems the way that I was asked two, which was to a VM already setup.

    If using Ansible then it would be initiated from the Ansible server host.
    If using Puppet then it would be initiated from each client, which seemed a bit odd to me.

    Hence... been wondering if it was time now me to do some proper Ansible or Puppet / Chef contracts but I did not really understand how the VM build bit worked in the "real world" without the manual stuff that the last contracts used.

    Thanks.

    I have actually already bought a Vagrant book but not read it.
    Time for some reading then.

    Leave a comment:


  • stek
    replied
    Originally posted by GlenW View Post
    That's magnifold in the wetty grippers.
    I actually creamed myself typing it.....

    Leave a comment:


  • GlenW
    replied
    Originally posted by stek View Post
    xCAT is your friend, it can deploy Linux via kickstart and AIX via NIM.

    If your are a SPARC Solaris shop, AI is your friend as you can wan boot and not have to faff with DHCP.
    That's magnifold in the wetty grippers.

    Leave a comment:


  • stek
    replied
    xCAT is your friend, it can deploy Linux via kickstart and AIX via NIM.

    If your are a SPARC Solaris shop, AI is your friend as you can wan boot and not have to faff with DHCP.

    Leave a comment:


  • NickFitz
    replied
    I, and current ClientCorp, use Vagrant to bring up (and take down) VMs.

    As a rule, a developer will re-provision a running VM most of the time, which is pretty fast, though some changes may require a new VM to be tested properly. A final full-blown deployment to a new VM is advisable before committing changes upstream, but that shouldn't be happening often enough for it to become a drag on development.

    The CI framework can afford the luxury of provisioning new VMs from scratch, as nobody is sitting there drumming their fingers waiting for it - or at least, they shouldn't be.

    Leave a comment:


  • DimPrawn
    replied
    Originally posted by GlenW View Post
    Badly then?
    No.























    Extremely badly.

    Leave a comment:


  • GlenW
    replied
    Originally posted by DimPrawn View Post
    I've no idea, all the build/deployment/test/support and downstream stuff is handled by Bobs at the client.
    Badly then?

    Leave a comment:


  • DimPrawn
    replied
    I've no idea, all the build/deployment/test/support and downstream stuff is handled by Bobs at the client.

    Leave a comment:


  • DevOps - Agile / Deployment Pipeline & Continuous Delivery - What creates the VM?

    I am new to all of this Agile / Deployment Pipeline & Continuous Delivery stuff and have a question that I have not really been able to find out.


    Working from the Ops side of the barrier (oops sorry no barrier, wiggly line then) in the deployment of code on VM's. I understand that there is a source control and release process with the VM's being build using say Ansible or Puppet but what actually creates the base VM with the basic OS?


    Am I missing something?


    I understand that the above can be Agile and continuous with lots of communication, or slow and painful with lots of bad feeling but how is the creation of VM's handled in VMWare or AWS or anywhere really.
    Are we still using "Gold images", copy the image several times to the number of VM's required and then build from the base OS using the agile method?


    How is the base VM building actually agile though? is that not slower then the rest?


    I am confused.

Working...
X