Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automation at the Edge

Automation at the Edge

CI/CD Pipelines for Content Delivery Networks

Akamai Developer

October 04, 2017
Tweet

More Decks by Akamai Developer

Other Decks in Programming

Transcript

  1. Leverage CDN Features Faster With enough handoffs, the work can

    completely loose the context of the problem being solved or the organizational goal being supported.” “ Velocity of CDN releases need to keep pace with everything else CDN integrated environments should be easily obtainable Fast feedback to enable small incremental versions Quick roll-back and issue reproducibility is key to promote solution stability
  2. CDN CI/CD Considerations Security – Certificates and Secrets management Operational

    – Deployment, Traffic Management, Cache management Provisioning – self-service / ephemeral environments Testing – TTLs, Behaviors, Content
  3. Akamai fits into your DevOps pipeline Property Manager API Akamai

    CLI Fast Activations Custom Behaviors mPulse ESI Test Server Docker Image CloudTest Fast Purge APIs Edge Side Includes Akamai CLI Fast Fallback Cloudlets
  4. Make Akamai interact with your APIs on your terms APIs

    for Everything Global traffic management Fast purge Network and DNS diagnostics Secure provisioning & identity management Developers Developers Developers Developers A U T O M A T E
  5. Programmatic interface to manage processes at the Akamai Edge Property

    Manager API A U T O M A T E Integrate Akamai properties into your existing workflows Manage your Property Config as code
  6. Manage and configure Akamai from the Command Line. Akamai CLI

    A U T O M A T E Current capabilities include: Property Configuration, Fast Purge, and Visitor Prioritization Easy installation and management of new features Build your own packages in 9 supported languages
  7. Tying It All Together Akamai CLI Akamai {OPEN} APIs Scripts

    / Tests Off the Shelf Tools CDN CI / CD Pipeline
  8. CDN Delivery Pipeline Provision, Deploy, Activate processes are accomplished using

    the CLI CDN features are introduced via the Property Manager UI / PAPI VCS becomes the source of truth for CDN logic (metadata) Merge event triggers deployment pipeline
  9. CI Defined Logic is implemented in a GOLD dev Property

    Manager Instance All changes are captured and tested within a short-lived feature branch. Ephemeral Environment used to deploy and test the feature branch artifact. Platform warnings/errors are captured and used to fail validation pipeline if encountered.
  10. CDN Feature Testing HTTP Headers are inspected to validate Edge

    features Validate object TTL assignment, response codes Analyze session debug headers to determine proper behaviors are being applied Additional response attributes to consider: encoding, protocol version,
  11. Best Practices Avoid monolithic configurations Avoid snow-flakes Test CDN setup

    early in life-cycle Monitor: Traffic, offload, errors Integrate with CMS
  12. Visit developer.akamai.com/devops 1 Register to stay informed 2 Explore and

    Interact 3 developer.akamai.com/devops AKAMAI’S ONE STOP SHOP FOR EVERYTHING DEVOPS