LongCut logo

Akamai Developer Foundations

By Akamai DevRel

Summary

Topics Covered

  • UIs bottleneck automation
  • Akamai trifecta simplifies management
  • Akamai fits every DevOps phase
  • Three steps launch Akamai Developer

Full Transcript

welcome to akamai developer our mission at akamai developer is to offer you a better experience to solve technology challenges such as cyber security

web performance and media delivery as well as manage your akamai solutions this is achieved by providing tools and resources that help you

effectively use the akamai edge platform and the akamai developer toolbox as well as integrate akamai easily into your digital ecosystem

again welcome to the akamai developer foundations d training course to start your akamai developer journey this akamai developer foundations

training course is designed to help you on your akamai developer journey in four key areas first understand what akamai developer is

which tools are available in the akamai developer toolbox and how you can best utilize them second understand how you can get started with akamai developer including the prerequisites for making

your first action with any of the main akamai developer tools and thirdly understand how to discuss akamai developer and show the value of using the toolbox

in conjunction with the akamai solutions across our portfolio and finally understand where you can find more resources to get answers to your questions

this training course is designed for anyone interested in akamai developer whether you are a customer for many years a brand new customer that just joined akamai one of the many partners who operate and

manage akamai solutions or even a prospect interested in working with akamai solutions this training course can help you get started not only with the akamai solutions

but also with integrating easily into your digital ecosystem and devops workflows if you are working for akamai especially for those working with our

customers partners and prospects this training course can also be of interest to you many companies today are looking for easier ways to utilize vendor services in an

automated way this training course will help you in your ability to showcase the akamai developer toolbox and how you can answer questions you receive

the training course is designed to be consumed in three different ways through video by following the video playlist you will be guided through all the material with accompanying slides

and screen shares through audio following the audio podcast you will be guided through all the material as well or through reading the material now

regardless of your choice each way contains the same material for those on video or audio links to the additional resources are provided in the descriptions now let's take a look at the structure

of the training course and the training course consists of seven parts first this introduction to the akamai developer foundation's training course

next what is akamai developer this introduction will explain the three key areas of akamai developer which are akamaya's code akamaya's data

and akamy plus ecosystem this part will also showcase the key tools in the akamai developer toolbox next is the devops workflow a short

rundown on the main terminology used in devops devsecops and automation workflows including a highlight of the main tools and vendors that companies often utilize

next is getting started with akamai developer a breakdown on all the key akamai developer tools how you can install them and start using

them on your platform of choice after that we have talk about akamai developer it's best practices on how to talk about akuma developer inside of your

organization or with your customers and partners and how to ask the right questions and to round it out we have the resources and recap on akamai developer

it acts as a section where you learn more about where it can go for information as well as help and serve as a recap outside of that material we also have a hands-on akamai developer lab

which is a lab exercise which will teach you and show you all the required actions to try out many of the akamai developer tools we hope that this training course will

give you a better understanding on what akamai developer is what the toolbox offers and how you can best utilize this in your digital ecosystem

and workflows we welcome you to share your experience and feedback with us so that we can continuously improve this training course for those after you to consume we want to thank

you very much for your time on this training course and let's get started on your akamai developer journey welcome to akamai developer foundations this is the second part of the training

course in the first part we introduce the akamai developer foundation's training course and highlighted the goal of the training course as well as outline the structure if you

haven't consumed that yet and are wondering why you are here please feel free to take a look at the first part that said in this second part we will be going over the main areas of akamai developer what

value akamai developer brings as well as highlight the key tools that make up the akamai developer toolbox first a quick and final reminder on the

akamai developer mission our mission at document developer is to offer you a better experience to solve technology challenges such as cyber security web performance and media delivery as well as manage

your akamai solutions this is achieved by providing tools and resources that help you effectively use the akamai edge platform any akamai developer toolbox as well as

integrate akama easily into your digital ecosystem in the 2010s the industry saw a rise in the devops movements

devops is a set of practices that combines software development the dev part and information technology operations the ops part which aims to shorten the system's development lifecycle

often through the automation of processes and provide continuous delivery of high software quality we will go

over more devops terminology in the next part now that said with thousands of companies relying daily on the akamai edge platform and the akamai solutions in the

portfolio akamai of course has also joined the devops movement by offering customers and partners the ability to manage their akamai solutions and data through a set of tools

mostly consisting of akamai apis and other tools that act as wrappers for those apis such as the akamai cli a command line interface

or the akamai terraform provider now traditionally akamai offers a rich user interface called the akamai control center to manage your akamai solutions

however the user interface becomes a bottleneck when you are looking to streamline your development lifecycle through automation and this is where the akamai developer toolbox can play a great role

in helping you achieve more easier even simple akamai management tasks like purging a cached object or updating a dns record managed to the akamai hdns

solution can be executed with just one simple command now let's take a look at the akamai developer trifecta akamai developer aims to assist you in

these three key areas of managing your akamai solutions first akamai s code the ability to manage akamai solutions

through tools and code such as the akamai development environment akamai apis and of course these wrappers such as the akamai cli akamai terraform provider

as well as code examples for integrating it with a variety of programming languages the aim here is for a full crud which stands for

create read update and delete and describe workflow through these tools without the need to rely on the akamai control center now this also includes support for

automated ci cd continuous integration continuous delivery workflow including all the devops faces

secondly is akamai as data the ability to access and utilize akamai data such as logs and events to help with the monitoring and continuous improvement of

