The AppDynamics Cloud Platform is a DevOps project to help automate the deployment of an HA configuration of the AppDynamics Platform in the cloud. It consists of a code repository with Infrastructure as Code (IaC) artifacts, software provisioning modules, and a runbook with step-by-step instructions for deploying the platform.
It is based on the concepts of Immutable Infrastructure and Idempotent provisioning.
The AppDynamics Cloud Platform project enables an IT Administrator, Software Developer, or DevOps engineer to automate the building of immutable VM images using open source tools from HashiCorp. Currently, the VMs consist of these types:
- AppD-Cloud-Platform VM: An APM Platform stand-alone VM designed for Application Performance Monitoring. It consists of the AppDynamics Enterprise Console, Controller, and Events Service.
- CWOM-Platform VM: A Cisco Workload Optimization Manager (CWOM) stand-alone VM designed for Intelligent Workload Management. It consists of the CWOM Platform server.
- LPAD VM: An AWS EC2 'Launchpad' VM with pre-configured tooling for Kubernetes and Serverless CLI Operations.
To build the AppD Cloud Platform VM images, the following open source software needs to be installed on the host macOS machine:
- Homebrew 3.2.0
- Command Line Tools (CLT) for Xcode
- Packer 1.7.3
- Git 2.32.0
- jq 1.6
Perform the following steps to install the needed software:
-
Install Command Line Tools (CLT) for Xcode.
$ xcode-select --install
NOTE: Most Homebrew formulae require a compiler. A handful require a full Xcode installation. You can install Xcode, the CLT, or both; Homebrew supports all three configurations. Downloading Xcode may require an Apple Developer account on older versions of Mac OS X. Sign up for free here.
-
Install the Homebrew 3.2.0 package manager for macOS 64-bit. Paste the following into a macOS Terminal prompt:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
-
Install Packer 1.7.3 for macOS 64-bit.
$ brew install packer
-
Install Git 2.32.0 for macOS 64-bit.
$ brew install git
-
Install jq 1.6 for macOS 64-bit.
$ brew install jq
-
Validate installed command-line tools:
$ brew --version Homebrew 3.2.0 $ brew doctor Your system is ready to brew. $ packer --version 1.7.3 $ git --version git version 2.32.0 $ jq --version jq-1.6
-
Configure Git for local user:
$ git config --global user.name "<your_name>" $ git config --global user.email "<your_email>" $ git config --global --list
To build the AppD Cloud Platform immutable VM images, the following open source software needs to be installed on the host Windows machine:
- Packer 1.7.3
- Git 2.32.0 for Win64
- jq 1.6
Perform the following steps to install the needed software:
-
Install Packer 1.7.3 for Windows 64-bit.
Create suggested install folder and extract contents of ZIP file to:
C:\HashiCorp\Packer\bin
-
Install Git 2.32.0 for Windows 64-bit.
-
Install jq 1.6 for Windows 64-bit.
Create suggested install folder and rename binary to:
C:\Program Files\Git\usr\local\bin\jq.exe
-
Set Windows Environment
PATH
to:PATH=C:\HashiCorp\Packer\bin;C:\Program Files\Git\usr\local\bin;%PATH%
-
Reboot Windows.
-
Launch Git Bash.
Start Menu -- > All apps -- > Git -- > Git Bash -
Validate installed command-line tools:
$ packer --version 1.7.3 $ git --version git version 2.32.0.windows.1 $ jq --version jq-1.6
-
Configure Git for local user:
$ git config --global user.name "<your_name>" $ git config --global user.email "<your_email>" $ git config --global --list
-
Create a folder for your AppD Cloud Platform project:
$ mkdir -p /<drive>/projects $ cd /<drive>/projects
-
Get the code from GitHub:
$ git clone https://github.com/Appdynamics/AppD-Cloud-Platform.git $ cd AppD-Cloud-Platform
The AppDynamics Cloud Platform project currently supports immutable VM image builds for GCP. In the future, we will be adding support for Amazon AWS and Microsoft Azure. Click on a link below for platform-specific instructions and Bill-of-Materials.
- GCP CentOS 7.9 VMs: Instructions