Webinar recording: nginx.com/resources/webinars/microservices-container-management-nginx-plus-mesosphere-dcos
NGINX and NGINX Plus are emerging as the standard for connecting, securing, caching, and scaling microservices. We hope you found it valuable to learn how to use Mesosphere DC/OS and containers, such as Docker containers, to create and run microservices applications in an NGINX Plus environment.
9. MORE INFORMATION AT
NGINX.COM
Value of MSA
• Provide customers with a
microservices blueprint
• Test out NGINX and
NGINX Plus features for
microservices
• Understand the
microservices ecosystem
13. MORE INFORMATION AT
NGINX.COM
Typical CI/CD
• Developers submit code
to the Version Control
System (VCS)
• Continuous integration
(CI) server grabs code,
builds, tests, and deploys
• Critical process for
microservices
14. MORE INFORMATION AT
NGINX.COM
Bake vs. Fry
• Bake: create a durable
artifact that is deployed
throughout system
• Fry: build artifact as
needed for each
environment
• Docker images could be
ultimate baked good
16. MORE INFORMATION AT
NGINX.COM
DC/OS Repo
Support
• Most systems only
support public repo
(DockerHub)
• Include repo credentials
in app definition JSON file
• forcePullImage to avoid
local image caching
"container": {
"type": "DOCKER",
"docker": {
"image": "docker.io/<docker-image>",
"forcePullImage": true,
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 443,
"hostPort": 0,
"protocol": "tcp"
}
]
}
},
"uris": [
"https://s3.amazonaws.com/docker_credentials.gz"
]
}
20. MORE INFORMATION AT
NGINX.COM
Not Just A
Pretty Face
• The CLI is a critical piece
of software
• How you manage and
deploy your apps
• Monitoring features
21. MORE INFORMATION AT
NGINX.COM
API to Do Even
More
• API provides all data and
capabilities of Marathon
• Mesos also has an API
for more fundamental
actions
• Fully scriptable system
24. MORE INFORMATION AT
NGINX.COM
Proxy Model
• Simple networking model
• Good for flat APIs or
simple apps
• Round-robin DNS
interservice connection
25. MORE INFORMATION AT
NGINX.COM
Router Mesh
Model
• NGINX Plus as the proxy
• NGINX Plus running on
hosts and providing
intraservice connectivity
• Intelligent load balancing
with active health checks
26. MORE INFORMATION AT
NGINX.COM
Fabric Model
• NGINX Plus running in
each container
• DNS service discovery
• Persistent SSL/TLS
connections
• Health checks provide
circuit-breaker pattern
28. MORE INFORMATION AT
NGINX.COM
Not All Cookies
and Cream
• Cached Docker images
• Confusing nomenclature
• Useful features not
implemented in UI − for
example, logging