the services that a company offers the use of akamy solutions as a critical part of the digital ecosystems relies not only on the functional use but also on the actionable data that is

available data stream or sim integration are two key akamai solutions that play a key role here and you can use this data to integrate

with any of your monitoring tools which brings us to the third piece the akamai plus ecosystem it is the ability to integrate akamai solutions into other tools and technologies that a

company implements in their devops workflow or digital ecosystem this can of course be tied into either akamaia's code

or akamai's data these integrations often range from connectors or vendor-specific implementations that can help achieve the efficiency of akamai solutions

also added into this area is also the ability to move functional logic from other services to the akamai edge which solutions such as

akamai etch workers cloudlets or akamai image manager categorizing akamai developer into this akamai developer trifecta helps make akamai developer and the

tools more easy to relate to and structure your efforts on managing your akamai solutions these three areas can help tremendously in the devops workflow

or tool chain and we'll have more on this in part three the akamai portfolio offers a wide variety of solutions to help tackle different technology challenges

such as protecting your assets assets such as applications apis identities content from many of the security threats out there as well as delivering

and caching the same assets with the highest performance possible each of these akamai solutions comes equipped with the ability to manage the solution through akumaya's code or rely on the

data provided for the solution to recognize data and in certain cases it will also offer you the ability to integrate that solution into your digital devops ecosystem

now before we go ahead and explain how to get started with akamai developer we will first go through the devops terminology highlighting the traditional devops workflow also known as a toolchain this helps

guide you in understanding where each akamai developer area and tool fits best in your devops workflow we hope that we've explained akamai developer at a high level

showcase the value that it can bring and introduce you to each of the three main trifectas as well as the main key tools we look

forward to welcoming you in the third part as always thank you very much for your time on

this training course and let's continue

on your akamai developer journey welcome to akamai developer foundations this is the third part of the training course and in the second part we

explained what akamai developer is the value that it can bring and the three key areas that make up the akamai developer trifecta akamai's code akamai's data and akai

plus ecosystem if you haven't consumed that yet and you are wondering why you're here please feel free to take a look at the second part that said in this third part we will go through the devops

terminology highlighting the traditional devops workflow also known as a toolchain and this helps guide you in understanding where each akamai developer area and tool fits best in the

devops workflow a devops workflow or tool chain is a set of combination of tools that aid in the delivery development and management of software applications through the systems development

lifecycle as coordinated by an organization that uses devops practices devops can also be extended to devsecops which adds in security

the team is responsible for executing a company's security strategy into the devops workflow both devops and devsecops rely heavily on automation

through tools through automation relying on predefined processes and scripts that are executed by machines and require limited to no manual

execution for instance logging into the akamai control center to deploy a configuration chains as devops is intended to be a cross-functional mode of working

those who practice the methodology use different set of tools referred to as tool chains rather than a single one these full tool chains are expected to fit into one or more

of the following categories reflective of key aspects of the development and delivery process let's take a look at how this works first coding think about code

development and review source code management tools code merging when it comes to akamai each delivery configuration each

security configuration or even dns zones and records can be treated as akamai's code so the toolbox plays a huge part in the coding workflow

the ability to integrate and store your configurations together with other code in your source code management tools such as git or github are critical to collaborating with your

teams and managing akamaya's code second building here you think about continuous integration tools build statuses here it is also critical that akamai s

code plays a major role when you're creating a new version of your application that is delivered and or protected by okamy solutions it is important that the akamai solutions are of course taken into

consideration during the build process integrating arkhamia's code into your continuous integration tools such as jenkins is very easy to achieve

and highly recommended thirdly we have packaging think about artifact repositories or you know pre-plot deployments on staging pre-prods

the ability to package all your akamai changes together and roll them out in a staging or pre-environment are extremely important in this packaging phase you can rely on logs and headers from

the akamai staging x servers to act as optimized data fourth we have testing think about continuous testing tools

that provide quick and timely feedback on business risks the ability to test your akamai configuration changes in an automated way can help you mitigate issues faster in

your devops workflow as part of akamai's code tools like the akamai sandbox can help you test changes locally before they are packaged and released you are also able to rely on akamai's

data with the feedback you get from local testing through the akamai sandbox in the fifth phase we have releasing think about change management

release approvals and release automation and with akamaia's code the ability to roll out your akamai changes through tools are easy to achieve and with fast deployment times on the akamai edge

platform changes our life in a matter of minutes for the majority of the akamai solutions as of 2020 and in the sixth phase we have configuring now here you have to think

about your infrastructure configuration and management infrastructure as code tools again the ability to treat your akamias code through infrastructure as call tools such as the akamai terraform provider

can help integrate akamai into your overall infrastructure as code ecosystem as you can see on the left side you basically have the dev part and on the right side you have

the ops part devops but let's look at one more phase which is the monitoring phase think about applications performance monitoring

and user experience think about monitoring your security threats and akamai offers a wide variety of solutions that can help achieve akamai as data solutions such as data

stream for general akamayas data logs impulse for akamai real user monitoring to tackle performance monitoring or even seam integration to monitor security threats that can

help you with your devops and depth set up strategies now some categories are more essential in a devops tool chain than others especially continuous integration like

jenkins gitlab bitbucket as well as infrastructure as code like through terraform or ansible and puppet but akamai offers easy integrations into your digital ecosystems

