All posts tagged in: Automation

Install Powershell and PowerCLI on Ubuntu 16.04

Author image Simon Guyennet on Cloud, Automation, vSphere, VMware, Powershell, PowerCLI

VMware PowerCLI is a very handy command line interface to automate VMware vSphere environment. VMware PowerCLI leverages the Microsoft Powershell scripting language. Prerequisite An Ubuntu 16.04 machine with a network access to the VMware vCenter API. Installation of Microsoft Powershell 1- Import the Microsoft repository GPG Key. $ curl https://packages.microsoft.com/keys/microsoft.asc | \ sudo apt-key add - 2- Add the Microsoft repository to the list of APT sources. $ curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | \ sudo tee /etc/apt/sources.list.d/microsoft.list 3- Update the APT repositories. $ sudo apt-get update 4-...

Deploy a VMware vSphere Virtual Machine with Terraform

Author image Simon Guyennet on Cloud, VMware, vSphere, Terraform, Automation

Terraform is an automation tool created by HashiCorp. It focuses on deploying cloud infrastructure in an automatic fashion. It supports a lot of cloud providers like AWS, DigitalOcean, Google Cloud Platform, OpenStack, VMware vSphere, and more. Terraform is developed in GoLang, which makes the installation really easy to perform, and allows for a lot of operating systems to be supported. Preriquisites For this lab we will see how to deploy a VMware vSphere virtual machine with Terraform, therefore we obviously need a working VMware vSphere environment (vCenter and ESXi). We will use a Linux client machine (Ubuntu 16.04), but...