3. JAVA MAGAZIN 11.14
ARCHITEKTUR IM KONTEXT DER CLOUD: PATTERNS UND BEST
PRACTICES
AWS VIRTUAL CLOUD SUMMIT
CONTINUOUS DELIVERY IN AWS USING DOCKER
ENTWICKLER SPEZIAL: DOCKER
ÜBER DEN WOLKEN: EIN ERFAHRUNGSBERICHT ZUM DOCKER-
EINSATZ IN DER AMAZON CLOUD
ABOUT ME
4. AGENDA
1. Docker
2. Amazon Web Services
3. Docker Container Deployment
4. Immutable Server Pattern
5. EC2 Container Service
14. DOCKER DEPLOYMENT
●API to access Docker daemon
●Can be bound to specific host/port
●E.g. Jenkins can trigger deplyoments
●GET /containers/json
REMOTE API
15. DOCKER DEPLOYMENT
●Data to configure instance during
launch
●Install Docker
●Start Daemon
●Run Docker container
EC2 USER DATA
16.
17. IMMUTABLE SERVER
●Trash your servers!!!
●New deployment => new infrastructure
●Don’t change an existing server
●Problem: snowflake server
Eb
- Single Container
- Multiple Containers (dependencies using JSON format)
- Cool: direct integration into ELB (not just on EC2 level)
----- Meeting Notes (26/10/14 22:22) -----
Fabric -> Boto
----- Meeting Notes (26/10/14 22:22) -----
Fabric -> Boto
Cluster: a logical grouping of container instances that you can place tasks on.
Container Instance: an Amazon EC2 instance that is running the Amazon ECS agent and has been registered into a cluster.
Task Definition: a description of an application that contains one or more container definitions.
Task: an instantiation of a task definition that is running on a container instance.
Container: a Linux container that was created as part of a task.