and devops workflow with the akamai plus ecosystem focus in each of these phases akamai developer brings the akamai developer toolbox to the table each with a specific focus again the

akamai's code akamai's data or akamai plus ecosystem to help in each of these seven stages of the devops workflow now with that we will leave the theory

and terminology space and dive into more practical matters there are countless of excellent resources that you can consume for more information on devops and devsecops

ranging from the mindsets to dozens of tools often used in workflows devops has brought forth a fresh wave of doing things more easy and more efficiently in the 2010s

and we encourage you to continue on your own devops journey by learning more through the amazing content that you can find online now in akamai developer foundations however next

we will go ahead and start lifting the covers of akamai developer and showcase how you can get started with the akamai developer and the toolbox we hope that we have explained the devops workflow at a high

level showcase the value that it can bring and introduce you to akamai developer and how it can play a role in each devops phase we look forward to welcoming you in the

fourth part getting started with akamai developer as always thank you very much for your time today on this training course

and let's continue on your akamai

developer journey welcome to akamai developer foundations in this part we will be going over

getting started with document developer and getting started with akamai developer is easier than you think to summarize you will need to execute

three simple steps to start first you will need to select a tool with which you will perform the akamai developer actions

we recommend the akamai development environment which comes pre-installed with http pi to execute akamai api requests the akamai cli with all the relevant packages

as well as terraform and curl now you can also select another tool like postman a graphical user interface or integrate akamai apis inside of your

favorite programming language second you will need to log into akamai control center and create an akamai api client under your account

you will have to create the right permissions to the api endpoints you require access to and generate a set of api credentials that your tool of choosing

can use to authenticate akamai requests through something called akamai edge grid authentication and thirdly you can go ahead and set up your use case and automate it

this can range from simple akamai actions like perching or going full akam is code for many of the akamai solutions in the portfolio you can always check out developer.akamy.com

developer.akamy.com for a variety of use cases that our colleagues and customers have documented for you now with these three simple steps summarized let's take a look on how to install

each of the major tools and how to execute a basic action

with each of them in the getting started

with akamai developer series welcome to akamai developer our mission

at akamai developer is to offer you a better experience to solve technology challenges such as cyber security web performance and media delivery as well as manage

your optimize solutions now this is achieved by using the akamai edge platform but also by using the akamai developer toolbox and by integrating easily into your digital

ecosystem akamai developer aims to assist you in three key areas of managing your akamai solutions there is akamaya's code which is the

ability to manage your akamai configurations and settings through code there is akamaya's data which is the ability to utilize akamai data to your benefit

and finally we have the akamai plus ecosystem the ability to integrate akamai into your digital ecosystem as well as move logic to the edge

now you might be wondering what we have in the akamai developer toolbox to get started and if you are you're in the right place next we will explain the key tools that you

can utilize and get started to manage your akamai solutions we recommend that you get started by installing the akamai development environment as it bundles many of the

required tools together next we also recommend that you create an akamai api client with the accompanying api credentials so that you can properly

authenticate your requests through akamai edge grid authentication we hope that the next videos will give you a better understanding on what the akamai developer toolbox

offers and how you can best utilize this in your digital ecosystem and workflows for more information please visit developer.akamai.com

thank you very much for your time today and happy akomizing welcome to getting started with the akamai development environment i am mike ellison developer advocate at

akamy technologies and today i will be guiding you through this short tutorial on how to get started with the akamai development environment akamai offers a rich library of

approximately 100 different apis as well as command line interface or cli packages that allow you to manage your akamai solutions whether it is making a change to your akamai delivery configuration

or retrieve the latest traffic reports the ability to execute these requests are available to you and it might be easier to start with than you think the akamai development environment offers you a simple solution in bundling

the required tools together to help you get started faster this comes in the form of a docker image that can be customized depending on your needs you can install the full image or only cherry pick

the tools that you require now once you've installed docker on your platform of choice you can run one simple command to download the akamai docker image to have your akamai development environment

fully up and running and you can find additional instructions on our akamai github on github.com akamy.comdocker

now additionally in order to use the tools included that utilizes the yakama apis you will need to properly authenticate your requests with akamai accurate authentication

we recommend watching the accompanying video getting started with akamai apis creating an api client to create an api client with the proper api tokens for you to use in your akamai

development environment now let's get started with a quick demo to showcase how easy it is to install the akamai development environment ensure that docker is

installed and running and once that is configured run the following command in this sped up view you can see the docker image is now downloading

and installing and this process takes less than three minutes depending on your internet speed and there we go the akamai development environment is now fully installed

and launched we can now go ahead and use the environment for a wide variety of use cases managing your akama is code and deploy new configurations or configuration changes through the akamai terraform provider

are now easily done due to the inclusion of terraform purchasing content in one command because the akamai purchase cli package is also pre-installed now we can even go ahead and troubleshoot our akamai requests with the pragma headers

which can also be done because of the inclusion of curl now as a bonus best practice we recommend setting up an alias to run

the request faster here we go ahead and bind academ with the right request this can help speed up commands as demonstrated in the following

commands in this example we are running the akadev alias which is actually underwater executing the docker image we're running the crawl package inside of there we're adding

our akamai pragma headers and we're running that for a request a test image that we have deployed here called schrodinger's cat.png as you can see here with the x cache this is actually

an image that is right now being served in cache so let's go ahead and actually purge this image from the akamai edge servers

