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

Taking Self-Serviceability to the Moon Using PM Variables

Taking Self-Serviceability to the Moon Using PM Variables

Did you know that only 5.25% of Akamai’s Property Manager configurations are using PM variables? Are you really taking advantage of them? This session is your opportunity to leverage and increase your knowledge around PM variables -- and we'll focus on real use cases instead of just theoretical talk. Three main topics will be covered: leveraging self-serviceability by controlling advanced metadata through PM variables, reducing effort on configuration changes through the use of PM variables, and showing the often-overlooked uses of PM variables. After the session you’ll be able to decrease the amount of PS hours needed to execute some changes and gain more control over your PM configurations.

Akamai Developer

October 11, 2017
Tweet

More Decks by Akamai Developer

Other Decks in Technology

Transcript

  1. © AKAMAI - EDGE 2017 Taking self-serviceability to the moon

    using PM variables Álvaro Segura / Francisco Vargas / Jay Sikkeland
  2. © AKAMAI - EDGE 2017 Agenda • Quick Overview •

    Location • Set - extract - transform • Custom Behaviors • Cool cases and hands-on
  3. © AKAMAI - EDGE 2017 Agenda • Quick Overview •

    Location • Set - extract - transform • Custom Behaviors • Cool cases and hands-on
  4. © AKAMAI - EDGE 2017 Quick Overview Have you EVER?

    Advanced Change Parameter Change myself I could do it
  5. © AKAMAI - EDGE 2017 Quick Overview Match Set Extract

    Transform Generate What is PM Variable?
  6. © AKAMAI - EDGE 2017 Quick Overview What kind PM

    Variable? Built-in User defined
  7. © AKAMAI - EDGE 2017 Quick Overview What syntax PM

    Variable? {{ }} builtin.name {{ }} user.name
  8. © AKAMAI - EDGE 2017 Quick Overview How create PM

    Variable? You Do Create User defined
  9. © AKAMAI - EDGE 2017 Quick Overview How create PM

    Variable? PMUSER_name Initial Value Description Security
  10. © AKAMAI - EDGE 2017 Quick Overview How create PM

    Variable? PMUSER_name Initial Value Description Security
  11. © AKAMAI - EDGE 2017 Quick Overview How create PM

    Variable? Security Visible Hidden Sensitive PMUSER_name Initial Value Description
  12. © AKAMAI - EDGE 2017 Quick Overview How create PM

    Variable? PAPI User defined open API
  13. © AKAMAI - EDGE 2017 Quick Overview How create PM

    Variable? Built-in You Don’t Create
  14. © AKAMAI - EDGE 2017 Quick Overview How create PM

    Variable? Built-in You Don’t Create
  15. © AKAMAI - EDGE 2017 Agenda • Quick Overview •

    Location • Set - extract - transform • Custom Behaviors • Cool cases and hands-on
  16. © AKAMAI - EDGE 2017 Location Where use PM Variable?

    Use in Behaviors Redirect Modify Path Set Cookie Others
  17. © AKAMAI - EDGE 2017 Agenda • Quick Overview •

    Location • Set - extract - transform • Custom Behaviors • Cool cases and hands-on
  18. © AKAMAI - EDGE 2017 Set - extract - transform

    How set PM Variable? Create from • Expression • Extraction • Generation Foo (User-defined only)
  19. © AKAMAI - EDGE 2017 Agenda • Quick Overview •

    Location • Set - extract - transform • Custom Behaviors • Cool cases and hands-on
  20. © AKAMAI - EDGE 2017 Custom Behaviors Have you EVER?

    Advanced Behavior You use Over and Over myself I could add it
  21. © AKAMAI - EDGE 2017 Custom Behaviors What is Custom

    Behavior? Re-use custom Advanced Behavior Wherever you need Whenever you need (Self-Serviceability)
  22. © AKAMAI - EDGE 2017 Agenda • Quick Overview •

    Location • Set - extract - transform • Custom Behaviors • Cool cases and hands-on
  23. © AKAMAI - EDGE 2017 Cool cases and hands-on Enable/disable

    Advanced Behavior 1 Match on PMUSER_ ENABLE? False Execute Advanced Behavior True
  24. © AKAMAI - EDGE 2017 Cool cases and hands-on Enable/disable

    Advanced Behavior 1 <match:variable name="PMUSER_ENABLE" value="true"> [Advanced Behavior Here] </match:variable >
  25. © AKAMAI - EDGE 2017 Cool cases and hands-on Send

    end user´s Country Code To origin 2
  26. © AKAMAI - EDGE 2017 Cool cases and hands-on Send

    end user´s Country Code To origin 2
  27. © AKAMAI - EDGE 2017 Cool cases and hands-on Path

    substitution using RegEx 5 cool.site.com/bar89/ AK_PATH (PMUSER_PATH) /foo89/ (RegEx)
  28. © AKAMAI - EDGE 2017 Cool cases and hands-on Redirect

    to language tag automatically 6 /fr-fr
  29. © AKAMAI - EDGE 2017 Cool cases and hands-on Redirect

    to language tag automatically 6 Find it on Community
  30. © AKAMAI - EDGE 2017 Cool cases and hands-on 7

    [Edge] [Origin] A B C D Delete Specific Cookies from a list
  31. © AKAMAI - EDGE 2017 Cool cases and hands-on 7

    Delete Specific Cookies from a list
  32. © AKAMAI - EDGE 2017 Cool cases and hands-on Delete

    Specific Cookies from a list 7 [Edge] [Origin] A B C D D A
  33. © AKAMAI - EDGE 2017 Cool cases and hands-on 7

    Delete Specific Cookies from a list curl -v http://selfservice.pmvariables.com. edgesuite.net/headers -H “Test:07” -H ”Cookie: CoolCookieA=bar; CoolCookieB=foo; CoolCookieC=john; CoolCookieD=doe”
  34. © AKAMAI - EDGE 2017 Cool cases and hands-on 7

    Delete Specific Cookies from a list Accept: */* Accept-Encoding: gzip Akamai-Origin-Hop: 3 Cache-Control: max-age=10 Connection: close Host: httpbin.org Test: 07 User-Agent: curl/7.43.0 Cookie: CoolCookieA=bar; CoolCookieD=doe Origin
  35. © AKAMAI - EDGE 2017 Cool cases and hands-on 7

    Delete Specific Cookies from a list Cookie: CoolCookieA=bar; CoolCookieD=doe Origin
  36. © AKAMAI - EDGE 2017 Cool cases and hands-on 7

    Delete Specific Cookies from a list Set-Cookie: CoolCookieB=; domain=.test.com; path=/; expires=Tue, 01-Jan-1980 12:00:00 GMT Set-Cookie: CoolCookieC=; domain=.test.com; path=/; expires=Tue, 01-Jan-1980 12:00:00 GMT End-user
  37. © AKAMAI - EDGE 2017 Cool cases and hands-on 7

    Delete Specific Cookies from a list End-user Set-Cookie: CoolCookieB=; Set-Cookie: CoolCookieC=;
  38. © AKAMAI - EDGE 2017 Cool cases and hands-on 7

    ! [Hands-on] Delete Specific Cookies from a list