Cloudsoft AMP Exercises
The following exercises are recommended for becoming familiar with Cloudsoft AMP, especially when using with Terraform to describe the infrastructure:
-
1 Deploy an AMP blueprint - create an S3 bucket using AMP and Terraform, become familiar with the Cloudsoft AMP environment, and provide the backend store used for the other exercises
-
2 Manage a multi-tier application with AMP - compose and extend blueprints to build rich, automatable deployments
-
3 Learn the main ingredients of AMP blueprints
- 3-1 Combine multiple IaC templates - create an EFS file system and a bastion server manageable separately
- 3-2 Add sensors, effectors, and config - extend the previous blueprint to collect KPIs and expose management operations
- 3-3 Policies for compliance and automation - extend the previous blueprint for drift detection, security scans, and scheduled actions
These exercises assume that:
- You are using an AMP Trial AMI on an AWS EC2 instance:
t3.large
with a30Gb
volume. - You have an AMP server running.
- The
kubectl
command on the AMP server is connected to a Kubernetes environment (locally or hosted) and able to download public containers or has pre-requisite containers installed. - Your AWS credentials are set up and accessible as AMP externalized configuration,
using an external supplier called
exercise-secrets
with keysaws-access-key-id
andaws-secret-access-key
. - The exercise blueprints are installed into AMP (see below).
These steps are done as part of the AMP trial environment setup.
When you are finished with all the exercises, use the “stop” effector in the Inspector to tear down these deployments. Make sure to stop the “S3” application after you have completely stopped the others which use it as a backend, as the Terraform state will be lost when destroying the S3 bucket, preventing cleanup of the other resources.
Dangerous bends (click this)
⌃
You can now start the first exercise. Or you can explore the dangerous bends below first.
Installing the br
CLI tool
⌃
Installing the exercise blueprints (if not using the trial environment)
⌃