and as you can see on the screen here we again ran akadaf which is running docker underwater we're actually executing the akamai cli with the akamai cli purge package

and running the invalidate command for this particular image now let's run our request again and as you can see we now have a refresh miss meaning that

the image was perched now this simple purge request is just one of many different use cases that you can use in order to use your akamai development environment i

hope that this tutorial on getting started with the akamai development environment has been helpful for you and has given you the knowledge to start utilizing the toolbox that akamai developer provides for more content

please visit developer.com where you can find more tutorials and information now if you have any questions to knock on my developer please feel free to reach out you can find me personally on social

media under the handle at akamaimike i want to thank you very much for your time today and i hope to see you again in our other tutorials

good luck and happy akomizing welcome to getting started with akamai apis i am mike ellison developer advocate at

akamy technologies and today i will be guiding you through this short tutorial on how to get started using the akamai apis and showing you how you can create an

akamai api client akamai offers a rich library of approximately 100 different apis that will allow you to manage your akamai solutions

whether it is making configuration changes or retrieving the latest security events the ability to execute these requests are available to you and it's easier to start with than you

might think on our akamai developer website developer.com.com

developer.com.com api you can find the entire akamai api catalog and in this video i will just guide you through the process of creating

an akamai api client before we start there are two prerequisites first in order to start using the api client you have to create it and this can only

be proficient from within the akamai control center and you will require the correct permissions in order to do so if you are lacking these permissions please reach out to an akamai admin

in your organization or contact your akamai accounting and secondly it is important to think about with which

tool you will be making the api requests any major programming language that is able to make https requests will have the ability to make akamai api requests

and we also have several tools supporting this that said let's get started with the basics and log into akamai control center

here we have akamai control center where we are going to be creating our akamai api client navigate to the top left and click on the hamburger icon

and scroll down to identity and access you can also type in identity in the search bar

and here we have the identity and access management tab where you can manage your users and api clients click on the button new api client for

me and here we have the customize api client page on here you can choose between quick and advanced for quick you have the ability to spin

up an akamai api client giving you access to all the apis matching your permissions but with advanced you have the ability to restrict access to only certain apis

or only certain groups click on quick to create your api client and here we have it you have the ability to update the name

and description fields to reflect the settings that you want to have for them for instance api client for the username if we scroll down you can find the

credentials you can click on the download button to download your credentials or you can copy your credentials by clicking on the copy credential button and copy them to your clipboard we

recommend to store your credentials safely in a password manager or in a vault your credentials consist of a host which is the api endpoint you can send your request

to as well as a client token a client secret and an access token you also have the ability to edit your api client click on the button and it will load the

edit section on the apis you have the ability to click on select apis now if you've selected the quick option you'll have access to everything in your contract

and you then have the ability to manually update the settings for each api endpoint one by one just simply click on the field on the right

change your setting and click on submit you also have the ability to select your groups similar to the apis if you want to use your api client for purging content from the akamai edge

network you have the ability to select your purge options for instance purging by cache tags or purging by cp codes just select your options and click on

submit once you're done making your changes click on save and they will reflect automatically if you click on save you will go back to the identity and access management tab

where you can find that your api is now created in the items on the right you also have the options for additional options you can transfer your api client to

another user in case you change organizations you also have the ability to deactivate all of your credentials

which is a mandatory step in order to delete the api from your account once deactivated you see the delete option and you can go ahead and delete it

and there we have it five minutes and you're able to create your akamai api client with matching api credentials with these tokens you are now able to use the tool that

you want to use your api keys with this could be http pi postman or injecting these keys in any programming language of your choosing we have example code available on

developer.com.com

developer.com.com for the major programming languages we also have other tutorials available in which we show you how to make your first api request with for instance postman or

http i hope this tutorial on getting started with the akamai apis has been helpful for you and has given you the knowledge to start using the akamai apis

for more content please visit developer.com where you can find more tutorials and information if you have any questions on akamai developer please feel free to reach out you can

find me on social media under the handle at akamaimike thank you

very much for your time today

and of course happy occamizing welcome to getting started with akamai apis

using postman i am mike ellison developer evangelist at akamai technologies and today i will be guiding you through this short tutorial on how to get started with the akamai apis using postman

akamai offers a rich library of approximately 100 different apis that allow you to manage your akamai solutions and postman is a free and easy to use api client that you can download for mac windows or

linux and i recommend visiting postman.com for instructions on downloading the client once you've installed the client and once you've created an akamai api client

you should be able to start making your first api request if you're looking for help on how to create an api client please watch the video getting started

with akamai apis creating an api client for this tutorial we will be using the api client and corresponding tokens that i created in that video

let's navigate to postman postman allows you to create api requests and store them in collections my postman workspace is currently empty so let's start in the top left by creating a new

request we will give our request a unique name getting started

with akamai and create a collection

called getting started now our request is able to be set up first we specify

the http method we want to use typically for acoma apis you select either get or post in our first example we will use get next is the base url to which we send

requests and you can find this in your api tokens important here is to use https in order to securely send the request any http request will respond with a 400

error next we have to specify the actual action we want to do on developer.com.com api you can

on developer.com.com api you can find the entire api catalog including each option per api in our example we will use the property

manager api and retrieve a list of contract and contract ideas that we have available to us as you can see you can find this here

and the request that we need to execute is slash papi v1 contracts let's run the request as you can see we get an error and that is correct behavior this is because we have not yet properly

