Lab 1: Deploying the Infrastructure agent
For this lab we will be deploying using AWS CloudFormation. This lab will automatically deploy the Infrastructure, Browser, and APM agents. Please note that you will need a keypair in the geography you are running the lab (London recommended).
Step 1: Building in AWS
Recent updates to AWS CloudFormation means screenshots may differ
In CloudFormation, select Create Stack.
We will be using a pre prepared template, so under specify template select Upload a template file and use this template file.
In Specify Stack Details is where the configuration for the build is done.
Give the Stack some meaningful name
Select the key pair you wish to use
Apply your license key instructions
You, optionally, can provide a custom name for the agent here (no spaces, same conventions as applying an agent anywhere) or leave this blank
Also, you must provide some details for the MySQL password that will be created automatically. Use only letters here.
You can leave the other fields blank. And select Next
In Configure Stack Options we will leave everything as is, and scroll down to select next
In Review we will again scroll down to Create Stack
Step 2: Viewing your stack
The process will take a few minutes. Behind the scenes, AWS is provisioning a Security Group and an EC2 instance. CloudFormation is listening to hear back. Then CloudFormation automatically will provision the infrastructure agent, the Wordpress and MySQL installation, and New Relic APM agent for PHP.
You can see the status of the stack creation by clicking the refresh icon in the stack event status.
You can see the resources CloudFormation created in the resources tab
YOnce the items are provisioned, you should see the URL to complete the installation in the output tab
New lab for Kubernetes and Prometheus 1 Nov
There is a new lab for Kubernetes and Prometheus integration - Lab 11. Be sure to check it out to learn about installing Kubernetes locally, integrating with New Relic, integrating New Relic and Prometheus, and deploying a demo application to scrape metrics from.
Updated Synthetics Labs 28 OctLab 3 has been updated to include scripted API tests. It includes a topical build your own test too! (With some help added too).