Managing your Akamai-as-Code with Terraform (2020, v0.8)

3 min read 6 months ago
Published on Apr 22, 2024 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Step-by-Step Tutorial: Managing Akamai-as-Code with Terraform

Introduction:

  1. Understand the Purpose: The webinar aims to help you work better with Akamai by managing Akamai together with other tools and technologies using Terraform.
  2. Check the Schedule: The series is broadcast once every three weeks, so make sure to check the webinar schedule link provided in the resources section to stay updated.

Speaker Introduction:

  1. Introduction to Speaker: Mike Ellison from the developer advocacy team at Akamai Technologies, with over 10 years of experience in consulting on digital strategy and solutions, will be the speaker for today's session.

Overview of Terraform:

  1. What is Terraform: Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently.
  2. Key Features: It is the first multi-vendor infrastructure tool with simple syntax and the ability to combine infrastructure, making it a great choice for managing infrastructure as code.
  3. Continuous Configuration Automation (CCA): Terraform falls under this category and plays a significant role in companies' infrastructure as code strategy.
  4. Managing Akamai with Terraform: Customers and partners using Akamai are interested in managing Akamai solutions through Terraform, leading to the creation of the Akamai Terraform provider.

Setting Up Akamai Terraform Provider:

  1. Installation: Install Terraform and the Akamai development environment. Installation instructions are available on the Akamai Developer website.
  2. Authentication: Authenticate to Akamai using Akamai Edge Grid, ensuring your API client has read/write permissions to the necessary APIs.
  3. API Credentials: Store your API credentials securely using options like configuration files, H grid files, or Terraform variables.
  4. Provider Functionality: The Akamai Terraform provider allows you to manage DNS, load balancing configurations, and delivery configurations through the Property API.

Current Functionality and Roadmap:

  1. Current Functionality: The provider supports managing DNS, load balancing, and delivery configurations, including Akamai solutions like performance and media delivery.
  2. Akamai Terraform CLI Package: This package helps in specifying existing configurations and exporting them to Terraform configuration easily.
  3. Roadmap: Akamai is exploring adding more functionality to the provider, including managing security configurations and SSL/TLS certificates on the Akamai platform.

Demo Showcase:

  1. Export Existing Configurations: Use the Akamai Terraform CLI package to import existing configurations and DNS zones into Terraform configuration files.
  2. Manage DNS Zones and Records: Create new DNS records for a subdomain using Terraform.
  3. Manage Akamai Configurations: Create and deploy a new Akamai delivery configuration for a specific hostname.
  4. Manage Origin and Integrations: Create a Google Cloud Platform bucket as an origin and integrate it with Akamai delivery configurations.

Best Practices and Use Cases:

  1. Integration with GitHub: Store Terraform configurations on GitHub for version control and automated deployment.
  2. Master Template Creation: Use Akamai variables to create master templates for delivery configurations, making it easy to recreate and update configurations.
  3. Infrastructure Management: With the current functionality and upcoming roadmap, Akamai Terraform provider can manage DNS, load balancing, delivery configurations, and more.

Conclusion:

  1. Feedback and Updates: Share your feedback on the Akamai Terraform provider to help improve its functionality and support for various use cases.
  2. Resources: Check the resources section for more information, including blog posts, installation guides, documentation, and code examples on GitHub.
  3. Q&A and Quiz: Engage in the Q&A session to get answers to your queries and participate in the interactive quiz for a chance to win prizes.

By following these steps, you can gain a comprehensive understanding of managing your Akamai solutions using Terraform and leverage its capabilities efficiently.