authenticated the request with akamai edge grid otherwise anyone in the world would be able to execute these actions and we don't want that to happen for our customers postman allows us to easily inject the akamai tokens under the authorization

tab in the request by selecting akamai edge grid you are then easily able to add your access token your client token and client secret so we will add

them right now and rerun the request and there we go we get the list of akamai contracts returned now we know that our akamai api client is working properly and requests

can be made with this you can get started and you're able to now dive deeper start making other requests perhaps to different apis to manage your akamai solutions

important to note here is that for post requests you do have to specify headers such as content type and of course the body for your request please carefully inspect

the api catalog for which parameters are required and which are optional outside of the scope of this tutorial postman does allow you to store data in variables to help reuse your

tokens easier and more securely i recommend reading more about this in postman help sections or their online documentation i hope this tutorial on getting started with akamai apis has been helpful for

you and has given you the knowledge to start using the yakama apis for more content please visit developer.akamy.com

developer.akamy.com where you can find more tutorials and information if you have any questions on akamai developer please feel free to reach out you can find me on social media under

the handle my mic i want to thank you very much for your time today and i hope to see you again

in our other tutorials good luck

and happy optimizing welcome to getting started with akamai apis

using http pi i am mike ellison developer advocate at akamy technologies and today i will be guiding you through this short tutorial on how to get started with the akamai

apis using http akamai offers a rich library of approximately 100 different apis that allow you to manage your akamai

solutions http pi is a free and easy to use command line interface that you can download for mac windows or linux http pi consists of a

single http command designed for painless debugging and interaction with http servers restful apis and web services http pi comes pre-installed in the

akamai development environment feel free to watch the video getting started with the akamai development environment for instructions on how to install it next we need to authenticate our api

requests once you have created an akamai api client you should be able to make your first api request if you're looking for help on how to create an api client

please watch the video getting started with akamai apis creating an api client and for this tutorial we will be using the api client any corresponding tokens

that i created in that video you will need to modify your dot hrc file in the root in order to set up the credentials properly now that we have that all configured

let's get started with http pi the basic requests for akamai apis through http pi will look like the following format

we use http to invoke http pi plugin we use the dash dash auth dash type edge grid to ensure that we're using the edge grid authentication and the dash a

default ensures that we're using this section in our hrc file which contains the tokens there we have our dedicated host

and the actual action that we want to do as you can see here we are going to be using the papi or property manager api

version one slash contracts on developer.akamy.com api you can find

on developer.akamy.com api you can find the entire api catalog including each option per api in our example we will be using the property manager api

to list the contracts which slash papi slash v1 slash contracts let's run the request and there we go we get the list of

akamai contracts returned now we know that our akamai api client is working properly and requests can be made with this getting started you are now able to dive deeper and start making

other requests perhaps to different apis to manage your akamai solutions important to note here is that for post requests you do need to specify headers such as content type and of course the

body of your request so please carefully inspect the akamai api catalog for which parameters are required and which are optional i hope this tutorial on getting started with akamai

apis has been helpful for you and has given you the knowledge to start using the akamai apis for more content please visit developer.akamai.com

developer.akamai.com where you can find more tutorials and information if you have any questions on akamai developer please feel free to reach out you can find me on social media under

the handle my mic i want to thank you very much for your time today and i hope to see you again in our other tutorials good luck and happy akamizing

welcome to getting started with the akamai cli i am mike ellison a developer advocate at akamai technologies and today i will be guiding you through this short tutorial on how to get started with the

akama cli which is also known as the akamai command line interface akamai offers a rich library of approximately 100 different apis and through the akamai cli which

basically acts as a wrapper for the majority of these apis you're able to manage your akamai solutions easier faster and in a more automated way the akamai cli

is free to use and comes pre-installed in the akamai development environment please watch the video getting started with the akamai development environment

for instructions on how to install it once installed you will have the core akamai cli installed the akamai cli can be extended with cli packages

which contain different functionality for instance the purge package offers the ability to purchase content from akamai x servers and the application security or appsack

package will allow you to manage your akamai security configurations by default each package comes with the akamai package name help option to see

the possible commands please keep in mind that each request you make through the akamai cli needs to be properly authenticated with akamai edge grid once you have created an akamai api

client you should be able to start making your first ap api request or cli request if you are looking for help on how to create an api client

please watch the video getting started with akamai apis creating an api client this will also work for the akamai cli we need to modify our dot hrc file in

the root in order to set up the credentials properly ensure that you add in default as well as the other sections for instance ccu

for to use the akamai cli now that we have all of that configured let's get started with the akamai cli in this basic example we will be using

the akamy perch package to purge content from the edge and we have a test image called schrodinger's cat.png through this curl command which is

another great tool to have in your toolbox we can run the akamai request with the akamai pragma headers and here we can observe the x cache

hit which means that the image is actually in cache by running the command akamai perch invalidate with the right url we can

send in the perch request of course you will need to ensure that your api request has actually re write permissions to perch let's run the perch request and

as you can see here it took roughly five seconds to complete let's run another choral request to show that the image is no longer in cache

here you can observe the x cache miss header which means that the image is no longer in cache and there we have it we have installed the akamai cli and use the purge package

to purge content from the akamai servers you are now able to dive deeper and install different packages to manage your akamai solutions there's a wide variety of packages available and i encourage you to take a

look and see what can help you on your path i hope this tutorial on getting started with the yakima cli has been helpful for you and has given you the knowledge to start using the yakima cli

