Post on 15-Apr-2017
transcript
World®’16
TechTalk:CAAPIGateway:DeployingDockerContainerGatewaysStephenMak – PrincipalProductManager– CATechnologies
DO3T11T
DEVOPS
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ForInformationalPurposesOnlyTermsofthisPresentation
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.Thepresentationprovided atCAWorld2016isintendedforinformationpurposesonlyanddoesnotformanytypeofwarranty.Someofthespecificslideswith customerreferencesrelatetocustomer'sspecificuseandexperienceofCAproductsandsolutionssoactualresultsmayvary.
CertaininformationinthispresentationmayoutlineCA’sgeneralproductdirection.Thispresentationshallnotserveto(i)affecttherightsand/orobligationsofCAoritslicenseesunderanyexistingorfuturelicenseagreementorservicesagreementrelatingtoanyCAsoftwareproduct;or(ii)amendanyproductdocumentationorspecificationsforanyCAsoftwareproduct.Thispresentationisbasedon currentinformationandresourceallocationsasofNovember1,2016,andissubjecttochangeorwithdrawalbyCAatanytimewithout notice.Thedevelopment,releaseandtimingofanyfeaturesorfunctionalitydescribedinthispresentationremainatCA’ssolediscretion.
Notwithstandinganythinginthispresentationtothecontrary,uponthegeneralavailabilityofanyfutureCAproductrelease referencedinthispresentation,CAmaymakesuchreleaseavailabletonewlicenseesintheformofaregularlyscheduledmajorproductrelease.SuchreleasemaybemadeavailabletolicenseesoftheproductwhoareactivesubscriberstoCAmaintenanceandsupport,onawhen andif-availablebasis.Theinformationinthispresentationisnotdeemedtobeincorporatedintoanycontract.
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
WithDockerbecomingalmostanecessityineveryenterprisewithanAgileinfrastructure,wemadesurethatCAAPIGatewaywasdeployablewithinaDockercontaineraswell.Thisenablesrapiddeploymentoftestenvironments,on-demandscalingofproductionenvironmentsorothersimilarscenarios.ListentothisTechTalkandseehowwehaveenabledthiscapabilitywithCAAPIGateway.
StephenMak
CATechnologiesPrincipalProductManager
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
THEDOCKERENVIRONMENT
THECAAPIGATEWAYDOCKERCONTAINER
CONCLUSIONS&QUESTIONS
DEMO1
DOCKER&MICROSERVICES
DEMO2
1
2
3
4
5
6
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
TheDockerEnvironment
§ Consistency&portability
§ Lowfrictiondeployment– Fasterconfiguration
§ Simple&rapiddeployment– Lighter-weightfootprint&overhead
§ Enablemicroservices architecture
Benefits
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPIGateway
§ DockercontainerasnewGatewayformfactor– Consideration:containerasbaseforotherformfactors
§ Simplifieddeployment
§ Tool-agnosticapproach– Servicediscovery– Containerorchestration
DockerContainer
7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DEMO1:CAAPIGatewayDockerContainer
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Microservices
§ “themicroservice architecturalstyleisanapproachtodevelopingasingleapplicationasasuiteofsmallservices,eachrunninginitsownprocessandcommunicatingwithlightweightmechanisms,oftenanHTTPresourceAPI.Theseservicesarebuiltaroundbusinesscapabilitiesandindependentlydeployablebyfullyautomateddeploymentmachinery.Thereisabareminimumofcentralizedmanagementoftheseservices,whichmaybewrittenindifferentprogramminglanguagesandusedifferentdatastoragetechnologies.”
§ “Tostartexplainingthemicroservice styleit'susefultocompareittothemonolithicstyle:amonolithicapplication builtasasingleunit.”
§ Microservices makeitsimplerto…
EnabledbyContainerTechnology
“Microservices:adefinitionofthisnewarchitecturalterm”– MartinFowler,JamesLewis(March2014)
DEVELOP TEST DEPLOY SCALE
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CAAPIGateway&MicroservicesDeployment,APIPublishing&Discovery
CAAPIGatewayforMicroservices
Consul
Registrator Microservice(newcontainer)
triggersevent…
addsto…
detectsnew…
proxiesnewmicroservice
APIrequest&response
Microservice(newcontainer)Microservice
(newcontainer)
{"name": ”helloworld","gatewayUri": "/test01","targetUrl": "http://helloworld", "httpMethods": [
"GET","POST","PUT","PATCH","HEAD","DELETE","OPTIONS","OTHER"
],"requireSSL": true, "requireBasicCredentials": true, "maxRequestsPerSecond": 1000, "codeInjectionProtection": {
"includes": [ "IncludeUrlPath","IncludeUrlQueryString","IncludeBody"
],"protections": [
"htmlJavaScriptInjection","phpEvalInjection","shellInjection","ldapDnInjection","ldapSearchInjection","xpathInjection"
]},"enableCORS": true
}
APIGateway
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DEMO2:CAAPIGatewayforMicroservices (alpha)
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RecommendedSessions
SESSION# TITLE DATE/TIME
DO3X82VStrategiesforDevOpsintheAPIandMicroservices World(JayThorne)
11/16/2016at4:30pmLagoonD
DO3T86SCAAPIManagement- VisionandRoadmap(PhilWalston)
11/17/2016at10:30amTheatre3(MainStage)
DO3X20VMicroservices Camp(APIAcademy)
11/17/2016at1:00pmLagoonJ
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Questions?
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Stayconnectedatcommunities.ca.com
Thankyou.
@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.14 @CAWORLD#CAWORLD
DevOps– APIManagementandApplicationDevelopment
FormoreinformationonDevOps– APIManagementandApplicationDevelopment,pleasevisit:http://cainc.to/DL8ozQ