Akamai Automation and Devops
Akamai Automation and Devops
December 2023
2
Course Overview
The Akamai Automation and DevOps training course demonstrates how to automate Akamai
services and products with Akamai-provided developer tools and other external tools. This
course enables participants to understand how to integrate Akamai into their existing DevOps
workflows. It includes extensive hands-on exercises and demonstrations, and presents
developers and administrators with the opportunity to work with Akamai tools and
integrations such as the Akamai Terraform Provider, Akamai CLI, PowerShell, etc., to manage
Akamai products and services.
Objectives
After completing this course, participants will be able to do the following:
● Identify the various tools and integrations that Akamai provides developers to enable
automation and integration into DevOps workflows.
● Provision API clients and generate credentials for authentication and authorization.
● Use the following Akamai tools to automate the management of Akamai delivery
properties and security configurations:
○ Akamai Terraform Provider
○ Akamai Command Line Interface (CLI)
○ Akamai PowerShell module
● Use the Akamai Terraform Provider to deploy Cloudlets to the Akamai edge.
● Use the Akamai Terraform Provider to deploy EdgeWorkers to the Akamai edge.
● Implement best practices to manage Akamai configurations with Terraform.
● Use the Akamai Test Center CLI and APIs to automate the testing of Akamai
configurations.
● Understand how to integrate and manage Akamai as part of a CI/CD pipeline.
2 This copy is for Akamai University participant benefit, not for distribution, sale or reproduction.
3
Agenda
The Akamai Automation and DevOps curriculum can be delivered either as:
3 This copy is for Akamai University participant benefit, not for distribution, sale or reproduction.
4
This module highlights how Akamai TechDocs is the single source of truth for everything
related to the Akamai Developer ecosystem and how to access Akamai API, CLI, and
Terraform Provider documentation. The module also demonstrates how to provision an API
60 Client, generate authentication credentials to make requests to API endpoints, and set up and
use Postman. The module concludes with a lab that teaches you how to use tools such as
HTTPie, Akamai CLI, Akamai PowerShell, and the Akamai Terraform Provider to make simple
API calls.
This module discusses the benefits of using Terraform to manage infrastructure as code,
describes the different stages of using Terraform, and how to create and manage Akamai
configurations as Terraform code. It demonstrates how to use the Akamai Terraform CLI to
export your existing Akamai configurations as Terraform code and the Akamai Terraform
Provider documentation to create Terraform files to provision and manage delivery properties
and security configurations. The two labs in this module allow you to provision your own
180 delivery property and security configuration with the Akamai Terraform Provider, as well as
implement geo-blocking with Network Lists.
4 This copy is for Akamai University participant benefit, not for distribution, sale or reproduction.
5
This module introduces Cloudlets, the different types of Cloudlets and their use cases, and
creating Cloudlet policies. The module also demonstrates how to build and manage your
Cloudlet policies as code and add your Cloudlet as a behavior to a delivery property. The lab in
75 this module uses the Akamai Terraform Provider to define a Request Control Cloudlet policy to
deny GET requests made to a login endpoint and add the policy to a delivery
property/configuration.
This module introduces the two serverless computing solutions that Akamai provides, namely
EdgeWorkers and EdgeKV, how they work, and their use cases. The module covers the steps
to provision EdgeWorkers and EdgeKV and demonstrates the provisioning process with
75
Akamai Terraform Provider. The lab in this module covers creating and deploying an
EdgeWorker with the Akamai Terraform Provider to detect the geography from which end-user
requests originate and set language preferences on a website accordingly.
This module discusses the common best practices to get the most out of Terraform, such as
using input variables, locals, creating a tfvars file to capture the values of input variables, a
60
remote back end for state management, provisioners, and modules.
This module provides an overview of Akamai Testing tools and how to use Akamai Test
Center to perform functional and comparative testing. The lab in this module allows you to
60 use the Akamai CLI for Test Center to define a test suite, add test cases to it, run the test suite,
and view test results. The lab also lets you run some sample scripts that automate the
process of using the Akamai Test Center.
LAB: PERFORM FUNCTIONAL TESTING WITH AKAMAI TEST CENTER CLI & APIs
This module reviews the concepts of continuous integration (CI) and continuous
delivery/deployment (CD), the concept of a CI/CD pipeline, and demonstrates how you can
90
build a pipeline from beginning to end, literally. This module also demonstrates how to
implement a Git and Jenkins-based CI/CD pipeline to implement common Akamai use cases.
5 This copy is for Akamai University participant benefit, not for distribution, sale or reproduction.
6
This module introduces the Akamai Command-Line Interface (CLI), its installation process, the
common commands, and the different CLI packages available. The module covers the
Property Manager and Application Security CLIs and how to use them to create and manage
delivery properties and security configurations as code. The two labs in this module cover
using the Property Manager, Certificate Provisioning System, Purge, and Application Security
180 CLIs. Finally, the module demonstrates a use case for building a custom CLI to bulk-onboard
multiple hostnames to the Akamai platform.
This module introduces Akamai PowerShell, its installation, and how to easily access its
various commands, syntax, and usage information. The module demonstrates the flexibility
that PowerShell provides in managing your Akamai configurations either as JSON code or as
PowerShell objects. The module also showcases the various property and application security
commands and how to use them to create and manage delivery properties and security
configurations. The two labs in this module enable you to use Akamai PowerShell commands
180
to retrieve information regarding your Akamai assets, create new delivery properties,
modify/add new rules and behaviors to them, create new security configurations and policies,
make changes such as add custom rules, modify existing WAF rules, etc. Finally, the module
demonstrates how PowerShell scripts can automate tedious and often repetitive tasks.
MODULE 9: SUMMARY
15 This final module provides key takeaways for the entire course and provides a final
opportunity for learners to complete lab work, receive job aids and other materials, and have a
class discussion on follow-up questions or concerns.
6 This copy is for Akamai University participant benefit, not for distribution, sale or reproduction.
7
7 This copy is for Akamai University participant benefit, not for distribution, sale or reproduction.