for more content please visit the developer.com where you can find more tutorials and information if you have any questions on akamai developer please feel free to reach out you can find me on social media media

under the handle at aquamymike i want to thank you very much for your time today and hope to see you again in

our other tutorials

good luck and happy optimizing welcome to getting started with the

akamai terraform provider i am mike ellison developer advocate at akamy technologies and today i will be guiding you through this short tutorial on how to get started with the akamai

terraform provider terraform is a tool for building changing and versioning infrastructure safely and efficiently terraform is the first multi-vendor

infrastructure tool that was created by hashicorp and the simple syntax that terraform uses and the ability to combine infrastructure from multiple technology vendors in one makes

terraform a great tool in every company's devops toolkit akamy offers the akamai terraform provider which allows you to manage your akamai solutions

and the akamai terraform provider is officially reviewed and approved by hashicorp the full documentation on what you can do with the akamai terraform provider

can be found on the terraform website now terraform comes pre-installed in the akamai development environment but can also be installed separately authentication of terraform

configurations rely on akamai edge grid the akamai terraform provider code acts as a wrapper for the akamai apis and reuses the same authentication

mechanism found in there we recommend storing your api credentials in the dot hrc file or using the hashicorp fault if you are using this in conjunction

with terraform now for more information on that we recommend watching the videos getting started with the akamai development environment and getting started with akamai apis creating an api client

for details on installation and creating an api client with the right credentials moving back to terraform terraform configurations consist of a simple syntax that reference

a provider each provider comes with data sources that can be referenced as well as resources that you can create for instance a cp code or contract id is a data

source that can be used inside of an akamai property resource example terraform configurations for the akama terraform

provider can be found on github now let's take a look at how this works and in this demo we will show you how you can manage your dns records through the akamai terraform provider

what you see here is the schrodingerstudios.com dns file in which i'm actually calling the provider akamai i'm referencing dodge hrc file

and here we have created a zone called schrodinger studios and in here you can see i have the akamai dns record resource that i called w and the name of this dot

schrodingerstudios.com i'm basically saying that this is a c name mapped to akamai and that is just one of the resources now i can use this for many different resources

but let's uncomment this one to actually create a terraform one now if we navigate to the right

folder i can type in terraform init make sure that the provider is initialized after saving the file we can run the command terraform plan

and in here you will see that it will now ask for a new resource to be created a akuma dns record called terraform now you can actually execute this by

typing in terraform apply it will do the same checks and tell you again are you sure that you want to apply this if you hit yes this record will now actually be created

through the akamai edge dns service in the next part of this demo we will also be showcasing you how you can use the akamai terraform provider to manage your delivery configurations as

well as make changes to your configurations let's take a look at the schrodinger studios terraform configuration that i have here now at the top

we are again referencing the provider and we're also calling a data datasource which is a local file which is a json file that i've called schrodinger.com.rules.json

schrodinger.com.rules.json

and you can see that here in this particular file we have all the relevant akamai rules and sub rules that will make up the akamai delivery configuration all the settings that i have in here

including caching settings origin server etc and in this particular case i'm utilizing net storage but you can actually use any type of origin that you want

now moving back to the schrodinger studios configuration for terraform we're also utilizing the akamai contract akamai group make sure that it's stored in the right way as well as the resource cp code

where we're actually creating a brand new cp code for use with our ion product called www.schrodingerstudios.com

www.schrodingerstudios.com as well as an edge hostname that we need to in order to map it to akamine now here we have the actual resource akamai property

we're calling it schrodingerstudios.com and a contact email showing our studios at gmail.com and again we're specifying that we want to use the ion product utilizing the contract group and cp code

that we used before and in here we are also specifying the host names that this configuration is for including www.www.staging

including www.www.staging

and the toplevelschrodingerstudios.com we're specifying our rule format to be the latest and we're actually here calling the rules to be the content of the local file

now you can also activate it directly through akamai through utilizing here the resource academic property activation as well as production if you specify network production

and that's how you can deploy directly through staging and production thanks to the new fast configuration activation the deployment on staging should take around three to five minutes and deployment on production should take

around 10 minutes to complete and there we go we are now able to manage our akamais code through the akamai terraform provider i hope this tutorial on getting started with the akamai terraform provider has

been helpful for you and has given you the knowledge to start using the toolbox that akamai developer provides for more content please visit developer.com where you can find more tutorials and

information if you have any questions on akamai developer please feel free to reach out you can find me on social media under the handle at aquamymike i want to thank you very much for your

time today and i hope to see you again in our other tutorials good luck and happy akomising welcome to using curl to troubleshoot akamai requests

i am mike ellison a developer advocate at akamai technologies and today i will be guiding you through this short tutorial on how to get started with curl to troubleshoot your akamai requests

curl is a fantastic command line tool that you can use to send http and https requests similar to a web browser curl offers the ability to add custom http headers

including the akamai pragma headers to help troubleshoot your requests ranging from checking error codes to checking whether an object is properly cached or not or verifying that you're connected to the right

akamai edge server for instance to test if you're testing against akamai staging edge servers for more information on curl please visit curl.hex.sc

visit curl.hex.sc

to find out more information curl comes pre-installed with the akamai development environment for instructions on how to install the akamai development environment

please watch the video getting started with the akamai development environment let's get started with curl in your terminal you are able to run the curl command curl comes included with

