Thoughts on Tech

Category: Automation

Automation such as Terraform, Ansible, etc

Getting Started with SaltStack Config – Part 3: Configure nginx

In the first and second parts of this series, we got to grips with SaltStack Config, understanding the terminology, how to get the minions talking to the master, and even installing NGINX on a ubuntu server without event logging on to it. But now we need to make it a bit more interesting, and ensure we are deploying OUR web app to the server and keeping it consistent. Here we go….

Continue reading

Want to start using Terraform to manage VMC? Here are some gotchas!

Infrastructure-as-code, automation and particularly Terraform is the hot topic at the moment, and rightfully so. There has been some fantastic articles by people far more adept and intelligent than me on how to use Terraform in conjunction with VMware Cloud and the NSX-T networking. However, I thought I’d come at this from a different angle, not using a brand-new or greenfield SDDC, but one already in use and ‘worn in’. In other words, one with VMs and NSX-T rules, services and groups already in-situ.

Continue reading

VMware Cloud on AWS: Windows provisioning using Terraform

I’ve been fortunate to work closely with VMware and in particular, the UK-based VMware Cloud on AWS team, over the last 18 months or so. Stagecoach were one of the first businesses in the UK to adopt it as their cloud platform of choice alongside AWS and so we have forged a strong relationship with their team, in particular Nico Vibert. I tell you this as some simple promotion for his website, because a good percentage of this code was his. If you’re into Terraform and VMWonAWS then head over to his website.

Goals:

  1. Terraform connectivity to my VMware Cloud on AWS SDDC
  2. Clone existing vSphere template to singular VM
  3. Clone existing vSphere template to multiple VMs
    1. Dynamically name the VMs
    2. Dynamically name the machines in Windows
    3. Assign an sequential IP to each VM
    4. Join to an Active Directory domain
Continue reading

© 2024 Sam Akroyd

Theme by Anders NorénUp ↑