tech talk: ca api gateway: deploying docker container gateways

14
World ® ’1 6 Tech Talk: CA API Gateway: Deploying Docker Container Gateways Stephen Mak – Principal Product Manager – CA Technologies DO3T11T DEVOPS

Upload: ca-technologies

Post on 15-Apr-2017

173 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

World®’16

TechTalk:CAAPIGateway:DeployingDockerContainerGatewaysStephenMak – PrincipalProductManager– CATechnologies

DO3T11T

DEVOPS

Page 2: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

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.

Page 3: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

WithDockerbecomingalmostanecessityineveryenterprisewithanAgileinfrastructure,wemadesurethatCAAPIGatewaywasdeployablewithinaDockercontaineraswell.Thisenablesrapiddeploymentoftestenvironments,on-demandscalingofproductionenvironmentsorothersimilarscenarios.ListentothisTechTalkandseehowwehaveenabledthiscapabilitywithCAAPIGateway.

StephenMak

CATechnologiesPrincipalProductManager

Page 4: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

THEDOCKERENVIRONMENT

THECAAPIGATEWAYDOCKERCONTAINER

CONCLUSIONS&QUESTIONS

DEMO1

DOCKER&MICROSERVICES

DEMO2

1

2

3

4

5

6

Page 5: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TheDockerEnvironment

§ Consistency&portability

§ Lowfrictiondeployment– Fasterconfiguration

§ Simple&rapiddeployment– Lighter-weightfootprint&overhead

§ Enablemicroservices architecture

Benefits

Page 6: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAAPIGateway

§ DockercontainerasnewGatewayformfactor– Consideration:containerasbaseforotherformfactors

§ Simplifieddeployment

§ Tool-agnosticapproach– Servicediscovery– Containerorchestration

DockerContainer

Page 7: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DEMO1:CAAPIGatewayDockerContainer

Page 8: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

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

Page 9: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

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

Page 10: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DEMO2:CAAPIGatewayforMicroservices (alpha)

Page 11: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

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

Page 12: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

Page 13: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Stayconnectedatcommunities.ca.com

Thankyou.

Page 14: Tech Talk: CA API Gateway: Deploying Docker Container Gateways

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.14 @CAWORLD#CAWORLD

DevOps– APIManagementandApplicationDevelopment

FormoreinformationonDevOps– APIManagementandApplicationDevelopment,pleasevisit:http://cainc.to/DL8ozQ