tons of options and with the curl dash help command you can find more information the most important options to remember are

curl dash h which offers the ability to specify custom headers with their values as well as dash capital i to output the headers on screen please make sure that you use capital

for both of these the akamai pragma headers can be added by specifying the dash capital h option which includes quotes pragma which is the name of the header

and then the value of this header and end quotes the full set of these headers can be found in the description below now let's run a first call request for

an image running through akamai here we can observe the following first we get an http 1.1 200 okay which means that this was a

successful request and here you have the x check cachable setting which is a boolean which

basically means that if the value is yes that the object schrodinger's cat dot png can be cached according to the settings in the akamai delivery configuration

this contains a no it means that this file for whatever reason cannot be cached in my delivery configuration i have a setting that makes sure that all png files can

be cached you also have the x cache you also have the x cache option which shows

whether or not an object is actually in cache served from the edge server that you are connected with the tcp miss option of course means that the object is not in cache if we were to

rerun the request we now see that the x cache section has changed tcp hit meaning that the object has been cached and is now in cache not visible on the second request but on

this first request we actually do see the x cache remote which means that it was a hit this has to do with the akamai tiered distribution which means that there is

an akamai parent edge server that had the image in cache now please also note that each request comes with a unique id

x akamai request idea that you can use for further troubleshooting in case something goes wrong you can use this request idea for akamai technical support or architect and often it helps to just do

a complete output of your curl file and send it over to your akamai technical support representative curl can also be a great way for you to test with akamai staging

in combination with looking up an akamai staging server and modifying your host's file you can run curl requests and should receive the x-akamai-staging header to verify that you're testing against

the right akamai etch platform by running a day command against your akamai host name you will get production ip addresses back these are akamai x servers that are running in

production by adding dash staging to the akka my host name not your own host name but the outcome host name you should receive a akamai staging

ip address that you can then add in your hosts file on mac os this can be done by using the vi etc hosts and as you can see i had already added

this in here and so we're just going to uncomment it save it and we're going to re-run our curl request right now and as you can see we now see the

x-akamai staging mapped to edge suite this means that we're now testing against an edge server and again the object was not in cache if we run it again we can see that it's

now in cache and here you can see the actual edge server that we're connected to which is a staging server so this is a great way for you to help use curl and troubleshoot your akamai

requests in this video we showcase the basics of using curl and there are plenty of other options out there so i encourage you to experiment i hope that this tutorial on using curl

to troubleshoot your akamai request has been helpful for you and has given you the knowledge to start using curl for more content please visit developer.com.com where you can find

developer.com.com where you can find more tutorials and information if you have any questions on akamai developer please feel free to reach out you can find me on social media under the handle at aquamymike

i want to thank you very much for your time today and hope to see you again in our other tutorials good luck and happy optimizing

welcome to akamai developer foundations this is the fifth part of the training course and in the fourth part we showcase the getting started with akamai developer series and you should now feel more comfortable

with executing basic actions using any of the main akamai developer tools if you haven't consumed that yet and you're wondering why you're here please feel free to take a look at the fourth part

that said in this fifth part we will go over and go through how you can best talk about akamai developer now this is aimed at customers and partners who work with different teams

for whom akamai is new as well as of course internal akamai resources who are talking about akamai developer to their customers and partners and what to showcase the value of akamai developer

and how these tools fit best in the devops toolchain now as mentioned before a devops workflow or tool chain is of course a set of combination of tools that aid in the delivery

development and management of software applications throughout the system's development lifecycle and is coordinated by an organization that uses devops practices again akamai developer brings the akamai

developer toolbox to the table each with a specific focus area such as akumaya's code akamai's data or akamai plus ecosystem to help each of these seven stages in the devops

workflow now let's talk about akamai developer and go over some of the best practices we believe that in a 30-minute conversation or meeting you should be able to communicate what

akamai developer is and the value that akamai developer brings in general the content that we outlined here the second part while this akamai developer which

explains the akamai developer trifecta and the third part the devops workflow which explains how akamai developer fits in the devil's workflow of an organization are typically the best ways to start a conversation about

akamai developer first the goal for this conversation is to keep your audience in mind and take into consideration that akamai developer or in certain cases

just akamai itself can be brand new to your audience it is helpful to set this baseline by explaining what akamai is and how akamai developer fits into the overall akamai story

explaining akamai developer and how it fits into the devil's workflow is a great eye opener for the audience and helps categorize the different elements that make up akamai developer now during the conversation it is also a

good idea to level set on the different devops tools that you or your customer or partner are already using in their current devops workflow

establishing which tools are in use and where akamai developer can come into play will be important for creating action items and a plan on integrating akamai developer

for instance if github is in use to manage infrastructure as code today an action item could be to migrate all akamai delivery and security configurations as code to github through the use of the akamai

property manager api or property manager cli and start storing configurations as code thirdly is to talk about the akamai developer trifecta

the akamai developer trifecta with the accompanying tools is a great eye opener and this can really help showcasing akamai's code akamai

as data in the akamai plus ecosystem now of course as mentioned it is great to outline actions and next steps as well during this meeting

now let's talk about visual material as with any demo or presentation having useful material such as whiteboards slide decks or reference architectures can be extremely

helpful and a great tool during your conversation now the best practice here is less is more having three to five slides to accompanying the akamai developer

conversation can be helpful and the slides that you've seen before in this akamai developer foundations training course can serve as a great starting point for visual resources

