World®
’16
Tech	Talk:	CA	API	Gateway:	Deploying	
Docker	Container	Gateways
Stephen	Mak – Principal	Product	Manager	– CA	Technologies
DO3T11T
DEVOPS
2 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
For	Informational	Purposes	Only	
Terms	of	this	Presentation
©	2016	CA.	All	rights	reserved.	All	trademarks	referenced	herein	belong	to	their	respective	companies.	The	presentation	provided at	CA	
World	2016	is	intended	for	information	purposes	only	and	does	not	form	any	type	of	warranty.	Some	of	the	specific	slides	with customer	
references	relate	to	customer's	specific	use	and	experience	of	CA	products	and	solutions	so	actual	results	may	vary.	
Certain	information	in	this	presentation	may	outline	CA’s	general	product	direction.	This	presentation	shall	not	serve	to	(i)	affect	the	rights	
and/or	obligations	of	CA	or	its	licensees	under	any	existing	or	future	license	agreement	or	services	agreement	relating	to	any	CA	software	
product;	or	(ii)	amend	any	product	documentation	or	specifications	for	any	CA	software	product.	This	presentation	is	based	on current	
information	and	resource	allocations	as	of	November	1,	2016,	and	is	subject	to	change	or	withdrawal	by	CA	at	any	time	without notice.	The	
development,	release	and	timing	of	any	features	or	functionality	described	in	this	presentation	remain	at	CA’s	sole	discretion.	
Notwithstanding	anything	in	this	presentation	to	the	contrary,	upon	the	general	availability	of	any	future	CA	product	release referenced	in	
this	presentation,	CA	may	make	such	release	available	to	new	licensees	in	the	form	of	a	regularly	scheduled	major	product	release.	Such	
release	may	be	made	available	to	licensees	of	the	product	who	are	active	subscribers	to	CA	maintenance	and	support,	on	a	when and	if-
available	basis.	The	information	in	this	presentation	is	not	deemed	to	be	incorporated	into	any	contract.
3 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Abstract
With	Docker	becoming	almost	a	necessity	in	every	enterprise	with	an	Agile	
infrastructure,	we	made	sure	that	CA	API	Gateway	was	deployable	within	a	Docker	
container	as	well.	This	enables	rapid	deployment	of	test	environments,	on-
demand	scaling	of	production	environments	or	other	similar	scenarios.	Listen	to	
this	Tech	Talk	and	see	how	we	have	enabled	this	capability	with	CA	API	Gateway.
Stephen	Mak
CA	Technologies
Principal	Product	
Manager
4 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Agenda
THE	DOCKER	ENVIRONMENT
THE	CA	API	GATEWAY	DOCKER	CONTAINER
CONCLUSIONS	&	QUESTIONS
DEMO	1
DOCKER	&	MICROSERVICES
DEMO	2
1
2
3
4
5
6
5 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
The	Docker	Environment
§ Consistency	&	portability
§ Low	friction	deployment
– Faster	configuration
§ Simple	&	rapid	deployment
– Lighter-weight	footprint	&	overhead
§ Enable	microservices architecture
Benefits
6 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
CA	API	Gateway
§ Docker	container	as	new	Gateway	form	factor
– Consideration:	container	as	base	for	other	form	factors
§ Simplified	deployment
§ Tool-agnostic	approach
– Service	discovery
– Container	orchestration
Docker	Container
7 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
DEMO	1:
CA	API	Gateway	Docker	Container
8 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Microservices
§ “the	microservice architectural	style	is	an	approach	to	developing	a	single	application	
as	a	suite	of	small	services,	each	running	in	its	own	process	and	communicating	with	
lightweight	mechanisms,	often	an	HTTP	resource	API.	These	services	are	built	around	
business	capabilities	and	independently	deployable	by	fully	automated	deployment	
machinery.	There	is	a	bare	minimum	of	centralized	management	of	these	services,	
which	may	be	written	in	different	programming	languages	and	use	different	data	
storage	technologies.”
§ “To	start	explaining	the	microservice style	it's	useful	to	compare	it	to	the	monolithic	
style:	a	monolithic	application built	as	a	single	unit.”
§ Microservices make	it	simpler	to	…
Enabled	by	Container	Technology
“Microservices:	a	definition	of	this	new	architectural	term”	– Martin	Fowler,	James	Lewis	(March	2014)
DEVELOP TEST DEPLOY SCALE
9 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
CA	API	Gateway	&	Microservices
Deployment,	API	Publishing	&	Discovery
CA	API	
Gateway	for	
Microservices
Consul
Registrator
Microservice
(new	container)
triggers	event	…
adds	to	…
detects	new…
proxies	new	
microservice
API	request	
&	response
Microservice
(new	container)Microservice
(new	container)
{
"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
}
API	Gateway
10 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
DEMO	2:
CA	API	Gateway	for	Microservices (alpha)
11 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Recommended	Sessions
SESSION	# TITLE DATE/TIME
DO3X82V
Strategies	for	DevOps	in	the	API	and	Microservices World
(Jay	Thorne)
11/16/2016	at	4:30	pm
Lagoon	D
DO3T86S
CA	API	Management	- Vision	and	Roadmap
(Phil	Walston)
11/17/2016	at	10:30	am
Theatre	3	(Main	Stage)
DO3X20V
Microservices Camp
(API	Academy)
11/17/2016	at	1:00	pm
Lagoon	J
12 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Questions?
13 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Stay	connected	at	communities.ca.com
Thank	you.
@CAWORLD					#CAWORLD ©	2016	CA.	All	RIGHTS	RESERVED.14 @CAWORLD					#CAWORLD
DevOps	– API	Management	and	
Application	Development
For	more	information	on	DevOps	– API	Management	and	
Application	Development,	please	visit:	http://cainc.to/DL8ozQ

Tech Talk: CA API Gateway: Deploying Docker Container Gateways