the akamai developer trifecta with the accompanying tools is a great eye opener and of course the devops workflow can be very helpful as a talk track to go through each phase and highlight how

akamai developer fits in a final helpful tool is the akamai developer resources slide which we'll showcase in the next part as well the getting started with akamai

developer page is a great follow-up after the initial conversation anyone should be able to go into this page and calmly go through each of the sections to get a better understanding

on how to start using akamai developer and by the end of the conversation it is again very helpful for all parties to have a clear action list on where to go next with akamai developer

this can help set up a follow-up conversation to help with completing action items as well as take the time to answer additional questions if they are not done offline now if you're interested we

encourage you to watch the recording on presenting on comma developer which acts as an example presentation with a fictional customer now with that we believe that you are

now equipped with not only the necessary knowledge to utilize the tools but to also go out and start using akamai developer and have a conversation with your teams your customers your partners or even

your prospects to discuss akamai developer in the sixth part however we will go over and go ahead and share where you can find additional resources

and where you can go for help outside of this akamai developer foundation's training course we hope that we've explained how you can talk about akamai developer in a structured way

with the recommended resources to use we look forward to welcoming you in the sixth part resources and recap on akamai developer as always thank you very much for your time on

this training course and let's continue on your akamai developer journey

welcome to aquamy developer foundations and this is the sixth and last part of the training course in the fifth part we equipped you with best practices on how to talk about akamai developer

and to present this to your teams customers partners or even prospects if you haven't consumed that yet and you're wondering why you're here please feel free to take a look at the fifth part that said in this six part we

will go through the additional resources and offer a recap on akamai developer now this access the penultimate part of the training course and in the seventh part you are invited

to go at your own pace through the akamai developer foundations lab to take the learnings and put them into practice and start using the akamai developer tools

now outside of the akamai developer foundation's training course and getting started with akamai developer page there are several great resources that you can utilize

first let's talk about the akamai developer website developer.com it is the best next step outside of the getting started page the full api catalog the akamai api

catalog is available there to look over any actions that you can execute with the akama apis or the wrapper tools additionally there are also full tutorials on any of the main akamai's

code akamaya's data or akamai plus ecosystem use cases and we really recommend you to take advantage of the resources that are available there secondly you can find more information

about the akamai developer tools on the official akamai github www.github.com

www.github.com here you can find repositories with the tools or even code examples as well as installation instructions that can help you on your akamai developer journey

thirdly if you enjoy video content tutorials demos an archive of webinars we invite you to take a look at the akamai developer youtube

www.youtube.com akamydeveloper

www.youtube.com akamydeveloper here you can find additional content in video format that can also help you greatly on your akamai developer journey now with the akamai developer webinar

series which we launched in 2020 you can find an archive of these previous webinars which acts as a great treasure trove of information for akamai developer and the tutorials that we've outlined which are also

available on the main website now if you have any follow-up questions based on this akamai developer foundations training course or any of the mentioned resources we

invite you to get in contact with any of the akamai developer advocates that are available to you now currently as of summer 2020 we have two primary developer advocates

available to you we have javier garza who is based in san francisco and mike ellison based in amsterdam you can contact them on social media through twitter or linkedin or even

internal resources can of course use chat or email to get in contact with them now of course for customers and partners you can also get in contact with your akamai account team

they can help you answer your questions or direct them either through the developer advocates that i just mentioned or the large group of akamai developer champions that we also have

available worldwide as a final note for internal akamai resources is of course to use the akamai developer aloha page aloha is our internal website where you

can find more information now with that we believe that you are now equipped with the necessary knowledge to go out and start using akamai developer or have a conversation with your teams your customers

your partners or even your prospects to discuss akamai developer now we hope that with this akamai developer foundations we have clearly explained these four key

areas understand what akamai developer is which tools are available in the akamai developer toolbox and how you can best utilize them understand how you can get started with

akamai developer including the prerequisites for making your very first action with any of the main akamai developer tools understand how to discuss and talk about akamai developer

and show the value of using the toolbox in conjunction with devops workflows and the akamai solutions across our portfolio and finally where to go and understand

to find more information more resources to get answers to your questions now we invite you to take these learnings and put them to good use by completing the akamai developer

foundation's lab this aims to help you get set up with all the akamai developer tools we discussed as well as help you have a working environment for any future akamai

developer use cases and projects that you might want to work on again for additional information and use cases as mentioned before we invite you to take a look at developer.akamy.com

where you can really find more additional tutorials on common use cases for each of the three major areas akamai's code

akamai's data and akamai plus ecosystem now just for instance we have a very detailed akamai terraform provider and github tutorials to fully automate your infrastructure as code

as a great next step now we also have tutorials on how you can best utilize akamai's data through data stream and or sim integration another great step if that's what you want to go for and then of course if you're looking for

any tutorials on how to integrate document developer with your other vendors or technologies you can find them as well now we want to thank you very much but first we would like to welcome you

to invite us to send us your feedback after going through this akamai developer foundations training course and please feel free to fill in the survey that is attached which can help us fine-tune this content

and optimize the training course for future participants we want to make it the best that it can be now as always thank you very much for your time on this training course if

you made it all the way to the end and we hope that you will continue on your akamai developer journey my name is mike ellison you can find me on social media under at akamaimike and i'm always happy

to help you out again thank you very much for your time and happy akomizing you

Loading...

Loading video analysis...